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 1015437 - SELinux blocks openlmi-networking from reading /proc/net/dev
Summary: SELinux blocks openlmi-networking from reading /proc/net/dev
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
medium
medium
Target Milestone: rc
: ---
Assignee: Miroslav Grepl
QA Contact: Milos Malik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-04 09:05 UTC by Radek Novacek
Modified: 2016-12-01 00:31 UTC (History)
2 users (show)

Fixed In Version: selinux-policy-3.12.1-91.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-13 12:44:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Radek Novacek 2013-10-04 09:05:24 UTC
Description of problem:
openlmi-networking fails to read /proc/net/dev file because it's blocked by selinux. openlmi-networking takes network device statistics out of this file.

Version-Release number of selected component (if applicable):
selinux-policy-3.12.1-86.el7

AVC follows:

time->Fri Oct  4 12:57:36 2013
type=SYSCALL msg=audit(1380884256.792:465): arch=c000003e syscall=2 success=no exit=-13 a0=7f0439e435dc a1=0 a2=1b6 a3=0 items=0 ppid=1 pid=2137 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="cimprovagt" exe="/usr/libexec/pegasus/cimprovagt" subj=system_u:system_r:pegasus_openlmi_system_t:s0 key=(null)
type=AVC msg=audit(1380884256.792:465): avc:  denied  { read } for  pid=2137 comm="cimprovagt" name="dev" dev="proc" ino=4026531975 scontext=system_u:system_r:pegasus_openlmi_system_t:s0 tcontext=system_u:object_r:proc_net_t:s0 tclass=file
----

Comment 2 Miroslav Grepl 2013-10-16 09:38:18 UTC
commit a3ca57a681a4a7a5aed5eed3cd49db2e034648e0
Author: Miroslav Grepl <mgrepl>
Date:   Wed Oct 16 11:38:01 2013 +0200

    Allow openlmi-networking to read /proc/net/dev

Comment 4 Ludek Smid 2014-06-13 12:44:45 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.