Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
previously, the "autrace -r" command on the s390x architecture attempted to audit network syscalls not available on s390x. Consequently, an error similar to the following might have been returned:
Error inserting audit rule for pid=13163
With this update, "autrace -r" is now aware of system calls not available on this architecture, which resolves this issue.
Created attachment 492856[details]
strace output of autrace -r /bin/ls on s390x
Description of problem:
Autrace fails to to add audit rules to trace a process on s390 in resource usage mode when it is set to limit syscalls collected to ones needed for analysing resource usage.
Version-Release number of selected component (if applicable):
audit-2.1-3.el6.s390x
# uname -a
Linux auto-s390-002.ss.eng.bos.redhat.com 2.6.32-128.el6.s390x #1 SMP Mon Mar 28 21:58:33 EDT 2011 s390x s390x s390x GNU/Linux
How reproducible:
always
Steps to Reproduce:
1. # autrace -r /bin/ls
2.
3.
Actual results:
[root@auto-s390-002 ~]# autrace -r /bin/ls
Error inserting audit rule for pid=13163
Expected results:
Something like this
# autrace -r /bin/ls
Waiting to execute: /bin/ls
...
Cleaning up...
Trace complete. You can locate the records with 'ausearch -i -p 30207'
Additional info:
Works as expected without the resource usage mode
# autrace /bin/ls /tmp
...
Cleaning up...
Trace complete. You can locate the records with 'ausearch -i -p 13192'
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-0653.html
Created attachment 492856 [details] strace output of autrace -r /bin/ls on s390x Description of problem: Autrace fails to to add audit rules to trace a process on s390 in resource usage mode when it is set to limit syscalls collected to ones needed for analysing resource usage. Version-Release number of selected component (if applicable): audit-2.1-3.el6.s390x # uname -a Linux auto-s390-002.ss.eng.bos.redhat.com 2.6.32-128.el6.s390x #1 SMP Mon Mar 28 21:58:33 EDT 2011 s390x s390x s390x GNU/Linux How reproducible: always Steps to Reproduce: 1. # autrace -r /bin/ls 2. 3. Actual results: [root@auto-s390-002 ~]# autrace -r /bin/ls Error inserting audit rule for pid=13163 Expected results: Something like this # autrace -r /bin/ls Waiting to execute: /bin/ls ... Cleaning up... Trace complete. You can locate the records with 'ausearch -i -p 30207' Additional info: Works as expected without the resource usage mode # autrace /bin/ls /tmp ... Cleaning up... Trace complete. You can locate the records with 'ausearch -i -p 13192'