Description of problem: Just popped up after a reboot. I use tls certificates for email. My *guess* is that Horde looks at this certificate. Also been messing around with drupal7. Hmmm ... now I don't know why http wants to access this ... Additional info: libreport version: 2.0.18 kernel: 3.6.10-2.fc17.x86_64 description: :SELinux is preventing /usr/sbin/httpd from 'read' accesses on the file /etc/pki/tls/certs/ca.crt. : :***** Plugin restorecon (99.5 confidence) suggests ************************* : :If you want to fix the label. :/etc/pki/tls/certs/ca.crt default label should be cert_t. :Then you can run restorecon. :Do :# /sbin/restorecon -v /etc/pki/tls/certs/ca.crt : :***** Plugin catchall (1.49 confidence) suggests *************************** : :If you believe that httpd should be allowed read access on the ca.crt 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 httpd /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:httpd_t:s0 :Target Context unconfined_u:object_r:admin_home_t:s0 :Target Objects /etc/pki/tls/certs/ca.crt [ file ] :Source httpd :Source Path /usr/sbin/httpd :Port <Unknown> :Host (removed) :Source RPM Packages httpd-2.2.22-4.fc17.x86_64 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-161.fc17.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Permissive :Host Name (removed) :Platform Linux (removed) 3.6.10-2.fc17.x86_64 #1 SMP Tue : Dec 11 18:07:34 UTC 2012 x86_64 x86_64 :Alert Count 4 :First Seen 2012-12-26 23:49:51 SAST :Last Seen 2012-12-27 00:13:05 SAST :Local ID 1f771e27-efa9-4efe-91c3-58cb5a3e7e4e : :Raw Audit Messages :type=AVC msg=audit(1356559985.221:91): avc: denied { read } for pid=1728 comm="httpd" name="ca.crt" dev="dm-1" ino=9181203 scontext=system_u:system_r:httpd_t:s0 tcontext=unconfined_u:object_r:admin_home_t:s0 tclass=file : : :type=AVC msg=audit(1356559985.221:91): avc: denied { open } for pid=1728 comm="httpd" path="/etc/pki/tls/certs/ca.crt" dev="dm-1" ino=9181203 scontext=system_u:system_r:httpd_t:s0 tcontext=unconfined_u:object_r:admin_home_t:s0 tclass=file : : :type=SYSCALL msg=audit(1356559985.221:91): arch=x86_64 syscall=open success=yes exit=EFAULT a0=7fff0577d630 a1=80000 a2=0 a3=16 items=0 ppid=1 pid=1728 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=httpd exe=/usr/sbin/httpd subj=system_u:system_r:httpd_t:s0 key=(null) : :Hash: httpd,httpd_t,admin_home_t,file,read : :audit2allow : :#============= httpd_t ============== :allow httpd_t admin_home_t:file { read open }; : :audit2allow -R : :#============= httpd_t ============== :allow httpd_t admin_home_t:file { read open }; :
Created attachment 669410 [details] File: type
Created attachment 669411 [details] File: hashmarkername
You need to fix labeling using restorecon # restorecon -R -v /etc/pki/tls/certs