Skip to content

ausearch does not find messages of type AVC  #351

@vam67423

Description

@vam67423

When searching the audit logs for messages using type=AVC, ausearch returns nothing even if the audit.log file does contain those entries:

$ ausearch -m AVC
<no matches>
$ cat /var/log/audit/audit.log | grep AVC
type=AVC msg=audit(1707163426.971:4088): apparmor="ALLOWED" operation="open" class="file" profile=....

This makes the audit framework quite difficult to use, especially in combination with tools like apparmor/SELinux. While the logs are still present, users would expect to find them with ausearch.

Audit Version: 4.0-1
Linux Kernel: 6.7.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions