Hide Forgot
libreport version: 2.0.8 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.1.6-1.fc16.x86_64 reason: SELinux is preventing /usr/sbin/chronyd from 'read' accesses on the file /etc/host.conf. time: Thu 29 Dec 2011 09:23:25 AM MST description: :SELinux is preventing /usr/sbin/chronyd from 'read' accesses on the file /etc/host.conf. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that chronyd should be allowed read access on the host.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 system_u:object_r:boinc_tmpfs_t:s0 :Target Objects /etc/host.conf [ file ] :Source chronyd :Source Path /usr/sbin/chronyd :Port <Unknown> :Host (removed) :Source RPM Packages chrony-1.26-3.20110831gitb088b7.fc16 :Target RPM Packages setup-2.8.36-2.fc16 :Policy RPM selinux-policy-3.10.0-67.fc16 :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.1.6-1.fc16.x86_64 #1 SMP Wed Dec : 21 22:41:17 UTC 2011 x86_64 x86_64 :Alert Count 1 :First Seen Wed 28 Dec 2011 10:04:01 PM MST :Last Seen Wed 28 Dec 2011 10:04:01 PM MST :Local ID 92908782-f095-4e8b-9e87-4d79af3e93b1 : :Raw Audit Messages :type=AVC msg=audit(1325135041.226:18): avc: denied { read } for pid=1116 comm="chronyd" name="host.conf" dev=dm-0 ino=262175 scontext=system_u:system_r:chronyd_t:s0 tcontext=system_u:object_r:boinc_tmpfs_t:s0 tclass=file : : :type=SYSCALL msg=audit(1325135041.226:18): arch=x86_64 syscall=open success=no exit=EACCES a0=7fa1879a6def a1=0 a2=1b6 a3=238 items=0 ppid=1 pid=1116 auid=4294967295 uid=994 gid=991 euid=994 suid=994 fsuid=994 egid=991 sgid=991 fsgid=991 tty=(none) ses=4294967295 comm=chronyd exe=/usr/sbin/chronyd subj=system_u:system_r:chronyd_t:s0 key=(null) : :Hash: chronyd,chronyd_t,boinc_tmpfs_t,file,read : :audit2allow : :#============= chronyd_t ============== :allow chronyd_t boinc_tmpfs_t:file read; : :audit2allow -R : :#============= chronyd_t ============== :allow chronyd_t boinc_tmpfs_t:file read; :
*** This bug has been marked as a duplicate of bug 770854 ***