Make rc.apparmor.functions suitable for Debian and Ubuntu
requested to merge intrigeri/apparmor:prepare-rc.apparmor.functions-for-Debian-and-Ubuntu into master
Debian and Ubuntu currently don't use rc.apparmor.functions
. They have their own code for loading profiles, their own initscript and systemd unit.
As discussed initially on https://bugs.debian.org/870697 and https://salsa.debian.org/apparmor-team/apparmor/merge_requests/6#note_29153, to fix that without introducing regressions on Debian/Ubuntu, we need to upstream a number of changes, which is what this branch is about.
Edited by intrigeri