Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: SELinux is preventing /usr/sbin/ovs-vswitchd from 'search' accesses on the directory . ***** Plugin catchall (100. confidence) suggests ************************** If you believe that ovs-vswitchd should be allowed search access on the directory by default. Then you should report this as a bug. You can generate a local policy module to allow this access. Do allow this access for now by executing: # grep handler10 /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:openvswitch_t:s0 Target Context system_u:object_r:sysctl_net_t:s0 Target Objects [ dir ] Source handler10 Source Path /usr/sbin/ovs-vswitchd Port <Unknown> Host (removed) Source RPM Packages openvswitch-2.3.1-1.fc20.x86_64 Target RPM Packages Policy RPM selinux-policy-3.12.1-196.fc20.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.17.7-200.ip.fc20.x86_64 #1 SMP Mon Dec 22 10:17:37 CST 2014 x86_64 x86_64 Alert Count 8 First Seen 2014-12-02 14:00:38 CST Last Seen 2014-12-23 17:59:59 CST Local ID 06e22f9f-3bdc-4d81-9993-6d0c56f65c2c Raw Audit Messages type=AVC msg=audit(1419379199.959:375): avc: denied { search } for pid=32116 comm="handler10" name="net" dev="proc" ino=9152 scontext=system_u:system_r:openvswitch_t:s0 tcontext=system_u:object_r:sysctl_net_t:s0 tclass=dir permissive=0 type=SYSCALL msg=audit(1419379199.959:375): arch=x86_64 syscall=open success=no exit=EACCES a0=7f39d1d369c0 a1=0 a2=1b6 a3=1 items=0 ppid=32105 pid=32116 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=handler10 exe=/usr/sbin/ovs-vswitchd subj=system_u:system_r:openvswitch_t:s0 key=(null) Hash: handler10,openvswitch_t,sysctl_net_t,dir,search Additional info: reporter: libreport-2.2.3 hashmarkername: setroubleshoot kernel: 3.17.7-200.ip.fc20.x86_64 type: libreport
I'm pretty sure that it's trying to access /proc/sys/net. Changing summary accordingly.
23a36fc2ba1b716bcf0cb0b752b3c206ed2715d9 fixes this in git.
selinux-policy-3.12.1-197.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-197.fc20
Package selinux-policy-3.12.1-197.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.12.1-197.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-1398/selinux-policy-3.12.1-197.fc20 then log in and leave karma (feedback).
selinux-policy-3.12.1-197.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.