Why audit rules are not showing in auditctl command output?

Solution Verified - Updated -

Issue

  • audit rules are not showing in auditctl output.
  • How to check audit rule syntax errors?
  • How to load the audit rules even if one of the audit rule gives error ?
  • If multiple rules are defined, and if any one of the rule fails, subsequent audit rules are not loaded.
  • How to load all audit rules even if any intermediate rule fails ?

Environment

  • Red Hat Enterprise Linux 7
  • audit

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content