Description of problem: SELinux is preventing /usr/lib/systemd/systemd-sysctl from using the 'sys_admin' capabilities. ***** Plugin catchall (100. confidence) suggests ************************** If sie denken, dass systemd-sysctl standardmäßig sys_admin Berechtigung haben sollten. Then sie sollten dies als Fehler melden. Um diesen Zugriff zu erlauben, können Sie ein lokales Richtlinien-Modul erstellen. Do zugriff jetzt erlauben, indem Sie die nachfolgenden Befehle ausführen: # grep systemd-sysctl /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:systemd_sysctl_t:s0 Target Context system_u:system_r:systemd_sysctl_t:s0 Target Objects [ capability ] Source systemd-sysctl Source Path /usr/lib/systemd/systemd-sysctl Port <Unknown> Host (removed) Source RPM Packages systemd-208-9.fc20.x86_64 Target RPM Packages Policy RPM selinux-policy-3.12.1-106.fc20.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.12.6 #11 PREEMPT Fri Dec 20 21:18:57 CET 2013 x86_64 x86_64 Alert Count 49 First Seen 2013-12-22 16:26:36 CET Last Seen 2013-12-27 12:17:21 CET Local ID aba76320-05ef-424d-963e-578d174ab808 Raw Audit Messages type=AVC msg=audit(1388143041.901:1159): avc: denied { sys_admin } for pid=3435 comm="systemd-sysctl" capability=21 scontext=system_u:system_r:systemd_sysctl_t:s0 tcontext=system_u:system_r:systemd_sysctl_t:s0 tclass=capability type=SYSCALL msg=audit(1388143041.901:1159): arch=x86_64 syscall=write success=no exit=EPERM a0=4 a1=7f169972a000 a2=2 a3=22 items=0 ppid=1 pid=3435 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm=systemd-sysctl exe=/usr/lib/systemd/systemd-sysctl subj=system_u:system_r:systemd_sysctl_t:s0 key=(null) Hash: systemd-sysctl,systemd_sysctl_t,systemd_sysctl_t,capability,sys_admin Additional info: reporter: libreport-2.1.10 hashmarkername: setroubleshoot kernel: 3.12.6 type: libreport
b7452dafd05630cd61644ee8b4a9b83e0d3e8f9f fixes this in git.
back ported.
selinux-policy-3.12.1-116.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-116.fc20
Package selinux-policy-3.12.1-116.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-116.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-0806/selinux-policy-3.12.1-116.fc20 then log in and leave karma (feedback).
selinux-policy-3.12.1-116.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.