Bug 700005

Summary: On s390x and i386 "autrace -r /bin/ls" produces errors
Product: Red Hat Enterprise Linux 6 Reporter: Eduard Benes <ebenes>
Component: auditAssignee: Steve Grubb <sgrubb>
Status: CLOSED ERRATA QA Contact: Ondrej Moriš <omoris>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1CC: mvadkert, omoris
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: audit-2.1.3-1.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-06 18:20:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Eduard Benes 2011-04-27 09:12:17 UTC
Description of problem:
On s390x and i386 "autrace -r /bin/ls" produces errors though all relevant rules are added correctly.

Version-Release number of selected component (if applicable):
audit-2.1-4.el6.s390x

How reproducible:
always

Steps to Reproduce:
1. autrace -r /bin/ls
2.
3.
  
Actual results:
.qa.[root@s390x-6s-v1 tps]# autrace -r /bin/ls
Error sending add rule data request (Rule exists)
Error sending add rule data request (Rule exists)
Error sending add rule data request (Rule exists)
Error sending add rule data request (Rule exists)
Error sending add rule data request (Rule exists)
Waiting to execute: /bin/ls
 ...
Cleaning up...
Trace complete. You can locate the records with 'ausearch -i -p 14987'
# echo $?
0
# rpm -q audit
audit-2.1-4.el6.s390x

Expected results:
No errors about sending add rule data requests.

Additional info:
# autrace -r /sbin/auditctl -l
Error sending add rule data request (Rule exists)
Error sending add rule data request (Rule exists)
Error sending add rule data request (Rule exists)
Error sending add rule data request (Rule exists)
Error sending add rule data request (Rule exists)
Waiting to execute: /sbin/auditctl
LIST_RULES: exit,always pid=15002 (0x3a9a) syscall=open,creat,link,unlink,execve,chdir,mknod,chmod,rename,mkdir,rmdir,symlink,readlink,truncate,sendfile,lchown,chown,openat,mkdirat,mknodat,fchownat,unlinkat,renameat,linkat,symlinkat,readlinkat,fchmodat
LIST_RULES: exit,always a0=3 (0x3) syscall=socketcall
LIST_RULES: exit,always a0=2 (0x2) syscall=socketcall
LIST_RULES: exit,always a0=5 (0x5) syscall=socketcall
LIST_RULES: exit,always a0=11 (0xb) syscall=socketcall
LIST_RULES: exit,always a0=12 (0xc) syscall=socketcall
LIST_RULES: exit,always ppid=15002 (0x3a9a) syscall=open,creat,link,unlink,execve,chdir,mknod,chmod,rename,mkdir,rmdir,symlink,readlink,truncate,sendfile,lchown,chown,openat,mkdirat,mknodat,fchownat,unlinkat,renameat,linkat,symlinkat,readlinkat,fchmodat
Cleaning up...
Trace complete. You can locate the records with 'ausearch -i -p 15002'

Comment 1 Steve Grubb 2011-04-27 12:15:50 UTC
This was corrected upstream with this patch:
https://fedorahosted.org/audit/changeset/520

Comment 2 RHEL Program Management 2011-07-05 23:51:40 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
representative.

Comment 3 Steve Grubb 2011-08-17 17:35:13 UTC
This was fixed in audit-2.1.3-1.el6

Comment 4 RHEL Program Management 2011-08-17 17:49:53 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux maintenance release. Product Management has 
requested further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed 
products. This request is not yet committed for inclusion in an Update release.

Comment 8 errata-xmlrpc 2011-12-06 18:20:05 UTC
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.

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