Description of problem: When openvswitch.service is started, AVC denials about openvswitch_var_run_t and openvswitch_t are logged. Version-Release number of selected component (if applicable): openvswitch-2.7.3-2.fc26.x86_64 selinux-policy-3.13.1-260.13.fc26.noarch kernel-4.13.5-200.fc26.x86_64 How reproducible: Deterministic. Steps to Reproduce: 1. systemctl start openvswitch 2. Check the audit.log. Actual results: type=AVC msg=audit(1509463658.407:136): avc: denied { write } for pid=1 comm="systemd" name="db.sock" dev="tmpfs" ino=33476 scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:openvswitch_var_run_t:s0 tclass=sock_file permissive=0 type=AVC msg=audit(1509463658.439:137): avc: denied { module_load } for pid=9096 comm="modprobe" scontext=system_u:system_r:openvswitch_t:s0 tcontext=system_u:system_r:openvswitch_t:s0 tclass=system permissive=0 type=AVC msg=audit(1509463658.449:138): avc: denied { module_load } for pid=9096 comm="modprobe" scontext=system_u:system_r:openvswitch_t:s0 tcontext=system_u:system_r:openvswitch_t:s0 tclass=system permissive=0 Expected results: No AVC denials. Additional info:
Note that on Fedora 27, the AVC denials are different: bug 1508336.
Is there any progress with the investigation?
https://github.com/orgcandman/ovs/tree/systemd_enhancements This branch contains the proposal for the domain-transitioned helper script. I need to clean up the commits and then submit it upstream. Once it's accepted we can bring it back.
This message is a reminder that Fedora 26 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 26. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '26'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 26 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Updating version as the issue is still present with openvswitch-2.8.1-1.fc27.x86_64.
https://mail.openvswitch.org/pipermail/ovs-dev/2018-May/346633.html Work is still on going to get this accepted upstream.
We already have Fedora 27 bug 1508336, closing this one as dupe as no fix is coming for Fedora 26. *** This bug has been marked as a duplicate of bug 1508336 ***