davidshare
New Member
I can't run any snap applications on my linux machine since I removed and installed snap. The challenge came when I was trying to fix apparmor blocking multipass on my linux machine.
Things I have tried:
sudo apparmor_parser -r /etc/apparmor.d/snap-confine
$ sudo systemctl enable --now apparmor.service
$ sudo systemctl enable --now snapd.apparmor.service
$ sudo service start snapd
$ sudo systemctl enable snapd.service
$ sudo systemctl enable --now snapd.service
sudo apparmor_parser -r /etc/apparmor.d/snap-confine
sudo apparmor_parser -r /var/lib/snapd/apparmor/profiles/snap-confine*
I have also tried removing snap and installing it again. That doesn't work either.
Code:
snap version 01:13:28
snap 2.63.1+24.04
snapd 2.63.1+24.04
series 16
ubuntu 24.04
kernel 6.8.0-45-generic
Code:
sudo service apparmor status 01:10:29
● apparmor.service - Load AppArmor profiles
Loaded: loaded (/usr/lib/systemd/system/apparmor.service; enabled; preset: enabled)
Active: active (exited) since Fri 2024-10-04 00:46:12 WAT; 24min ago
Docs: man:apparmor(7)
https://gitlab.com/apparmor/apparmor/wikis/home/
Main PID: 1092 (code=exited, status=0/SUCCESS)
CPU: 562ms
Oct 04 00:46:12 davidshare apparmor.systemd[1092]: Restarting AppArmor
Oct 04 00:46:12 davidshare apparmor.systemd[1092]: Reloading AppArmor profiles
Oct 04 00:46:12 davidshare systemd[1]: Starting apparmor.service - Load AppArmor profiles...
Oct 04 00:46:12 davidshare apparmor.systemd[1239]: Skipping profile in /etc/apparmor.d/disable: usr.bin.firefox
Oct 04 00:46:12 davidshare systemd[1]: Finished apparmor.service - Load AppArmor profiles.
Things I have tried:
sudo apparmor_parser -r /etc/apparmor.d/snap-confine
$ sudo systemctl enable --now apparmor.service
$ sudo systemctl enable --now snapd.apparmor.service
$ sudo service start snapd
$ sudo systemctl enable snapd.service
$ sudo systemctl enable --now snapd.service
sudo apparmor_parser -r /etc/apparmor.d/snap-confine
sudo apparmor_parser -r /var/lib/snapd/apparmor/profiles/snap-confine*
Code:
sudo aa-status | grep snap 01:12:20
/snap/core/17200/usr/lib/snapd/snap-confine
/snap/core/17200/usr/lib/snapd/snap-confine//mount-namespace-capture-helper
/snap/snapd/21759/usr/lib/snapd/snap-confine
/snap/snapd/21759/usr/lib/snapd/snap-confine//mount-namespace-capture-helper
/usr/bin/evince//snap_browsers
/usr/bin/snap//passt
/usr/bin/snap//sanitized_helper
/usr/lib/snapd/snap-confine
/usr/lib/snapd/snap-confine//mount-namespace-capture-helper
snap-update-ns.core
snap-update-ns.firefox
snap-update-ns.multipass
snap-update-ns.snap-store
snap-update-ns.telegram-desktop
snap.core.hook.configure
snap.firefox.firefox
snap.firefox.geckodriver
snap.firefox.hook.configure
snap.firefox.hook.disconnect-plug-host-hunspell
snap.firefox.hook.post-refresh
snap.multipass.gui
snap.multipass.hook.configure
snap.multipass.hook.install
snap.multipass.hook.post-refresh
snap.multipass.hook.pre-refresh
snap.multipass.hook.remove
snap.multipass.multipass
snap.multipass.multipassd
snap.snap-store.hook.configure
snap.snap-store.snap-store
snap.snap-store.ubuntu-software
snap.snap-store.ubuntu-software-local-file
snap.telegram-desktop.hook.configure
snap.telegram-desktop.telegram-desktop
/usr/bin/snap
/snap/multipass/13186/usr/sbin/dnsmasq (2173) multipass.dnsmasq
/snap/multipass/13186/bin/multipassd (1777) snap.multipass.multipassd
I have also tried removing snap and installing it again. That doesn't work either.