Ensure AppArmor is enabled in the bootloader configuration - apparmor=1

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version


Configure AppArmor to be enabled at boot time and verify that it has not been overwritten by the bootloader boot parameters.


AppArmor must be enabled at boot time in your bootloader configuration to ensure that the controls it provides are not overridden.


edit /etc/default/grub and add the appermor=1 and security=apparmor parameters to the GRUB_CMDLINE_LINUX= line

GRUB_CMDLINE_LINUX='apparmor=1 security=apparmor'

Run the following command to update the grub2 configuration:

# update-grub


This recommendation is designed around the grub bootloader, if LILO or another bootloader is in use in your environment enact equivalent settings.

See Also