libreport version: 2.0.10 executable: /usr/bin/python2.7 hashmarkername: setroubleshoot kernel: 3.3.7-1.fc17.x86_64 time: So 10 Jun 2012 12:42:11 CEST description: :SELinux is preventing /usr/bin/ncftool from 'read' accesses on the directory /etc/modprobe.d. : :***** Plugin catchall (100. confidence) suggests *************************** : :If sie denken, dass ncftool standardmässig erlaubt sein sollte, read Zugriff auf modprobe.d directory zu erhalten. :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 ncftool /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context unconfined_u:unconfined_r:ncftool_t:s0-s0:c0.c1023 :Target Context system_u:object_r:modules_conf_t:s0 :Target Objects /etc/modprobe.d [ dir ] :Source ncftool :Source Path /usr/bin/ncftool :Port <Unbekannt> :Host (removed) :Source RPM Packages netcf-0.1.9-2.fc17.x86_64 :Target RPM Packages kmod-7-2.fc17.x86_64 :Policy RPM selinux-policy-3.10.0-128.fc17.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.3.7-1.fc17.x86_64 : #1 SMP Mon May 21 22:32:19 UTC 2012 x86_64 x86_64 :Alert Count 2 :First Seen So 10 Jun 2012 12:41:05 CEST :Last Seen So 10 Jun 2012 12:41:05 CEST :Local ID 6585360c-7bb8-4cdc-accb-c80afe9116bf : :Raw Audit Messages :type=AVC msg=audit(1339324865.226:390): avc: denied { read } for pid=4063 comm="ncftool" name="modprobe.d" dev="dm-0" ino=8110 scontext=unconfined_u:unconfined_r:ncftool_t:s0-s0:c0.c1023 tcontext=system_u:object_r:modules_conf_t:s0 tclass=dir : : :type=SYSCALL msg=audit(1339324865.226:390): arch=x86_64 syscall=openat success=no exit=EACCES a0=ffffffffffffff9c a1=7fff347c1300 a2=90800 a3=0 items=0 ppid=13866 pid=4063 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts2 ses=8 comm=ncftool exe=/usr/bin/ncftool subj=unconfined_u:unconfined_r:ncftool_t:s0-s0:c0.c1023 key=(null) : :Hash: ncftool,ncftool_t,modules_conf_t,dir,read : :audit2allowunable to open /sys/fs/selinux/policy: Permission denied : : :audit2allow -Runable to open /sys/fs/selinux/policy: Permission denied : :
Easy way to trigger this is to run $ ncftool -d list
Fixed in selinux-policy-3.10.0-130.fc17.noarch
selinux-policy-3.10.0-130.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-130.fc17
Package selinux-policy-3.10.0-130.fc17: * should fix your issue, * was pushed to the Fedora 17 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.10.0-130.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-9520/selinux-policy-3.10.0-130.fc17 then log in and leave karma (feedback).
selinux-policy-3.10.0-130.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.