Snaps break mount namespaces
Opened this issue · 1 comments
I spent over an hour today debugging why nsdo gatech firefox file:///etc/resolv.conf
showed the resolv.conf
from my local network instead of my VPN's resolv.conf
. I've finally realized that it's almost certainly because Ubuntu 22.04 now packages Firefox in a snap, which utilizes mount namespaces and probably just blindly setns()
s away half of what nsdo
does: https://forum.snapcraft.io/t/mount-namespace-walkthrough-wip/12127
Workaround is not to use snaps. They also break installing GNOME Shell extensions in Firefox, for example. This guide worked for me to get a proper version of Firefox: https://www.omgubuntu.co.uk/2022/04/how-to-install-firefox-deb-apt-ubuntu-22-04
Opened a forum thread: https://forum.snapcraft.io/t/snaps-interfere-with-mount-namespaces/30512