semanage-dontaudit(8)
π semanage-dontaudit β the manual page, but make it make sense
okay bestie, welcome to the semanage-dontaudit(8) page π this is the SELinux Policy Management dontaudit tool, and yes the name is a whole mouthful, we're getting through it together.
β¨ SYNOPSIS β¨
semanage dontaudit [-h] [-S STORE] [-N] {on,off}
that's it. that's the whole vibe. on or off, choose your fighter π«Ά
πΈ DESCRIPTION πΈ
so semanage is the girl that configures certain elements of SELinux policy without needing you to modify or recompile anything from the policy sources. she just does it. main character energy fr.
semanage dontaudit toggles whether or not dontaudit rules will be in the policy. and the way that policy writers use dontaudit rules is to make confined applications use alternative paths. lowkey iconic of them.
here's the tea though π΅: dontaudit rules are denied but not reported in the logs. so they just... happen. silently. no paper trail, no receipts.
and because of that, sometimes dontaudit rules can cause bugs in applications and the policy writers will not realize it, because the AVC is not audited. π the bug is right there and nobody can see it. screaming.
so turn off dontaudit rules with this command to see if the kernel is blocking an access. that's the whole point. that's the detective work. slay.
β¨ OPTIONS β¨
-h,--helpβ show this help message and exit. the classic. the safe word. π-S STORE,--store STOREβ select an alternate SELinux Policy Store to manage. you wanna manage a different store? go off, be picky π-N,--noreloadβ do not reload the policy after commit. you commit and you simply do not reload. no reloading. none. π
π EXAMPLE π
turn off dontaudit rules:
# semanage dontaudit off
boom. done. the dontaudits are gone and now the kernel has to say something. π¦
π SEE ALSO π
go read those too, iykyk.
π AUTHOR π
this man page was written by Daniel Walsh <dwalsh@redhat.com> β thank you king, we appreciate you π«Ά
k bye bestie, this page is from 20130617 and it lives in the semanage-dontaudit(8) section of the manual, mwah ππβ¨
π¦ where this page comes from
- centos-stream 10: policycoreutils-python-utils 3.10-2.el10 Β· GPL-2.0-or-later
- centos-stream 10: policycoreutils-python-utils 3.11-1.el10 Β· GPL-2.0-or-later
- centos-stream 9: policycoreutils-python-utils 3.6-7.el9 Β· GPL-2.0-or-later
- centos-stream 9: policycoreutils-python-utils 3.6-9.el9 Β· GPL-2.0-or-later
- debian trixie: policycoreutils-python-utils 3.8.1-2 Β· GPL-2.0-or-later
- fedora 43: policycoreutils-python-utils 3.9-5.fc43 Β· GPL-2.0-or-later
- fedora 43: policycoreutils-python-utils 3.9-7.fc43 Β· GPL-2.0-or-later
- fedora 44: policycoreutils-python-utils 3.10-1.fc44 Β· GPL-2.0-or-later
- fedora 44: policycoreutils-python-utils 3.11-2.fc44 Β· GPL-2.0-or-later
- nixos 26.05: selinux-python 3.10
- nixpkgs unstable: selinux-python 3.10
- opensuse-leap 16.0: policycoreutils-python-utils 3.8.1-160000.5.1 Β· GPL-2.0-or-later
- ubuntu questing: policycoreutils-python-utils 3.8.1-2
- ubuntu resolute: policycoreutils-python-utils 3.9-2 Β· GPL-2.0-or-later
- ubuntu stonking: policycoreutils-python-utils 3.11-2 Β· 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