AVC denial
A record in the audit log saying that SELinux refused, or in permissive mode would have refused, an access.
In more detail
Each record names the permission, the process, the source context, the target context and the class of object, such as a file, a directory or a TCP socket. ausearch -m AVC -ts recent shows the latest ones from /var/log/audit/audit.log. Reading the target tells you whether to fix a file label, a port type or a boolean.
Example
ausearch -m AVC -ts recentRelated terms
- SELinux — A Linux security layer that labels every process, file and port and allows only the accesses its policy lists.
- auditd — The Linux audit daemon, which records kernel events such as system calls and file changes according to audit rules.
- SELinux port type — The SELinux type given to a network port number, which decides which confined services may listen on it.
Related guides
Taught in
- SELinux Modes, And Why setenforce Is Not Enough — Red Hat Certified System Administrator (EX200) Exam Prep
- SELinux Ports And Booleans: The Other Two Refusals — Red Hat Certified System Administrator (EX200) Exam Prep
- Forbidden, With Perfect Permissions: Paths, ACL Masks And SELinux Denials — CompTIA Linux+ (XK0-006) Exam Prep
- SELinux: Modes, Labels, Ports And Booleans That Last — Linux Foundation Certified System Administrator (LFCS) Exam Prep