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 'write' accesses on the file /var/db/sudo/james.cape/0. time: Fri Oct 21 20:28:03 2011 description: :SELinux is preventing /usr/bin/sudo from 'write' accesses on the file /var/db/sudo/james.cape/0. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that sudo should be allowed write 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:23 PM CDT :Last Seen Fri 21 Oct 2011 08:23:23 PM CDT :Local ID 15b7c51c-9d3f-447d-8a9b-442081ffa706 : :Raw Audit Messages :type=AVC msg=audit(1319246603.907:427): avc: denied { write } 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(1319246603.907:427): 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(1319246603.907:427): arch=x86_64 syscall=open success=yes exit=ENXIO a0=7fa3b469d420 a1=41 a2=180 a3=8 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,write : :audit2allow : :#============= xdm_t ============== :#!!!! The source type 'xdm_t' can write to a 'file' of the following types: :# cgroup_t, locale_t, wtmp_t, var_auth_t, sysfs_t, user_fonts_t, xdm_spool_t, user_tmp_t, fonts_cache_t, xserver_tmpfs_t, xauth_home_t, auth_cache_t, xdm_tmpfs_t, security_t, xserver_log_t, proc_afs_t, faillog_t, xdm_tmp_t, lastlog_t, xdm_log_t, gnome_home_type, initrc_var_run_t, pam_var_run_t, xdm_var_lib_t, xdm_var_run_t, etc_runtime_t, pcscd_var_run_t, anon_inodefs_t, gconf_home_t, xkb_var_lib_t, xdm_rw_etc_t, xdm_home_t, xdm_lock_t, pam_var_console_t, user_tmpfs_type, security_t, krb5_host_rcache_t : :allow xdm_t sudo_db_t:file { write open }; : :audit2allow -R : :#============= xdm_t ============== :#!!!! The source type 'xdm_t' can write to a 'file' of the following types: :# cgroup_t, locale_t, wtmp_t, var_auth_t, sysfs_t, user_fonts_t, xdm_spool_t, user_tmp_t, fonts_cache_t, xserver_tmpfs_t, xauth_home_t, auth_cache_t, xdm_tmpfs_t, security_t, xserver_log_t, proc_afs_t, faillog_t, xdm_tmp_t, lastlog_t, xdm_log_t, gnome_home_type, initrc_var_run_t, pam_var_run_t, xdm_var_lib_t, xdm_var_run_t, etc_runtime_t, pcscd_var_run_t, anon_inodefs_t, gconf_home_t, xkb_var_lib_t, xdm_rw_etc_t, xdm_home_t, xdm_lock_t, pam_var_console_t, user_tmpfs_type, security_t, krb5_host_rcache_t : :allow xdm_t sudo_db_t:file { write open }; :
*** This bug has been marked as a duplicate of bug 748085 ***