Description of problem: SELinux is preventing /usr/bin/Xorg from 'getattr' accesses on the chr_file /dev/nvidiactl. ***** Plugin catchall (100. confidence) suggests ************************** If 您确定应默认允许 Xorg getattr 访问 nvidiactl chr_file。 Then 您应该将这个情况作为 bug 报告。 您可以生成本地策略模块允许这个访问。 Do 请执行以下命令此时允许这个访问: # grep Xorg /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:bumblebee_t:s0 Target Context system_u:object_r:xserver_misc_device_t:s0 Target Objects /dev/nvidiactl [ chr_file ] Source Xorg Source Path /usr/bin/Xorg Port <Unknown> Host (removed) Source RPM Packages xorg-x11-server-Xorg-1.14.4-5.fc20.x86_64 Target RPM Packages Policy RPM selinux-policy-3.12.1-106.fc20.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.12.5-302.fc20.x86_64 #1 SMP Tue Dec 17 20:42:32 UTC 2013 x86_64 x86_64 Alert Count 1 First Seen 2013-12-22 17:51:58 CST Last Seen 2013-12-22 17:51:58 CST Local ID 4ee062c1-caa8-4c9a-bcf8-f44e8e6d3df0 Raw Audit Messages type=AVC msg=audit(1387705918.631:1229): avc: denied { getattr } for pid=25123 comm="Xorg" path="/dev/nvidiactl" dev="devtmpfs" ino=36051 scontext=system_u:system_r:bumblebee_t:s0 tcontext=system_u:object_r:xserver_misc_device_t:s0 tclass=chr_file type=SYSCALL msg=audit(1387705918.631:1229): arch=x86_64 syscall=stat success=yes exit=0 a0=7fff752b1c40 a1=7fff752b1ac0 a2=7fff752b1ac0 a3=7fff752b1860 items=0 ppid=4731 pid=25123 auid=4294967295 uid=0 gid=1001 euid=0 suid=0 fsuid=0 egid=1001 sgid=1001 fsgid=1001 ses=4294967295 tty=(none) comm=Xorg exe=/usr/bin/Xorg subj=system_u:system_r:bumblebee_t:s0 key=(null) Hash: Xorg,bumblebee_t,xserver_misc_device_t,chr_file,getattr Additional info: reporter: libreport-2.1.10 hashmarkername: setroubleshoot kernel: 3.12.5-302.fc20.x86_64 type: libreport
*** This bug has been marked as a duplicate of bug 1046010 ***