The following was filed automatically by setroubleshoot: Summary: SELinux is preventing the ck-get-x11-serv from using potentially mislabeled files (.Xauthority). Detailed Description: [SELinux is in permissive mode, the operation would have been denied but was permitted due to permissive mode.] SELinux has denied ck-get-x11-serv access to potentially mislabeled file(s) (.Xauthority). This means that SELinux will not allow ck-get-x11-serv to use these files. It is common for users to edit files in their home directory or tmp directories and then move (mv) them to system directories. The problem is that the files end up with the wrong file context which confined applications are not allowed to access. Allowing Access: If you want ck-get-x11-serv to access this files, you need to relabel them using restorecon -v '.Xauthority'. You might want to relabel the entire directory using restorecon -R -v ''. Additional Information: Source Context system_u:system_r:consolekit_t:s0-s0:c0.c1023 Target Context unconfined_u:object_r:admin_home_t:s0 Target Objects .Xauthority [ file ] Source ck-get-x11-serv Source Path /usr/libexec/ck-get-x11-server-pid Port <Unknown> Host (removed) Source RPM Packages ConsoleKit-x11-0.3.0-10.fc12 Target RPM Packages Policy RPM selinux-policy-3.6.21-3.fc12 Selinux Enabled True Policy Type targeted MLS Enabled True Enforcing Mode Permissive Plugin Name home_tmp_bad_labels Host Name (removed) Platform Linux (removed) 2.6.31-0.64.rc2.git5.fc12.i586 #1 SMP Fri Jul 10 17:27:23 EDT 2009 i686 i686 Alert Count 1 First Seen Tue 14 Jul 2009 07:33:13 PM CDT Last Seen Tue 14 Jul 2009 07:33:13 PM CDT Local ID 83f0bba7-bf41-4c22-bfe3-eb3676ffc88b Line Numbers Raw Audit Messages node=(removed) type=AVC msg=audit(1247617993.928:70): avc: denied { read } for pid=2727 comm="ck-get-x11-serv" name=".Xauthority" dev=sda6 ino=658 scontext=system_u:system_r:consolekit_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:admin_home_t:s0 tclass=file node=(removed) type=SYSCALL msg=audit(1247617993.928:70): arch=40000003 syscall=33 success=yes exit=0 a0=bfcbdfbc a1=4 a2=c11a60 a3=bfcbdfbc items=0 ppid=2726 pid=2727 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="ck-get-x11-serv" exe="/usr/libexec/ck-get-x11-server-pid" subj=system_u:system_r:consolekit_t:s0-s0:c0.c1023 key=(null) audit2allow suggests: #============= consolekit_t ============== allow consolekit_t admin_home_t:file read;
Mislabeled file Fixed in selinux-policy-3.6.28-4.fc12.noarch