emacs: another snap success story

Richmond dnomhcir at gmx.com
Sat Aug 31 16:07:27 UTC 2024


Sam Varshavchik wrote:
> After updating to noble emacs is now a snap, apparently. It crashes
> when run as root, with a big console dump referencing various paths in
> /snap/emacs. At least it runs fine (apparently) as non-root. I
> couldn't find an existing bug, so I created one.
>
> Also, I was hoping that noble would fix the broken firefox snap, that
> requires DBUS_SESSION_BUS_ADDRESS environment variable to be
> explicitly set when launching firefox in a VNC session. Alas, that is
> still the case…

I get all these errors when running chromium --version as root, although
it does output the correct version at the end, so none of the errors
were show stoppers I guess. There are no errors when non-root.

chromium --version
update.go:85: cannot change mount namespace according to change mount
(/var/lib/snapd/hostfs/usr/local/share/doc /usr/local/share/doc none
bind,ro 0 0): cannot open directory "/usr/local/share": permission denied
update.go:85: cannot change mount namespace according to change mount
(/var/lib/snapd/hostfs/usr/share/gimp/2.0/help /usr/share/gimp/2.0/help
none bind,ro 0 0): cannot write to
"/var/lib/snapd/hostfs/usr/share/gimp/2.0/help" because it would affect
the host in "/var/lib/snapd"
update.go:85: cannot change mount namespace according to change mount
(/var/lib/snapd/hostfs/usr/share/sphinx_rtd_theme
/usr/share/sphinx_rtd_theme none bind,ro 0 0): cannot write to
"/var/lib/snapd/hostfs/usr/share/sphinx_rtd_theme" because it would
affect the host in "/var/lib/snapd"
update.go:85: cannot change mount namespace according to change mount
(/var/lib/snapd/hostfs/usr/share/xubuntu-docs /usr/share/xubuntu-docs
none bind,ro 0 0): cannot write to
"/var/lib/snapd/hostfs/usr/share/xubuntu-docs" because it would affect
the host in "/var/lib/snapd"
mkdir: cannot create directory ‘/run/user/0’: Permission denied
Chromium 128.0.6613.113 snap

cat /etc/issue
Ubuntu 20.04.6 LTS \n \l




More information about the ubuntu-users mailing list