Hello all, I haven't been able to find any threads with an identical problem so I post here. I am running artix with linux-hardened and openrc. Apparmor gives me the following error:
doas apparmor_parser /usr/share/apparmor/extra-profiles/
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.
Trying to rerun the same command with --subdomainfs fails silently. The message "Cache read/write disabled: interface file missing. (Kernel needs AppArmor 2.4 compatibility patch.)" is in Openrc init logs too
AppArmor is enabled in the kernel
cat /usr/src/linux-hardened/.config | grep APPARMOR
CONFIG_SECURITY_APPARMOR=y
CONFIG_SECURITY_APPARMOR_HASH=y
CONFIG_SECURITY_APPARMOR_HASH_DEFAULT=y
# CONFIG_SECURITY_APPARMOR_DEBUG is not set
# CONFIG_DEFAULT_SECURITY_APPARMOR is not set
AppArmor is also enabled in grub (/etc/default/grub)
GRUB_CMDLINE_LINUX="landlock,lockdown,yama,apparmor,bpf"
aa-enabled
No - disabled at boot.
aa-status
apparmor module is loaded.
apparmor filesystem is not mounted.
rc-service apparmor status
* status: started
Any help would be greatly appreciated.