AA-LOAD(8)
๐ AA-LOAD(8) โ the AppArmor one ๐
okay so bestie, welcome to aa-load, part of the AppArmor manual pages (section 8, so you know it's sysadmin hours ๐). She's the girl who loads your precompiled AppArmor policy out of whatever cache spot you point her at. No compiling, no waiting, just vibes and security ๐ฆ
โจ NAME โจ
aa-load โ load precompiled AppArmor policy from cache location(s) ๐
๐ธ SYNOPSIS ๐ธ
aa-load [options] (cache file|cache dir|cache base dir)+
likeโฆ options first, then one or more cache things. one or more!! the + is not playing around ๐
๐ซถ DESCRIPTION ๐ซถ
aa-load loads precompiled AppArmor policy from the specified locations. that's it, that's the whole job. you hand her a cache file, a cache dir, or a cache base dir โ she scoops the precompiled policy out of there and gets it into the kernel. iconic behavior honestly โจ
๐ OPTIONS ๐
aa-load accepts the following arguments:
-f,--forceโ forcesaa-loadto load a policy even if its abi does not match the kernel abi. mismatched abi? she said "not today, bestie" and loads it anyway ๐ฅ (yes this is the spicy one, use it on purpose please)-d,--debugโ displays debug messages. when something's giving weird, this is your girl ๐-v,--verboseโ displays progress and error messages. so you can literally watch her cook ๐-n,--dry-runโ does not actually load the specified policy/policies into the kernel. pretend mode. rehearsal. dress rehearsal only, no policy goes in ๐-h,--helpโ displays a brief usage guide. when in doubt, ask her, she'll tell you ๐
โญ EXIT STATUS โญ
upon exiting, aa-load returns 0 upon success and 1 upon an error loading the precompiled policy.
so: zero = slay, one = something went wrong loading that precompiled policy ๐ญ check your exit codes fr fr
๐ BUGS ๐
if you find any bugs, please report them at:
https://gitlab.com/apparmor/apparmor/-/issues
not me gatekeeping bugs โ tell the maintainers, they wanna know ๐ซถ
๐ SEE ALSO ๐
apparmor(7)apparmor.d(5)apparmor_parser(8)- <https://wiki.apparmor.net>
go read those, iykyk ๐ง
and that's the whole page bestie!! ๐ this one's from AppArmor 6.0.0~alpha1, dated 2026-10-05 โ so go forth, load that precompiled policy, and stay safe out there โจ๐๐
๐ฆ where this page comes from
- ubuntu stonking: apparmor 6.0.0~alpha1-0ubuntu4 ยท GPL-2.0-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms