Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 607823

Summary: inodes display incorrectly when listing rules
Product: Red Hat Enterprise Linux 5 Reporter: Bryan Mason <bmason>
Component: auditAssignee: Steve Grubb <sgrubb>
Status: CLOSED ERRATA QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.5CC: cward
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
When an ignore directive was included in an audit.rules configuration file, the auditctl utility became unresponsive when attempting to load those rules. With this update, the issue is resolved.
Story Points: ---
Clone Of:
: 640948 (view as bug list) Environment:
Last Closed: 2011-01-13 23:43:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 640948    
Attachments:
Description Flags
Proposed patch none

Description Bryan Mason 2010-06-24 23:32:25 UTC
Description of problem:

    When listing audit rules, large inode values may not display properly.

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

    audit-1.7.17-3.el5

How reproducible:

    100%

Steps to Reproduce:

    # auditctl -a exit,always -S all -F inode=`ls -i /proc/cpuinfo \
    | awk '{print $1}'`

    # auditctl -l

Actual results:

    LIST_RULES: exit,always inode=-268435445 (0xf000000b) syscall=all

Expected results:

    LIST_RULES: exit,always inode=4026531851 (0xf000000b) syscall=all    

Additional info:

    This is the "other bug" referenced in Bug 554553  :)

    Fixed upstream:

        https://fedorahosted.org/audit/changeset/392

Comment 1 Bryan Mason 2010-06-24 23:33:38 UTC
Created attachment 426720 [details]
Proposed patch

Stolen from https://fedorahosted.org/audit/changeset/392

Comment 5 Steve Grubb 2010-09-19 21:26:03 UTC
audit-1.7.18-1 was built to resolve this problem.

Comment 8 Eva Kopalova 2010-12-20 11:44:16 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
When an ignore directive was included in an audit.rules configuration file, the auditctl utility became unresponsive when attempting to load those rules. With this update, the issue is resolved.

Comment 10 errata-xmlrpc 2011-01-13 23:43:04 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0083.html