Comment 2 for bug 1821920

Revision history for this message
Tyler Hicks (tyhicks) wrote :

I see this change in the debdiff from the last apparmor upload to what's currently in proposed:

diff -Nru apparmor-2.12/debian/apparmor-profiles.postinst apparmor-2.13.2/debian/apparmor-profiles.postinst
--- apparmor-2.12/debian/apparmor-profiles.postinst 2018-03-22 20:19:58.000000000 +0000
+++ apparmor-2.13.2/debian/apparmor-profiles.postinst 2019-02-25 06:10:18.000000000 +0000
@@ -20,14 +20,6 @@
 # dh_installdeb will replace this with shell code automatically
 # generated by other debhelper scripts.

-case "$1" in
- configure)
- if [ ! -e /etc/apparmor.d/abstractions/ubuntu-browsers.d/chromium-browser ]; then
- cp /usr/share/apparmor/extra-profiles/abstractions/ubuntu-browsers.d/chromium-browser /etc/apparmor.d/abstractions/ubuntu-browsers.d || true
- fi
- ;;
-esac
-
 #DEBHELPER#

 exit 0

---

/usr/share/apparmor/extra-profiles/abstractions/ubuntu-browsers.d/chromium-browser does exist but /etc/apparmor.d/abstractions/ubuntu-browsers.d/chromium-browser does not. The removal of this 'cp' invocation from the apparmor-profile.postinst is likely the cause.