I can reproduce this on cosmic, installing snapd and removing (but not
purging) snapd gives me this error. It seems like removing removes the
/var/lib/snapd/apparmor/snap-confine dir but keeps the /etc/apparmor.d
/...snap-confine conf file in place (oh the joy of conffiles).

To reproduce:
1. apt update
2. apt install snapd
3. apt remove snapd
4. reboot
5. systemctl status apparmor

This also appears to be happening on 18.04 with the latest apparmor
version available for 18.04. So we need to look into this.

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

Title:
  apparmor.service fails to start when apt install/remove snapd due to
  snapd profile error

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

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

Reply via email to