Description of problem: Logging in. After last weeks update, when logging in there seems to be issues with the selinux policies for fence_virtd. SELinux is preventing /usr/sbin/fence_virtd from using the 'net_admin' capabilities. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that fence_virtd should have the net_admin capability 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 fence_virtd /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:fenced_t:s0 Target Context system_u:system_r:fenced_t:s0 Target Objects [ capability ] Source fence_virtd Source Path /usr/sbin/fence_virtd Port <Unknown> Host (removed) Source RPM Packages fence-virtd-0.3.0-15.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.6-200.fc20.x86_64 #1 SMP Fri Mar 7 17:02:28 UTC 2014 x86_64 x86_64 Alert Count 1 First Seen 2014-03-12 09:05:13 EDT Last Seen 2014-03-12 09:05:13 EDT Local ID 5ae6c1d9-41e5-4403-8e58-6a4ef0601c03 Raw Audit Messages type=AVC msg=audit(1394629513.977:452): avc: denied { net_admin } for pid=1873 comm="fence_virtd" capability=12 scontext=system_u:system_r:fenced_t:s0 tcontext=system_u:system_r:fenced_t:s0 tclass=capability type=SYSCALL msg=audit(1394629513.977:452): arch=x86_64 syscall=ioctl success=no exit=ENODEV a0=8 a1=8933 a2=7fff367de880 a3=6 items=0 ppid=1 pid=1873 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm=fence_virtd exe=/usr/sbin/fence_virtd subj=system_u:system_r:fenced_t:s0 key=(null) Hash: fence_virtd,fenced_t,fenced_t,capability,net_admin Additional info: reporter: libreport-2.1.12 hashmarkername: setroubleshoot kernel: 3.13.6-200.fc20.x86_64 type: libreport
It is working and you just see this alert or it's broken?
(In reply to Lukas Vrabec from comment #1) > It is working and you just see this alert or it's broken? Not sure what's supposed to be broken. I can run KVM/libvirt but it's unstable. Provisioning a new VM got libvirt to an inconsistent state where it thought the domain was running, but it wasn't, trying to use a non-default network.
commit 6b4eca2effb2105d78a604394b2f3d01c0fc7d8c Author: Miroslav Grepl <mgrepl> Date: Fri Mar 14 07:26:49 2014 +0100 Allow net_admin cap for fence_virtd running as fenced_t
selinux-policy-3.12.1-149.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-149.fc20
Package selinux-policy-3.12.1-149.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-149.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-4604/selinux-policy-3.12.1-149.fc20 then log in and leave karma (feedback).
selinux-policy-3.12.1-149.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.