Description of problem: Occurs on boot of a Fedora 19 live image built from current repositories. SEalert claims the label is wrong, but if so, it's nothing I did. SELinux is preventing /usr/sbin/cupsd from 'write' accesses on the directory cups. ***** Plugin catchall_labels (83.8 confidence) suggests ******************** If you want to allow cupsd to have write access on the cups directory Then you need to change the label on cups Do # semanage fcontext -a -t FILE_TYPE 'cups' where FILE_TYPE is one of the following: cupsd_etc_t, cupsd_interface_t, cupsd_log_t, cupsd_rw_etc_t, cupsd_tmp_t, cupsd_var_lib_t, cupsd_var_run_t, krb5_host_rcache_t, print_spool_t, tmp_t, var_lock_t, var_log_t, var_run_t, var_t. Then execute: restorecon -v 'cups' ***** Plugin catchall (17.1 confidence) suggests *************************** If you believe that cupsd should be allowed write access on the cups 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 cupsd /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:cupsd_t:s0-s0:c0.c1023 Target Context unconfined_u:object_r:etc_t:s0 Target Objects cups [ dir ] Source cupsd Source Path /usr/sbin/cupsd Port <Unknown> Host (removed) Source RPM Packages cups-1.6.1-26.fc19.x86_64 Target RPM Packages Policy RPM selinux-policy-3.12.1-22.fc19.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 3.9.0-0.rc3.git0.3.fc19.x86_64 #1 SMP Mon Mar 18 21:39:31 UTC 2013 x86_64 x86_64 Alert Count 1 First Seen 2013-03-19 19:40:02 EDT Last Seen 2013-03-19 19:40:02 EDT Local ID 02a3709e-41b7-43c6-a526-4f8eb896e4d9 Raw Audit Messages type=AVC msg=audit(1363736402.731:376): avc: denied { write } for pid=1531 comm="cupsd" name="cups" dev="dm-0" ino=171508 scontext=system_u:system_r:cupsd_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:etc_t:s0 tclass=dir type=AVC msg=audit(1363736402.731:376): avc: denied { add_name } for pid=1531 comm="cupsd" name="subscriptions.conf.N" scontext=system_u:system_r:cupsd_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:etc_t:s0 tclass=dir type=AVC msg=audit(1363736402.731:376): avc: denied { create } for pid=1531 comm="cupsd" name="subscriptions.conf.N" scontext=system_u:system_r:cupsd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:etc_t:s0 tclass=file type=SYSCALL msg=audit(1363736402.731:376): arch=x86_64 syscall=open success=yes exit=EBUSY a0=7fffa017da20 a1=c1 a2=1b6 a3=1c items=0 ppid=1 pid=1531 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm=cupsd exe=/usr/sbin/cupsd subj=system_u:system_r:cupsd_t:s0-s0:c0.c1023 key=(null) Hash: cupsd,cupsd_t,etc_t,dir,write audit2allow #============= cupsd_t ============== allow cupsd_t etc_t:dir { write add_name }; allow cupsd_t etc_t:file create; audit2allow -R require { type cupsd_t; } #============= cupsd_t ============== files_manage_etc_files(cupsd_t) files_rw_etc_dirs(cupsd_t) Additional info: hashmarkername: setroubleshoot kernel: 3.9.0-0.rc3.git0.3.fc19.x86_64 type: libreport
Final blocker: "In most cases, there must be no SELinux 'AVC: denied' messages or abrt crash notifications on initial boot and subsequent login"
*** This bug has been marked as a duplicate of bug 923497 ***