Description of problem: Occurs on boot of a Fedora 19 live image built from current repositories. SELinux is preventing /usr/sbin/setfiles from 'read' accesses on the file config. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that setfiles should be allowed read access on the config 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 system_u:system_r:setfiles_t:s0 Target Context unconfined_u:object_r:net_conf_t:s0 Target Objects config [ file ] Source restorecon Source Path /usr/sbin/setfiles Port <Unknown> Host (removed) Source RPM Packages policycoreutils-2.1.14-22.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 3 First Seen 2013-03-19 19:39:22 EDT Last Seen 2013-03-19 19:40:43 EDT Local ID 44174cd6-d078-488c-a1d6-a64b0fa9354e Raw Audit Messages type=AVC msg=audit(1363736443.662:416): avc: denied { read } for pid=2397 comm="restorecon" name="config" dev="dm-0" ino=151410 scontext=system_u:system_r:setfiles_t:s0 tcontext=unconfined_u:object_r:net_conf_t:s0 tclass=file type=AVC msg=audit(1363736443.662:416): avc: denied { open } for pid=2397 comm="restorecon" path="/etc/selinux/config" dev="dm-0" ino=151410 scontext=system_u:system_r:setfiles_t:s0 tcontext=unconfined_u:object_r:net_conf_t:s0 tclass=file type=SYSCALL msg=audit(1363736443.662:416): arch=x86_64 syscall=open success=yes exit=ESRCH a0=7f5bd4126f3a a1=0 a2=1b6 a3=7fff0dc1ac70 items=0 ppid=1 pid=2397 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm=restorecon exe=/usr/sbin/setfiles subj=system_u:system_r:setfiles_t:s0 key=(null) Hash: restorecon,setfiles_t,net_conf_t,file,read audit2allow #============= setfiles_t ============== allow setfiles_t net_conf_t:file { read open }; audit2allow -R require { type setfiles_t; } #============= setfiles_t ============== sysnet_read_config(setfiles_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 ***
*** Bug 1155641 has been marked as a duplicate of this bug. ***