Hi, i use Ubuntu 22.04.3 LTS and Xubuntu 22.04.3 LTS for desktop environment join to an AD domain. Since a couple of week, perhaps after an update, firefox and chromium doesn’t start. apparmor 3.0.4-2ubuntu2.2 amd64 AppArmor parser version 3.0.4
When i start firefox with the command line i see :
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 open directory "/var/lib": permission denied
update.go:85: cannot change mount namespace according to change mount (/var/lib/snapd/hostfs/usr/share/xubuntu-docs /usr/share/xubuntu-docs none bind,ro 0 0): cannot open directory "/var/lib": permission denied
cannot create user data directory: /home/<subfolder>/<home dir>/snap/firefox/3068: Permission denied
The command dpkg-reconfigure apparmor
used to add the subfolder as been done many times with multiple reboot.
With aa-status command the folowing lines are missing for firefox : snap.firefox.firefox snap.firefox.geckodriver
I try to run apparmor_parser -r /var/lib/snapd/apparmor/profiles/*
so i see that the line userns,
throw an error in snap profile for firefox and chromium. I try to change to userns w,
. The command works, firefox and chromium but after a reboot i have de re-run this command.
I try to add the following line in /etc/apparmor/parser.conf
:
Include /var/lib/snapd/apparmor/profiles
but after a reboot, i have still the same problem
I try to uninstall and reinstall Snap and Apparmor, nothing better.
Did i miss something ?