Activity log for bug #2061876

Date Who What changed Old value New value Message
2024-04-16 16:31:08 Dionysius bug added bug
2024-04-16 16:32:36 Dionysius description Fix/Workaround: Edit /etc/passwd to remove traling / of home directory Snapd should clean the path before using if it's so important to it. --- Situation and fix: $ uname -a Linux proxy 6.5.0-27-generic #28~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar 15 10:51:06 UTC 2 x86_64 x86_64 x86_64 GNU/Linux $ snap list Name Version Rev Tracking Publisher Notes bare 1.0 5 latest/stable canonical✓ base certbot 2.10.0 3700 latest/stable certbot-eff✓ classic chromium 123.0.6312.122 2821 latest/stable canonical✓ - core 16-2.61.2 16928 latest/stable canonical✓ core core20 20240227 2264 latest/stable canonical✓ base core22 20240111 1122 latest/stable canonical✓ base cups 2.4.7-8 1041 latest/stable openprinting✓ - gnome-42-2204 0+git.510a601 176 latest/stable canonical✓ - gtk-common-themes 0.1-81-g442e511 1535 latest/stable canonical✓ - snapd 2.62 21465 latest/stable canonical✓ snapd $ grep ieslogin /etc/passwd ieslogin:x:113:122::/home/ieslogin/:/bin/bash # as user ieslogin: $ chromium --help cannot update snap namespace: cannot expand mount entry (none $HOME/.local/share none x-snapd.kind=ensure-dir,x-snapd.must-exist-dir=$HOME 0 0): cannot use invalid home directory "/home/ieslogin/": cannot allow unclean path snap-update-ns failed with code 1 # (I've also seen some other errors when trying to use after rebooting/reinstalling chromium snap) # login as root and remove the trailing slash of the users home $ grep ieslogin /etc/passwd ieslogin:x:113:122::/home/ieslogin:/bin/bash # as user ieslogin: $ chromium --help > proceeds to man page Fix/Workaround: Edit /etc/passwd to remove trailing / of home directory Snap should probably clean the path before using if it's so important to it. --- Situation and fix: $ uname -a Linux proxy 6.5.0-27-generic #28~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar 15 10:51:06 UTC 2 x86_64 x86_64 x86_64 GNU/Linux $ snap list Name Version Rev Tracking Publisher Notes bare 1.0 5 latest/stable canonical✓ base certbot 2.10.0 3700 latest/stable certbot-eff✓ classic chromium 123.0.6312.122 2821 latest/stable canonical✓ - core 16-2.61.2 16928 latest/stable canonical✓ core core20 20240227 2264 latest/stable canonical✓ base core22 20240111 1122 latest/stable canonical✓ base cups 2.4.7-8 1041 latest/stable openprinting✓ - gnome-42-2204 0+git.510a601 176 latest/stable canonical✓ - gtk-common-themes 0.1-81-g442e511 1535 latest/stable canonical✓ - snapd 2.62 21465 latest/stable canonical✓ snapd $ grep ieslogin /etc/passwd ieslogin:x:113:122::/home/ieslogin/:/bin/bash # as user ieslogin: $ chromium --help cannot update snap namespace: cannot expand mount entry (none $HOME/.local/share none x-snapd.kind=ensure-dir,x-snapd.must-exist-dir=$HOME 0 0): cannot use invalid home directory "/home/ieslogin/": cannot allow unclean path snap-update-ns failed with code 1 # (I've also seen some other errors when trying to use after rebooting/reinstalling chromium snap) # login as root and remove the trailing slash of the users home $ grep ieslogin /etc/passwd ieslogin:x:113:122::/home/ieslogin:/bin/bash # as user ieslogin: $ chromium --help > proceeds to man page
2024-04-16 16:33:14 Dionysius bug task added ubuntu
2024-04-17 07:59:14 Launchpad Janitor ubuntu: status New Confirmed