CertGrid CertGrid
Troubleshooting·Red Hat Certified System Administrator

SELinux Denial Troubleshooting

Not a separate objective, and what the other five are really testing. An AVC record names the process type, the target type and the operation, and those three decide which of the three fixes applies. The guide opens with `ausearch -m AVC` returning nothing on a machine with sixteen denials in its audit log.

Security and SELinux Guide 60 of 67 Advanced

Written against the versions above. **`ausearch -m AVC` found nothing on this machine while the denials were plainly in `/var/log/audit/audit.log`.** `--input-logs` makes it read the on-disk logs and returns all of them. Since "run `ausearch -m AVC`" is the standard advice, an empty result reads as "no denial happened" - which is the worst possible wrong conclusion.

Every command on this page runs on RHCSA-A01.
Server NameIP AddressOSRolesCPURAMHDD
RHCSA-A01192.168.0.31RHEL 10.0 (Coughlan)Practice node (graded) - spare /dev/sda2 Core4 GB50 GB + 15 GB

Before you start

  1. The search that returns nothing

  2. The four fields

  3. The suggestion, and its trap

Official sources