AA-AUTODEP(8)

πŸ’– AA-AUTODEP β€” girl help, it guesses your AppArmor profiles 😭✨

okay so bestie, gather round, because this is the aa-autodep page from section 8 of the AppArmor manual, and it's genuinely so useful, no cap 🫢


✨ NAME ✨

aa-autodep β€” guess basic AppArmor profile requirements πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

aa-autodep <executable> [<executable> ...] [-d /path/to/profiles] [-f]

like. you hand it one or more executables, you can point it at a profile dir, you can force it, and it goes brrr. that's the whole vibe fr fr πŸ¦‹


🌈 OPTIONS 🌈

  • -d, --dir /path/to/profiles β€” tells it where to go looking for the AppArmor security profile set. and if you don't say anything? it just assumes /etc/apparmor.d, iconic default behaviour honestly πŸ‘‘
  • -f, --force β€” overwrites any existing AppArmor profile for the executable with the generated minimal AppArmor profile. yes bestie it will absolutely replace what's already there, so know that going in πŸ’€

🌸 DESCRIPTION 🌸

so the whole point of aa-autodep is generating a minimal AppArmor profile for a set of executables. it's giving "starter pack" energy ✨

and not just binaries either β€” this program will generate a profile for binary executable as well as interpreted script programs. versatile queen πŸ’…

at a minimum, aa-autodep will provide a base profile containing a base include directive, which includes the basic profile entries that most programs need. like, the bare minimum survival kit, and honestly? that's so valid 🧚

and then the --force option does its thing: it'll overwrite any existing profile for the executable with the newly generated minimal AppArmor profile. loud, proud, destructive, main character energy πŸ”₯


😭 BUGS 😭

okay so real talk, and this is important: this program does not perform full static analysis of executables, so the profiles it generates are necessarily incomplete. not a vibe, but it's the truth, and you deserve to know it πŸ™ˆ

if you find any bugs, please report them at <https://gitlab.com/apparmor/apparmor/-/issues>. do it for the girlies, do it for the community, do it for future you 🫢


πŸ‘‘ SEE ALSO πŸ‘‘

go read these next, bestie, they're all connected, iykyk:


AppArmor 6.0.0~alpha1 🌟 2026-10-05 β€” yeah that's the version and the date this whole thing got written, so shoutout to the AppArmor girlies who shipped it, mwah, slay, periodt πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from