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.

Bug 1359789

Summary: avc: denied { read } for pid=25872 comm="iptables" name="xtables.lock
Product: Red Hat Enterprise Linux 7 Reporter: Petr Sklenar <psklenar>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED ERRATA QA Contact: Milos Malik <mmalik>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3CC: egolov, lvrabec, mgrepl, mmalik, plautrba, pvrabec, rbarry, riehecky, ssekidde, todoleza
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: selinux-policy-3.13.1-130.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-01 15:12:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Petr Sklenar 2016-07-25 12:52:00 UTC
Description of problem:
avc denial only on ppc64le

Version-Release number of selected component (if applicable):
selinux-policy-3.13.1-89.el7.noarch

How reproducible:
always

Steps to Reproduce:
1.https://beaker.engineering.redhat.com/tasks/executed?recipe_task_id=43316647&recipe_task_id=43327563&recipe_task_id=43317166&recipe_task_id=43316903&recipe_task_id=43316389&new_pkg_tasks=43316647,43327563,43317166,43316903,43316389
2. start test /CoreOS/iptables/Sanity/bz590186-Contrary-to-expectations-IPv6-transparent-proxy on rhel73 ppc64le

Actual results:
time->Thu Jul 21 01:54:35 2016
type=SYSCALL msg=audit(1469062475.700:1961): arch=c0000015 syscall=5 success=no exit=-13 a0=10015d40 a1=40 a2=180 a3=0 items=0 ppid=25766 pid=25872 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="iptables" exe="/usr/sbin/xtables-multi" subj=system_u:system_r:iptables_t:s0 key=(null)
type=AVC msg=audit(1469062475.700:1961): avc:  denied  { read } for  pid=25872 comm="iptables" name="xtables.lock" dev="tmpfs" ino=163018 scontext=system_u:system_r:iptables_t:s0 tcontext=system_u:object_r:sosreport_var_run_t:s0 tclass=file
----

Expected results:
no avc

Additional info:

Comment 7 Ryan Barry 2017-01-09 21:48:31 UTC
We also see this on x86_64 builds of RHV-H. It doesn't seem to be reproducible on RHEL installs on x86_64, but we share the same version of selinux-policy here

Comment 13 errata-xmlrpc 2017-08-01 15:12:40 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.

https://access.redhat.com/errata/RHBA-2017:1861