Skip to content

Snaps break mount namespaces #12

@ausbin

Description

@ausbin

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions