SELinux is preventing /usr/libexec/gnome-session-check-accelerated-helper from 'open' accesses on the chr_file nvidiactl.
***** Plugin device (91.4 confidence) suggests *****************************
If you want to allow gnome-session-check-accelerated-helper to have open access on the nvidiactl chr_file
Then you need to change the label on nvidiactl to a type of a similar device.
Do
# semanage fcontext -a -t SIMILAR_TYPE 'nvidiactl'
# restorecon -v 'nvidiactl'
***** Plugin catchall (9.59 confidence) suggests ***************************
If you believe that gnome-session-check-accelerated-helper should be allowed open access on the nvidiactl chr_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-session-c /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:device_t:s0
Target Objects nvidiactl [ chr_file ]
Source gnome-session-c
Source Path /usr/libexec/gnome-session-check-accelerated-
helper
Port <Unknown>
Host (removed)
Source RPM Packages gnome-session-3.0.1-2.fc15
Target RPM Packages
Policy RPM selinux-policy-3.9.16-24.fc15
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name (removed)
Platform Linux nanochase 2.6.38.6-27.fc15.i686 #1 SMP Sun
May 15 17:57:13 UTC 2011 i686 i686
Alert Count 12
First Seen Thu 26 May 2011 12:43:41 AM CDT
Last Seen Fri 27 May 2011 06:24:37 PM CDT
Local ID b0dfb57a-94a1-42be-ac4c-258920ef2d3e
Raw Audit Messages
type=AVC msg=audit(1306538677.393:39): avc: denied { open } for pid=1237 comm="gnome-session-c" name="nvidiactl" dev=devtmpfs ino=17245 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:device_t:s0 tclass=chr_file
type=SYSCALL msg=audit(1306538677.393:39): arch=i386 syscall=open success=no exit=EACCES a0=bf97cfc8 a1=8002 a2=0 a3=bf97cfc8 items=0 ppid=1232 pid=1237 auid=4294967295 uid=42 gid=42 euid=42 suid=42 fsuid=42 egid=42 sgid=42 fsgid=42 tty=(none) ses=4294967295 comm=gnome-session-c exe=/usr/libexec/gnome-session-check-accelerated-helper subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null)
Hash: gnome-session-c,xdm_t,device_t,chr_file,open
audit2allow
#============= xdm_t ==============
allow xdm_t device_t:chr_file open;
audit2allow -R
#============= xdm_t ==============
allow xdm_t device_t:chr_file open;