We discussed this issue on IRC and we believe to understand the cause. One way to solve it would be to move all snapd apparmor profiles to /var, so that they are not regarded as conf-files simply because they are stored in /etc. This would also allow us to remove the silly .real suffix from snap-confine apparmor profile.
We need to look at the details of how this would interplay with rollbacks though. ** Changed in: snapd Status: Triaged => Confirmed -- 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