Hide Forgot
SELinux is preventing /usr/libexec/gdm-session-worker from 'write' accesses on the directory /space/home/<username>. ***** Plugin catchall_labels (83.8 confidence) suggests ******************** If you want to allow gdm-session-worker to have write access on the schulze directory Then you need to change the label on /space/home/<username> Do # semanage fcontext -a -t FILE_TYPE '/space/home/<username>' where FILE_TYPE is one of the following: var_lib_t, var_run_t, xdm_tmp_t, faillog_t, var_log_t, xdm_log_t, gnome_home_type, pam_var_run_t, xdm_var_lib_t, xdm_var_run_t, gconf_home_t, pcscd_var_run_t, xkb_var_lib_t, xdm_rw_etc_t, xdm_home_t, pam_var_console_t, cgroup_t, var_lock_t, user_home_dir_t, root_t, tmp_t, var_t, locale_t, var_auth_t, tmpfs_t, user_fonts_t, user_tmpfs_t, xdm_spool_t, fonts_cache_t, user_tmp_t, auth_cache_t, xdm_tmpfs_t, var_spool_t, xserver_log_t, tmp_t. Then execute: restorecon -v '/space/home/<username>' ***** Plugin catchall (17.1 confidence) suggests *************************** If you believe that gdm-session-worker should be allowed write access on the <username> directory 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 gdm-session-wor /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:default_t:s0 Target Objects /space/home/<username> [ dir ] Source gdm-session-wor Source Path /usr/libexec/gdm-session-worker Port <Unbekannt> Host (removed) Source RPM Packages gdm-3.0.0-3.fc15 Target RPM Packages Policy RPM selinux-policy-3.9.16-26.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.38.6-27.fc15.i686 #1 SMP Sun May 15 17:57:13 UTC 2011 i686 i686 Alert Count 2 First Seen Fr 03 Jun 2011 21:42:47 CEST Last Seen Sa 04 Jun 2011 00:43:35 CEST Local ID 7d285823-f975-40fc-ac24-01407a70f5e8 Raw Audit Messages type=AVC msg=audit(1307141015.644:107): avc: denied { write } for pid=6619 comm="gdm-session-wor" name="<username>" dev=sdb1 ino=29147138 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:default_t:s0 tclass=dir type=SYSCALL msg=audit(1307141015.644:107): arch=i386 syscall=open success=no exit=EACCES a0=9137f20 a1=80c2 a2=180 a3=15 items=0 ppid=6544 pid=6619 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=6 comm=gdm-session-wor exe=/usr/libexec/gdm-session-worker subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null) Hash: gdm-session-wor,xdm_t,default_t,dir,write audit2allow #============= xdm_t ============== #!!!! The source type 'xdm_t' can write to a 'dir' of the following types: # var_spool_t, xserver_log_t, var_lib_t, var_run_t, xdm_tmp_t, faillog_t, var_log_t, xdm_log_t, gnome_home_type, pam_var_run_t, xdm_var_lib_t, xdm_var_run_t, gconf_home_t, pcscd_var_run_t, xkb_var_lib_t, xdm_rw_etc_t, xdm_home_t, pam_var_console_t, cgroup_t, var_lock_t, user_home_dir_t, root_t, tmp_t, var_t, locale_t, var_auth_t, tmpfs_t, user_fonts_t, user_tmpfs_t, xdm_spool_t, fonts_cache_t, user_tmp_t, auth_cache_t, xdm_tmpfs_t, tmp_t allow xdm_t default_t:dir write; audit2allow -R #============= xdm_t ============== #!!!! The source type 'xdm_t' can write to a 'dir' of the following types: # var_spool_t, xserver_log_t, var_lib_t, var_run_t, xdm_tmp_t, faillog_t, var_log_t, xdm_log_t, gnome_home_type, pam_var_run_t, xdm_var_lib_t, xdm_var_run_t, gconf_home_t, pcscd_var_run_t, xkb_var_lib_t, xdm_rw_etc_t, xdm_home_t, pam_var_console_t, cgroup_t, var_lock_t, user_home_dir_t, root_t, tmp_t, var_t, locale_t, var_auth_t, tmpfs_t, user_fonts_t, user_tmpfs_t, xdm_spool_t, fonts_cache_t, user_tmp_t, auth_cache_t, xdm_tmpfs_t, tmp_t allow xdm_t default_t:dir write;
*** This bug has been marked as a duplicate of bug 710764 ***