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 โ€” forces aa-load to 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 ๐Ÿ‘‘

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