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 1501336 - systemctl start ovs-vswitchd produces dac_override and dac_read_search AVC denials
Summary: systemctl start ovs-vswitchd produces dac_override and dac_read_search AVC de...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: selinux-policy
Version: 7.4
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: pre-dev-freeze
: ---
Assignee: Lukas Vrabec
QA Contact: Milos Malik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-12 11:52 UTC by Jan Pazdziora (Red Hat)
Modified: 2018-04-10 12:45 UTC (History)
7 users (show)

Fixed In Version: selinux-policy-3.13.1-175.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-10 12:44:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0763 0 None None None 2018-04-10 12:45:38 UTC

Description Jan Pazdziora (Red Hat) 2017-10-12 11:52:29 UTC
Description of problem:

Running systemctl start ovs-vswitchd now produces AVC denials.

Version-Release number of selected component (if applicable):

openvswitch-2.7.2-1.git20170719.el7fdp.x86_64

How reproducible:

Deterministic.

Steps to Reproduce:
1. Enable repository with latest openvswitch.
2. yum install -y openvswitch
3. systemctl start ovs-vswitchd
4. Check audit.log.

Actual results:

[  108.776211] type=1400 audit(1507804090.170:4): avc:  denied  { dac_override } for  pid=11777 comm="ovs-ctl" capability=1  scontext=system_u:system_r:openvswitch_t:s0 tcontext=system_u:system_r:openvswitch_t:s0 tclass=capability
[  109.017566] type=1400 audit(1507804090.411:5): avc:  denied  { dac_read_search } for  pid=11777 comm="ovs-ctl" capability=2  scontext=system_u:system_r:openvswitch_t:s0 tcontext=system_u:system_r:openvswitch_t:s0 tclass=capability
[  109.588777] type=1400 audit(1507804090.982:6): avc:  denied  { dac_override } for  pid=11815 comm="ovs-ctl" capability=1  scontext=system_u:system_r:openvswitch_t:s0 tcontext=system_u:system_r:openvswitch_t:s0 tclass=capability
[  109.830164] type=1400 audit(1507804091.224:7): avc:  denied  { dac_read_search } for  pid=11815 comm="ovs-ctl" capability=2  scontext=system_u:system_r:openvswitch_t:s0 tcontext=system_u:system_r:openvswitch_t:s0 tclass=capability

Expected results:

No AVC denials.

Additional info:

Comment 5 Jan Pazdziora (Red Hat) 2017-10-13 17:36:44 UTC
Based on http://danwalsh.livejournal.com/69478.html, chances are the problem is not in the selinux-policy at all but in some packaging / ownership / permissions on some files.

Comment 6 Lukas Vrabec 2017-10-23 11:25:21 UTC
We have these capabilities allowed in Fedora, it looks like this domain really needs it.

Comment 7 Jan Pazdziora (Red Hat) 2017-10-23 11:28:07 UTC
It did not need it on RHEL 7.4 -- what has changed since then?

Comment 12 errata-xmlrpc 2018-04-10 12:44:59 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-2018:0763


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