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 800013 - avc denial : comm="ldconfig" path="/usr/lib/python2.7/site-packages/beah/bin/srv.py"
Summary: avc denial : comm="ldconfig" path="/usr/lib/python2.7/site-packages/beah/bin/...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: selinux-policy
Version: 7.0
Hardware: All
OS: Linux
high
unspecified
Target Milestone: rc
: ---
Assignee: Miroslav Grepl
QA Contact: Milos Malik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-05 15:45 UTC by Petr Sklenar
Modified: 2014-06-18 02:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-13 10:36:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Petr Sklenar 2012-03-05 15:45:05 UTC
Description of problem:
There is avc denial : comm="ldconfig" path="/usr/lib/python2.7/site-packages/beah/bin/srv.py"

Version-Release number of selected component (if applicable):
RHEL-7.0-20120301.n.0-Server-x86_64

How reproducible:
always on rhel7

Steps to Reproduce:
1.
2.
3.
  
Actual results:
----
time->Thu Mar  1 18:53:31 2012
type=SYSCALL msg=audit(1330646011.292:59): arch=c000003e syscall=59 success=yes exit=0 a0=1b0cd80 a1=1b0c160 a2=1b0bda0 a3=7fff076e8a70 items=0 ppid=1137 pid=1139 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="ldconfig" exe="/sbin/ldconfig" subj=system_u:system_r:ldconfig_t:s0 key=(null)

----
time->Thu Mar  1 18:53:31 2012
type=SYSCALL msg=audit(1330646011.374:60): arch=c000003e syscall=59 success=yes exit=0 a0=1205d80 a1=1205160 a2=1204da0 a3=7fff0d6e3e40 items=0 ppid=1140 pid=1146 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="ldconfig" exe="/sbin/ldconfig" subj=system_u:system_r:ldconfig_t:s0 key=(null)



Expected results:
no denial on ldconfig

Additional info:
this avc is mentioned at bug 796782 or bug 795668 - but its for subscription manager.

Comment 1 Milos Malik 2012-03-06 07:45:29 UTC
Petr forgot to copy the "type=AVC" part of the audit records. Complete audit records are here:

----
time->Thu Mar  1 18:53:31 2012
type=SYSCALL msg=audit(1330646011.292:59): arch=c000003e syscall=59 success=yes exit=0 a0=1b0cd80 a1=1b0c160 a2=1b0bda0 a3=7fff076e8a70 items=0 ppid=1137 pid=1139 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="ldconfig" exe="/sbin/ldconfig" subj=system_u:system_r:ldconfig_t:s0 key=(null)
type=AVC msg=audit(1330646011.292:59): avc:  denied  { read } for  pid=1139 comm="ldconfig" path="/usr/lib/python2.7/site-packages/beah/bin/srv.py" dev=dm-1 ino=792328 scontext=system_u:system_r:ldconfig_t:s0 tcontext=system_u:object_r:bin_t:s0 tclass=file
----
time->Thu Mar  1 18:53:31 2012
type=SYSCALL msg=audit(1330646011.374:60): arch=c000003e syscall=59 success=yes exit=0 a0=1205d80 a1=1205160 a2=1204da0 a3=7fff0d6e3e40 items=0 ppid=1140 pid=1146 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="ldconfig" exe="/sbin/ldconfig" subj=system_u:system_r:ldconfig_t:s0 key=(null)
type=AVC msg=audit(1330646011.374:60): avc:  denied  { read } for  pid=1146 comm="ldconfig" path="/usr/lib/python2.7/site-packages/beah/bin/srv.py" dev=dm-1 ino=792328 scontext=system_u:system_r:ldconfig_t:s0 tcontext=system_u:object_r:bin_t:s0 tclass=file
----

Comment 2 Daniel Walsh 2012-03-06 21:58:50 UTC
This is a leaked file descriptor in beah package most likely

Comment 3 Ales Zelinka 2012-03-08 14:42:21 UTC
Is this a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=797177 ?

Comment 4 Milos Malik 2012-03-08 14:59:27 UTC
It seems so.

Comment 6 Daniel Walsh 2012-04-09 13:28:13 UTC
Fixed in current release.

Comment 9 Ludek Smid 2014-06-13 10:36:17 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.


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