SELinux is preventing /lib/upstart/shutdown from 'ioctl' accesses on the file /var/log/lxdm.log. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that shutdown should be allowed ioctl access on the lxdm.log 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 shutdown /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:shutdown_t:s0-s0:c0.c1023 Target Context system_u:object_r:xdm_log_t:s0 Target Objects /var/log/lxdm.log [ file ] Source shutdown Source Path /lib/upstart/shutdown Port <Unknown> Host (removed) Source RPM Packages upstart-0.6.5-10.fc14 Target RPM Packages Policy RPM selinux-policy-3.9.7-28.fc14 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.35.6-45.fc14.i686 #1 SMP Mon Oct 18 23:56:17 UTC 2010 i686 i686 Alert Count 1 First Seen Fri 04 Feb 2011 09:43:20 AM EST Last Seen Fri 04 Feb 2011 09:43:20 AM EST Local ID 12572df2-d181-4354-8b2d-9ad2c5290ebd Raw Audit Messages type=AVC msg=audit(1296830600.307:45): avc: denied { ioctl } for pid=18305 comm="shutdown" path="/var/log/lxdm.log" dev=dm-0 ino=72114 scontext=system_u:system_r:shutdown_t:s0-s0:c0.c1023 tcontext=system_u:object_r:xdm_log_t:s0 tclass=file type=SYSCALL msg=audit(1296830600.307:45): arch=i386 syscall=ioctl success=no exit=EACCES a0=1 a1=5401 a2=bfd839a0 a3=bfd83abc items=0 ppid=1 pid=18305 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm=shutdown exe=/lib/upstart/shutdown subj=system_u:system_r:shutdown_t:s0-s0:c0.c1023 key=(null) Hash: shutdown,shutdown_t,xdm_log_t,file,ioctl audit2allow #============= shutdown_t ============== allow shutdown_t xdm_log_t:file ioctl; audit2allow -R #============= shutdown_t ============== allow shutdown_t xdm_log_t:file ioctl;
Miroslav lets add xserver_xdm_append_log(shutdown_t) to F13/F14
Fixed in selinux-policy-3.9.7-30.fc14
selinux-policy-3.9.7-31.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/selinux-policy-3.9.7-31.fc14
selinux-policy-3.9.7-31.fc14 has been pushed to the Fedora 14 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update selinux-policy'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/selinux-policy-3.9.7-31.fc14
selinux-policy-3.9.7-31.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.