apparmor cannot load profiles
With fixes for bugs 7985, 8568 and 8569 manually applied, apparmor cannot load profiles. The on screen error message hints at an AppArmor 2.4 compatibility patch to the kernel being required or could just be missing the required file system?
sudo ./apparmor start -vvvv
* Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/apparmor start
* Starting AppArmor ...
* Debug parse_profiles ...
* Loading AppArmor profiles ...
egrep: bad regex '^/.*[ \t]+flags[ \t]*=[ \t]*\([ \t]*complain[ \t]*\)[ \t]+{': Invalid contents of {}
Cache read/write disabled: interface file missing. (Kernel needs AppArmor 2.4 compatibility patch.)
Warning: unable to find a suitable fs in /proc/mounts, is it mounted?
Use --subdomainfs to override.
* /etc/apparmor.d/bin.ping failed to load
(from redmine: issue id 8570, created on 2018-02-24)