libreport version: 2.0.6 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.1.0-0.rc10.git0.1.fc16.x86_64 reason: SELinux is preventing /usr/bin/sudo from 'read' accesses on the file /var/db/sudo/james.cape/0. time: Fri Oct 21 20:27:44 2011 description: :SELinux is preventing /usr/bin/sudo from 'read' accesses on the file /var/db/sudo/james.cape/0. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that sudo should be allowed read access on the 0 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 sudo /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:sudo_db_t:s0 :Target Objects /var/db/sudo/james.cape/0 [ file ] :Source sudo :Source Path /usr/bin/sudo :Port <Unknown> :Host (removed) :Source RPM Packages sudo-1.8.1p2-2.fc16 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-40.fc16 :Selinux Enabled True :Policy Type targeted :Enforcing Mode Permissive :Host Name (removed) :Platform Linux orwell.ignore-your.tv : 3.1.0-0.rc10.git0.1.fc16.x86_64 #1 SMP Wed Oct 19 : 05:02:17 UTC 2011 x86_64 x86_64 :Alert Count 1 :First Seen Fri 21 Oct 2011 08:23:19 PM CDT :Last Seen Fri 21 Oct 2011 08:23:19 PM CDT :Local ID c4cdf645-342b-4e3c-96bd-d0fce103e2bc : :Raw Audit Messages :type=AVC msg=audit(1319246599.161:424): avc: denied { read } for pid=4884 comm="sudo" name="0" dev=dm-1 ino=219002 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:sudo_db_t:s0 tclass=file : : :type=AVC msg=audit(1319246599.161:424): avc: denied { open } for pid=4884 comm="sudo" name="0" dev=dm-1 ino=219002 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:sudo_db_t:s0 tclass=file : : :type=SYSCALL msg=audit(1319246599.161:424): arch=x86_64 syscall=open success=yes exit=EINTR a0=7fa3b469d420 a1=0 a2=1a4 a3=0 items=0 ppid=4800 pid=4884 auid=4294967295 uid=1000 gid=1000 euid=0 suid=0 fsuid=0 egid=1000 sgid=1000 fsgid=1000 tty=pts0 ses=4294967295 comm=sudo exe=/usr/bin/sudo subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null) : :Hash: sudo,xdm_t,sudo_db_t,file,read : :audit2allow : :#============= xdm_t ============== :allow xdm_t sudo_db_t:file { read open }; : :audit2allow -R : :#============= xdm_t ============== :allow xdm_t sudo_db_t:file { read open }; :
*** This bug has been marked as a duplicate of bug 748085 ***