libreport version: 2.0.10 executable: /usr/bin/python2.7 hashmarkername: setroubleshoot kernel: 3.4.4-3.fc17.i686 time: ti 3. heinäkuuta 2012 10.04.49 description: :SELinux is preventing gnome-shell from 'execmod' accesses on the file /usr/lib/nvidia/tls/libnvidia-tls.so.295.59. : :***** Plugin allow_execmod (91.4 confidence) suggests ********************** : :If you want to allow gnome-shell to have execmod access on the libnvidia-tls.so.295.59 file :Then you need to change the label on '/usr/lib/nvidia/tls/libnvidia-tls.so.295.59' :Do :# semanage fcontext -a -t textrel_shlib_t '/usr/lib/nvidia/tls/libnvidia-tls.so.295.59' :# restorecon -v '/usr/lib/nvidia/tls/libnvidia-tls.so.295.59' : :***** Plugin catchall (9.59 confidence) suggests *************************** : :If you believe that gnome-shell should be allowed execmod access on the libnvidia-tls.so.295.59 file 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 gnome-shell /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:xdm_t:s0-s0:c0.c1023 :Target Context system_u:object_r:lib_t:s0 :Target Objects /usr/lib/nvidia/tls/libnvidia-tls.so.295.59 [ file : ] :Source gnome-shell :Source Path gnome-shell :Port <Tuntematon> :Host (removed) :Source RPM Packages :Target RPM Packages xorg-x11-drv-nvidia-libs-295.59-1.fc17.i686 :Policy RPM selinux-policy-3.10.0-134.fc17.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.4.4-3.fc17.i686 #1 SMP Tue : Jun 26 21:32:03 UTC 2012 i686 i686 :Alert Count 1 :First Seen ti 3. heinäkuuta 2012 09.42.10 :Last Seen ti 3. heinäkuuta 2012 09.42.10 :Local ID 776d033f-eaf8-4577-8ed1-048d2b908505 : :Raw Audit Messages :type=AVC msg=audit(1341297730.778:37): avc: denied { execmod } for pid=683 comm="gnome-shell" path="/usr/lib/nvidia/tls/libnvidia-tls.so.295.59" dev="sda3" ino=790640 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:lib_t:s0 tclass=file : : :Hash: gnome-shell,xdm_t,lib_t,file,execmod : :audit2allowunable to open /sys/fs/selinux/policy: Permission denied : : :audit2allow -Runable to open /sys/fs/selinux/policy: Permission denied : :
Do # semanage fcontext -a -t textrel_shlib_t '/usr/lib/nvidia/tls/libnvidia-tls.so.295.59' # restorecon -v '/usr/lib/nvidia/tls/libnvidia-tls.so.295.59'