libreport version: 2.0.8 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.3.0-1.fc17.x86_64 reason: SELinux is preventing /usr/bin/nmcli from using the 'setsched' accesses on a process. time: ven. 23 mars 2012 08:40:54 CET description: :SELinux is preventing /usr/bin/nmcli from using the 'setsched' accesses on a process. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that nmcli should be allowed setsched access on processes labeled dhcpc_t 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 nmcli /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:dhcpc_t:s0 :Target Context system_u:system_r:dhcpc_t:s0 :Target Objects [ process ] :Source nmcli :Source Path /usr/bin/nmcli :Port <Inconnu> :Host (removed) :Source RPM Packages NetworkManager-0.9.3.997-0.7.fc17.x86_64 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-104.fc17.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.3.0-1.fc17.x86_64 #1 : SMP Mon Mar 19 03:03:39 UTC 2012 x86_64 x86_64 :Alert Count 2 :First Seen ven. 23 mars 2012 08:17:40 CET :Last Seen ven. 23 mars 2012 08:17:40 CET :Local ID 8839ef99-2dcc-467e-bf8d-98feeea5de4f : :Raw Audit Messages :type=AVC msg=audit(1332487060.979:49): avc: denied { setsched } for pid=1074 comm="nmcli" scontext=system_u:system_r:dhcpc_t:s0 tcontext=system_u:system_r:dhcpc_t:s0 tclass=process : : :type=SYSCALL msg=audit(1332487060.979:49): arch=x86_64 syscall=sched_setscheduler success=no exit=EACCES a0=432 a1=0 a2=7fff12897890 a3=1 items=0 ppid=1073 pid=1074 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=nmcli exe=/usr/bin/nmcli subj=system_u:system_r:dhcpc_t:s0 key=(null) : :Hash: nmcli,dhcpc_t,dhcpc_t,process,setsched : :audit2allowunable to open /sys/fs/selinux/policy: Permission denied : : :audit2allow -Runable to open /sys/fs/selinux/policy: Permission denied : :
The same thing affected me. It may be what caused the network not to come up on my just-installed F17-beta desktop. To work around it, I ran this: setenforce 0; dhclient em1
So it works with # grep nmcli /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp # setenforce 1
selinux-policy-3.10.0-110.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-110.fc17
selinux-policy-3.10.0-110.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.