** Also affects: snapd
   Importance: Undecided
       Status: New

** Also affects: lxd
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/1994453

Title:
  Firefox Snap cannot be installed in an LXC Container

Status in lxd:
  New
Status in snapd:
  New
Status in firefox package in Ubuntu:
  Confirmed

Bug description:
  $ sudo snap install firefox
  error: cannot perform the following tasks:
  - Run hook connect-plug-host-hunspell of snap "firefox" (run hook 
"connect-plug-host-hunspell": 
  -----
  update.go:85: cannot change mount namespace according to change mount 
(/var/lib/snapd/hostfs/usr/share/cups/doc-root /usr/share/cups/doc-root none 
bind,ro 0 0): cannot create directory "/usr/share/cups/doc-root": 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 create directory "/usr/share/gimp/2.0": permission denied
  update.go:85: cannot change mount namespace according to change mount 
(/var/lib/snapd/hostfs/usr/share/libreoffice/help /usr/share/libreoffice/help 
none bind,ro 0 0): cannot create directory "/usr/share/libreoffice/help": 
permission denied
  error: error running snapctl: cannot start mount unit: systemctl command 
[start var-snap-firefox-common-host\x2dhunspell.mount] failed with exit status 
1: A dependency job for var-snap-firefox-common-host\x2dhunspell.mount failed. 
See 'journalctl -xe' for details.
  -----)

  
  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://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu)

  - Create /etc/apt/preferences.d/mozilla-firefox with:
  Package: firefox*
  Pin: release o=LP-PPA-mozillateam
  Pin-Priority: 1001

  - sudo apt install firefox

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: firefox 1:1snap1-0ubuntu2
  ProcVersionSignature: Ubuntu 5.15.0-48.54-generic 5.15.53
  Uname: Linux 5.15.0-48-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu82.1
  Architecture: amd64
  CasperMD5CheckResult: unknown
  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/lxd/+bug/1994453/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to