Firefox Snap cannot be installed in an LXC Container
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxd |
New
|
Undecided
|
Unassigned | ||
snapd |
New
|
Undecided
|
Unassigned | ||
firefox (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
$ sudo snap install firefox
error: cannot perform the following tasks:
- Run hook connect-
-----
update.go:85: cannot change mount namespace according to change mount (/var/lib/
update.go:85: cannot change mount namespace according to change mount (/var/lib/
update.go:85: cannot change mount namespace according to change mount (/var/lib/
error: error running snapctl: cannot start mount unit: systemctl command [start var-snap-
-----)
This makes it very difficult to have LXC containers with a GUI (used via VNC), as a web browser is essential.
Workaround:
- Add the Mozillateam PPA (https:/
- Create /etc/apt/
Package: firefox*
Pin: release o=LP-PPA-
Pin-Priority: 1001
- sudo apt install firefox
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: firefox 1:1snap1-0ubuntu2
ProcVersionSign
Uname: Linux 5.15.0-48-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: KDE
Date: Wed Oct 26 14:16:04 2022
InstallationDate: Installed on 2020-11-02 (722 days ago)
InstallationMedia: Ubuntu-Server 18.04.4 LTS "Bionic Beaver" - Release amd64 (20200203.1)
Snap.Changes: no changes found
SourcePackage: firefox
UpgradeStatus: Upgraded to jammy on 2022-10-03 (22 days ago)
Status changed to 'Confirmed' because the bug affects multiple users.