Bug 1501336
| Summary: | systemctl start ovs-vswitchd produces dac_override and dac_read_search AVC denials | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Jan Pazdziora (Red Hat) <jpazdziora> |
| Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> |
| Status: | CLOSED ERRATA | QA Contact: | Milos Malik <mmalik> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.4 | CC: | atragler, jpazdziora, lvrabec, mgrepl, mmalik, plautrba, ssekidde |
| Target Milestone: | pre-dev-freeze | Keywords: | Regression |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | selinux-policy-3.13.1-175.el7 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-04-10 12:44:59 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: | |||
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. We have these capabilities allowed in Fedora, it looks like this domain really needs it. It did not need it on RHEL 7.4 -- what has changed since then? 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 |
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: