Fedora Account System
Red Hat Associate
Red Hat Customer
Summary: SELinux is preventing access to files with the label, file_t. Detailed Description: SELinux permission checks on files labeled file_t are being denied. file_t is the context the SELinux kernel gives to files that do not have a label. This indicates a serious labeling problem. No files on an SELinux box should ever be labeled file_t. If you have just added a new disk drive to the system you can relabel it using the restorecon command. Otherwise you should relabel the entire file system. Allowing Access: You can execute the following command as root to relabel your computer system: "touch /.autorelabel; reboot" Additional Information: Source Context system_u:system_r:xdm_t:s0-s0:c0.c1023 Target Context system_u:object_r:file_t:s0 Target Objects .xsession-errors [ file ] Source gdm-session-wor Source Path /usr/libexec/gdm-session-worker Port <Unknown> Host (removed) Source RPM Packages gdm-2.28.1-24.fc12 Target RPM Packages Policy RPM selinux-policy-3.6.32-41.fc12 Selinux Enabled True Policy Type targeted MLS Enabled True Enforcing Mode Enforcing Plugin Name file Host Name (removed) Platform Linux (removed) 2.6.31.5-127.fc12.x86_64 #1 SMP Sat Nov 7 21:11:14 EST 2009 x86_64 x86_64 Alert Count 1 First Seen Mon 23 Nov 2009 09:03:22 PM CST Last Seen Mon 23 Nov 2009 09:03:22 PM CST Local ID ab50b9e0-cf19-44aa-b923-585866602287 Line Numbers Raw Audit Messages node=(removed) type=AVC msg=audit(1259031802.680:60830): avc: denied { read write } for pid=1884 comm="gdm-session-wor" name=".xsession-errors" dev=dm-9 ino=20 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:file_t:s0 tclass=file node=(removed) type=SYSCALL msg=audit(1259031802.680:60830): arch=c000003e syscall=21 success=no exit=-13 a0=19c7580 a1=6 a2=20 a3=7fff19bc1c80 items=0 ppid=1801 pid=1884 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=2 comm="gdm-session-wor" exe="/usr/libexec/gdm-session-worker" subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null) Hash String generated from selinux-policy-3.6.32-41.fc12,file,gdm-session-wor,xdm_t,file_t,file,read,write audit2allow suggests: #============= xdm_t ============== allow xdm_t file_t:file { read write };
*** This bug has been marked as a duplicate of bug 537613 ***