Description of problem: Happened during RDO installation. Answer file attached. SELinux is preventing /usr/sbin/ip from 'mounton' accesses on the directory . ***** Plugin catchall (100. confidence) suggests ************************** If you believe that ip should be allowed mounton 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 ip /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:neutron_t:s0 Target Context unconfined_u:object_r:var_run_t:s0 Target Objects [ dir ] Source ip Source Path /usr/sbin/ip Port <Unknown> Host (removed) Source RPM Packages iproute-3.11.0-1.fc20.x86_64 Target RPM Packages Policy RPM selinux-policy-3.12.1-122.fc20.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.13.5-200.fc20.x86_64 #1 SMP Mon Feb 24 16:51:35 UTC 2014 x86_64 x86_64 Alert Count 1 First Seen 2014-03-03 11:31:41 EST Last Seen 2014-03-03 11:31:41 EST Local ID 279ff8e8-458b-4c05-853a-dd0e923551f7 Raw Audit Messages type=AVC msg=audit(1393864301.27:12342): avc: denied { mounton } for pid=30872 comm="ip" path="/run/netns" dev="tmpfs" ino=141299 scontext=system_u:system_r:neutron_t:s0 tcontext=unconfined_u:object_r:var_run_t:s0 tclass=dir type=SYSCALL msg=audit(1393864301.27:12342): arch=x86_64 syscall=mount success=no exit=EACCES a0=43c234 a1=4370a2 a2=43818d a3=104000 items=0 ppid=30871 pid=30872 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm=ip exe=/usr/sbin/ip subj=system_u:system_r:neutron_t:s0 key=(null) Hash: ip,neutron_t,var_run_t,dir,mounton Additional info: reporter: libreport-2.1.12 hashmarkername: setroubleshoot kernel: 3.13.5-200.fc20.x86_64 type: libreport
Created attachment 870040 [details] File: packstack-answers-20140303-103051.txt
Please execute # restorecon -R -v /run/netns commit a25c5a7545cf465205385936c66260edb13bfa8c Author: Miroslav Grepl <mgrepl> Date: Wed Mar 5 08:54:27 2014 +0100 Allow neutron to create /run/netns with correct labeling
(In reply to Miroslav Grepl from comment #2) > Please execute > > # restorecon -R -v /run/netns > > > commit a25c5a7545cf465205385936c66260edb13bfa8c > Author: Miroslav Grepl <mgrepl> > Date: Wed Mar 5 08:54:27 2014 +0100 > > Allow neutron to create /run/netns with correct labeling I'm not sure why, but that file doesn't exist anymore... [root@dhcp-161-221 ~]# restorecon -R -v /run/netns restorecon: lstat(/run/netns) failed: No such file or directory
selinux-policy-3.12.1-135.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-135.fc20
Package selinux-policy-3.12.1-135.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-135.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-3813/selinux-policy-3.12.1-135.fc20 then log in and leave karma (feedback).
selinux-policy-3.12.1-135.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.