Public bug reported: The kernel ADT tests failed when running some of the apparmor tests against the apparmor utilities, with error messages:
ERROR: Conflicting profiles for /usr/lib/snapd/snap-confine defined in two files: - /etc/apparmor.d/usr.lib.snapd.snap-confine.real - /etc/apparmor.d/usr.lib.snapd.snap-confine See log at https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac /autopkgtest-xenial/xenial/amd64/l/linux-hwe- edge/20170410_201241_f4dfd@/log.gz Examining the log, the ADT harness uninstalls snapd 2.22.6 without purging and without uninstall snap-confine (which contains /etc/apparmor.d/usr.lib.snapd.snap-confine). It then later installs snapd 2.23.6 (which contains /etc/apparmor.d/usr.lib.snapd.snap- confine.real) before running the tests. The snapd 2.23.6 package contains the following in its postrm file: dpkg-maintscript-helper rm_conffile /etc/apparmor.d/usr.lib.snapd .snap-confine 2.23.6~ -- "$@" ** Affects: snapd (Ubuntu) Importance: Undecided Status: New ** Summary changed: - snapd/snapd-confine leaves behind /etc/apparmor.d/usr.lib.snapd.snap-confine on upgrade + snapd/snap-confine leaves behind /etc/apparmor.d/usr.lib.snapd.snap-confine on upgrade -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1682023 Title: snapd/snap-confine leaves behind /etc/apparmor.d/usr.lib.snapd.snap- confine on upgrade To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1682023/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
