Hello Dale.

It seems, that I've had the same/similar problem with AppArmor and
'usr.lib.snapd.snap-confine.real' profile [1]. The strange thing was,
that I couldn't change the enforcement mode for any profile! For example
Firefox etc.

Please edit this profile and check if this line is commented. If it
isn't then You can do this by adding '#' etc.:

- include "/var/lib/snapd/apparmor/snap-confine"
+ #include "/var/lib/snapd/apparmor/snap-confine"

Next, reboot system or reload AppArmor service. In my case, commenting
an include '/var/lib/snapd/apparmor/snap-confine.d' line, fixed this
issue, which seems to be similar to your problem. However, it should be
fixed via 'snapd' package update but I don't remember if there was such
an update. Anyway, I hope it will help You.

Thanks, best regards.
_____________________
[1] https://lists.ubuntu.com/archives/apparmor/2017-November/011330.html

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1773515

Title:
  apparmour fails after removal of snapd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1773515/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to