SELinux is preventing /sbin/setfiles from 'append' accesses on the file /tmp/xerr-root-:1. ***** Plugin catchall (50.5 confidence) suggests *************************** If you believe that setfiles should be allowed append access on the xerr-root-:1 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 restorecon /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp ***** Plugin leaks (50.5 confidence) suggests ****************************** If you want to ignore setfiles trying to append access the xerr-root-:1 file, because you believe it should not need this access. Then you should report this as a bug. You can generate a local policy module to dontaudit this access. Do # grep /sbin/setfiles /var/log/audit/audit.log | audit2allow -D -M mypol # semodule -i mypol.pp Additional Information: Source Context unconfined_u:unconfined_r:setfiles_t:s0-s0:c0.c102 3 Target Context system_u:object_r:xdm_tmp_t:s0 Target Objects /tmp/xerr-root-:1 [ file ] Source restorecon Source Path /sbin/setfiles Port <Unknown> Host (removed) Source RPM Packages policycoreutils-2.0.86-7.fc15 Target RPM Packages Policy RPM selinux-policy-3.9.16-50.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.41.10-3.fc15.x86_64 #1 SMP Mon Jan 23 15:46:37 UTC 2012 x86_64 x86_64 Alert Count 1 First Seen Mon 13 Feb 2012 02:48:48 PM EST Last Seen Mon 13 Feb 2012 02:48:48 PM EST Local ID 77b74190-d311-41ff-87c4-1bd7c1340fa0 Raw Audit Messages type=AVC msg=audit(1329162528.15:3640): avc: denied { append } for pid=4842 comm="restorecon" path="/tmp/xerr-root-:1" dev=dm-0 ino=5849 scontext=unconfined_u:unconfined_r:setfiles_t:s0-s0:c0.c1023 tcontext=system_u:object_r:xdm_tmp_t:s0 tclass=file type=AVC msg=audit(1329162528.15:3640): avc: denied { append } for pid=4842 comm="restorecon" path="/tmp/xerr-root-:1" dev=dm-0 ino=5849 scontext=unconfined_u:unconfined_r:setfiles_t:s0-s0:c0.c1023 tcontext=system_u:object_r:xdm_tmp_t:s0 tclass=file type=SYSCALL msg=audit(1329162528.15:3640): arch=x86_64 syscall=execve success=yes exit=0 a0=1edb210 a1=1edb580 a2=1ed7320 a3=8 items=0 ppid=4835 pid=4842 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=508 comm=restorecon exe=/sbin/setfiles subj=unconfined_u:unconfined_r:setfiles_t:s0-s0:c0.c1023 key=(null) Hash: restorecon,setfiles_t,xdm_tmp_t,file,append audit2allow #============= setfiles_t ============== allow setfiles_t xdm_tmp_t:file append; audit2allow -R #============= setfiles_t ============== allow setfiles_t xdm_tmp_t:file append;
Were you attempting to login as root via X?
This also happens with me, loggin with a normal user via X (KDM) SELinux is preventing /sbin/setfiles from append access on the file /tmp/xerr-fidalgo-:0. ***** Plugin leaks (50.5 confidence) suggests ****************************** If you want to ignore setfiles trying to append access the xerr-fidalgo-:0 file, because you believe it should not need this access. Then you should report this as a bug. You can generate a local policy module to dontaudit this access. Do # grep /sbin/setfiles /var/log/audit/audit.log | audit2allow -D -M mypol # semodule -i mypol.pp ***** Plugin catchall (50.5 confidence) suggests *************************** If you believe that setfiles should be allowed append access on the xerr-fidalgo-: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 restorecon /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context unconfined_u:unconfined_r:setfiles_t:s0-s0:c0.c102 3 Target Context system_u:object_r:xdm_tmp_t:s0 Target Objects /tmp/xerr-fidalgo-:0 [ file ] Source restorecon Source Path /sbin/setfiles Port <Unknown> Host toshiba Source RPM Packages policycoreutils-2.1.4-13.fc16.x86_64 Target RPM Packages Policy RPM selinux-policy-3.10.0-84.fc16.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name toshiba Platform Linux toshiba 3.3.4-1.fc16.x86_64 #1 SMP Fri Apr 27 20:12:28 UTC 2012 x86_64 x86_64 Alert Count 8 First Seen Wed 02 May 2012 02:30:40 PM WEST Last Seen Mon 07 May 2012 09:36:37 AM WEST Local ID 217e4807-6e3a-4f2b-804c-27bd80c18708 Raw Audit Messages type=AVC msg=audit(1336379797.84:58): avc: denied { append } for pid=1455 comm="restorecon" path="/tmp/xerr-fidalgo-:0" dev="sda5" ino=87 scontext=unconfined_u:unconfined_r:setfiles_t:s0-s0:c0.c1023 tcontext=system_u:object_r:xdm_tmp_t:s0 tclass=file type=AVC msg=audit(1336379797.84:58): avc: denied { append } for pid=1455 comm="restorecon" path="/tmp/xerr-fidalgo-:0" dev="sda5" ino=87 scontext=unconfined_u:unconfined_r:setfiles_t:s0-s0:c0.c1023 tcontext=system_u:object_r:xdm_tmp_t:s0 tclass=file type=SYSCALL msg=audit(1336379797.84:58): arch=x86_64 syscall=execve success=yes exit=0 a0=1020650 a1=10205b0 a2=101c2d0 a3=18 items=0 ppid=1448 pid=1455 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=1 comm=restorecon exe=/sbin/setfiles subj=unconfined_u:unconfined_r:setfiles_t:s0-s0:c0.c1023 key=(null) Hash: restorecon,setfiles_t,xdm_tmp_t,file,append audit2allow #============= setfiles_t ============== allow setfiles_t xdm_tmp_t:file append; audit2allow -R #============= setfiles_t ============== allow setfiles_t xdm_tmp_t:file append;
Fixed in selinux-policy-3.10.0-122.fc17
selinux-policy-3.11.1-14.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/selinux-policy-3.11.1-14.fc18
Package selinux-policy-3.11.1-14.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.11.1-14.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-12934/selinux-policy-3.11.1-14.fc18 then log in and leave karma (feedback).
selinux-policy-3.11.1-14.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.