AA-COMPLAIN(8)
π AA-COMPLAIN β okay bestie, let's talk about it
Soooo the manual name is aa-complain and it lives in section 8 of the AppArmor manual, which is exactly the energy we're bringing today. Buckle up π
β¨ NAME β¨
aa-complain β set an AppArmor security profile to complain mode.
Like, that's literally it. That's the whole job. π
π¦ SYNOPSIS π¦
aa-complain <executable> [<executable> ...] [-d /path/to/profiles]
[--no-reload] [--force]
okay so you hand it one or more *executable*s, sprinkle some flags on top, and it does the thing. slay. β¨
πΈ OPTIONS πΈ
-d --dir/path/to/profilesβ tells it where to go look for the AppArmor security profile set. If you don't say anything, it just defaults to/etc/apparmor.d. no cap, that's the default. π--no-reloadβ mean it when you say don't reload the profile after modifying it. that's it. it just... doesn't reload. π«Ά--forceβ pushes the profile into complain mode even if it's currently in unconfined mode. like, yes bestie, we're doing this anyway, don't argue with me. π
π₯ DESCRIPTION π₯
okay so aa-complain is the tool you use to set the enforcement mode for one or more profiles over to complain mode. it's giving "soft launch but for security policy". π
And what does complain mode even mean, you ask? It means the security policy is not enforced β instead, any access violations just get logged to the system log. so it's not blocking anything, it's just out here taking notes π literally snitching on your processes in the most polite way possible.
π¨ okay bestie heads up though β 'deny' rules will be enforced even in complain mode. that part is NOT playing. deny is deny, periodt. π
π BUGS π
found a bug? not me being the one to tell you this but pleaseeee report it at:
<https://gitlab.com/apparmor/apparmor/-/issues>
they actually want to know, fr fr. π
π SEE ALSO π
go off, read more:
apparmor(7)apparmor.d(5)aa-enforce(1)aa-disable(1)aa_change_hat(2)- and honestly just go to <https://wiki.apparmor.net> β iconic resource, iykyk β
and that's the whole page, bestie!! π this was AppArmor 6.0.0~alpha1, dated 2026-10-05, filed under AA-COMPLAIN(8) β go forth and complain (the technical kind, obviously) π§β¨
π¦ where this page comes from
- ubuntu stonking: apparmor-utils 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