Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snaps break mount namespaces #12

Open
ausbin opened this issue Jun 16, 2022 · 1 comment
Open

Snaps break mount namespaces #12

ausbin opened this issue Jun 16, 2022 · 1 comment

Comments

@ausbin
Copy link
Owner

ausbin commented Jun 16, 2022

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

@ausbin
Copy link
Owner Author

ausbin commented Jun 16, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant