Hide Forgot
SELinux is preventing /usr/bin/gnome-screensaver from 'execute' accesses on the file /usr/bin/vlc. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that gnome-screensaver should be allowed execute access on the vlc 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-screensav /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:mplayer_exec_t:s0 Target Objects /usr/bin/vlc [ file ] Source gnome-screensav Source Path /usr/bin/gnome-screensaver Port <Unknown> Host (removed) Source RPM Packages gnome-screensaver-2.30.2-2.fc14 Target RPM Packages vlc-core-1.1.12-1.fc14 Policy RPM selinux-policy-3.9.7-46.fc14 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.35.14-103.fc14.i686.PAE #1 SMP Thu Oct 27 15:58:03 UTC 2011 i686 i686 Alert Count 1 First Seen Sun 20 Nov 2011 04:38:30 PM CET Last Seen Sun 20 Nov 2011 04:38:30 PM CET Local ID be609815-2c70-435c-9be5-9c93268d9fee Raw Audit Messages type=AVC msg=audit(1321803510.707:58): avc: denied { execute } for pid=4703 comm="gnome-screensav" name="vlc" dev=dm-0 ino=1482981 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:mplayer_exec_t:s0 tclass=file type=SYSCALL msg=audit(1321803510.707:58): arch=i386 syscall=access success=no exit=EACCES a0=8da6dcd a1=1 a2=84627c a3=8 items=0 ppid=1 pid=4703 auid=4294967295 uid=42 gid=42 euid=42 suid=42 fsuid=42 egid=42 sgid=42 fsgid=42 tty=(none) ses=4294967295 comm=gnome-screensav exe=/usr/bin/gnome-screensaver subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null) Hash: gnome-screensav,xdm_t,mplayer_exec_t,file,execute audit2allow #============= xdm_t ============== allow xdm_t mplayer_exec_t:file execute; audit2allow -R #============= xdm_t ============== allow xdm_t mplayer_exec_t:file execute;
You can dontaudit it using # grep mplayer_exec /var/log/audit/audit.log |audit2allow -D -M mypol # semodule -i mypol.pp
I encountered this on my system, but I don't understand why gnome-screensaver would need to execute /usr/bin/vlc, so I considered it a good thing that access was denied. Can someone enlighten me?
Please update to a newer version of Fedora. F14 is no longer supported. g-screensaver does access check which we are able to dontaudit.