Additional info: libreport version: 2.0.14 kernel: 3.6.1-1.fc17.x86_64 description: :SELinux is preventing /usr/sbin/chronyd from 'read' accesses on the file /etc/resolv.conf. : :***** Plugin restorecon (99.5 confidence) suggests ************************* : :If you want to fix the label. :/etc/resolv.conf default label should be net_conf_t. :Then you can run restorecon. :Do :# /sbin/restorecon -v /etc/resolv.conf : :***** Plugin catchall (1.49 confidence) suggests *************************** : :If you believe that chronyd should be allowed read access on the resolv.conf 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 chronyd /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:chronyd_t:s0 :Target Context unconfined_u:object_r:pppd_etc_t:s0 :Target Objects /etc/resolv.conf [ file ] :Source chronyd :Source Path /usr/sbin/chronyd :Port <Unknown> :Host (removed) :Source RPM Packages chrony-1.27-0.3.pre1.fc17.x86_64 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-153.fc17.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.6.1-1.fc17.x86_64 #1 SMP Wed Oct : 10 12:13:05 UTC 2012 x86_64 x86_64 :Alert Count 4 :First Seen 2012-10-16 15:10:12 SGT :Last Seen 2012-10-16 15:12:20 SGT :Local ID 940d4ada-7899-4f99-aaff-2105c31c0be0 : :Raw Audit Messages :type=AVC msg=audit(1350371540.623:104): avc: denied { read } for pid=729 comm="chronyd" name="resolv.conf" dev="dm-1" ino=137142 scontext=system_u:system_r:chronyd_t:s0 tcontext=unconfined_u:object_r:pppd_etc_t:s0 tclass=file : : :type=SYSCALL msg=audit(1350371540.623:104): arch=x86_64 syscall=open success=no exit=EACCES a0=7f608669a34e a1=80000 a2=1b6 a3=238 items=0 ppid=1 pid=729 auid=4294967295 uid=994 gid=992 euid=994 suid=994 fsuid=994 egid=992 sgid=992 fsgid=992 tty=(none) ses=4294967295 comm=chronyd exe=/usr/sbin/chronyd subj=system_u:system_r:chronyd_t:s0 key=(null) : :Hash: chronyd,chronyd_t,pppd_etc_t,file,read : :audit2allow : :#============= chronyd_t ============== :allow chronyd_t pppd_etc_t:file read; : :audit2allow -R : :#============= chronyd_t ============== :allow chronyd_t pppd_etc_t:file read; :
Created attachment 627786 [details] File: type
Created attachment 627787 [details] File: hashmarkername
/etc/resolv.conf is mislableed. Any idea how this got labeled as pppd_etc_t. Did some tool mv this out of /etc/ppp? restorecon /etc/resolv.conf Will fix the problem.