Hi,
I've been struggling with this for months and can't find an easy solution or a good explanation. I'm running Ubuntu 22.04 pretty basic, I don't have many custom repos… (閱讀更多)
Hi,
I've been struggling with this for months and can't find an easy solution or a good explanation. I'm running Ubuntu 22.04 pretty basic, I don't have many custom repositories enabled or anything, just a few additional packages like slack, Teams or Chrome. Ubuntu switched Firefox to snaps as well, and I can't get internet access with it. The error message is:
---
May 12 12:16:20 nuc kernel: [12948.381392] audit: type=1400 audit(1683886580.562:131): apparmor="DENIED" operation="open" profile="snap.firefox.firefox" name="/etc/fstab" pid=7731 comm="firefox" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
May 12 12:15:43 nuc rtkit-daemon[1030]: message repeated 3 times: [ Supervising 10 threads of 4 processes of 1 users.]
May 12 12:16:20 nuc dbus-daemon[790]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.175' (uid=1000 pid=7731 comm="/snap/firefox/2645/usr/lib/firefox/firefox " label="snap.firefox.firefox (enforce)")
---
Simply stopping (and aa-teardown) doesn't work at all, Firefox doesn't even start without apparmor running. I'm not an expert with apparmor, but I wanted to set in complain mode instead enforce, but I'm struggling with that, too. I didn't touch the /etc/hosts file, the error message is a little different on another Ubuntu 22.04 computer I use, there it complains about permission denied for the resolve.conf. So I'm asking the community, how do you deal with this? Searching the web gives me all kinds of ideas, but none of them work. Could anyone help me out here?
Thanks!