Bug 671261 - auditctl and audit.rules man pages inconsistent on -a option
auditctl and audit.rules man pages inconsistent on -a option
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: audit (Show other bugs)
All Linux
medium Severity medium
: rc
: ---
Assigned To: Steve Grubb
Ondrej Moriš
Depends On:
  Show dependency treegraph
Reported: 2011-01-20 16:47 EST by Guil Barros
Modified: 2012-02-21 01:38 EST (History)
2 users (show)

See Also:
Fixed In Version: audit-1.8-2.el5
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-02-21 01:38:01 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Guil Barros 2011-01-20 16:47:50 EST
Description of problem:
man auditctl:
       -a list,action
              Append  rule  to  the  end  of list with action. Please note the
              comma separating the two values.

man audit.rules:
       -a action,list -S syscall -F field=value -k keyname

       The  -a  option tells the kernel’s rule matching engine that we want to
       append a rule and the end of the rule list.

Additionally both options do work:
# auditctl -a entry,always -F arch=b32 -S execve -F euid=0
# auditctl -a always,entry -F arch=b32 -S execve -F uid=0 
# auditctl -l
LIST_RULES: entry,always arch=1073741827 (0x40000003) euid=0 syscall=execve
LIST_RULES: entry,always arch=1073741827 (0x40000003) uid=0 syscall=execve

This seems to have been fixed upstream:
And this fix is due to be included in RHEL6.1

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. man auditctl
2. man audit.rules
Comment 2 Steve Grubb 2011-10-27 11:39:34 EDT
audit-1.8-1.el5 was built to address this problem.
Comment 3 Steve Grubb 2011-10-28 09:15:52 EDT
Patch was missing - now fixed in audit-1.8-2.el5.
Comment 6 errata-xmlrpc 2012-02-21 01:38:01 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.