Summary: SELinux is preventing /usr/sbin/certmonger "getattr" access to /etc/httpd/alias/cert8.db. Detailed Description: SELinux denied access requested by certmonger. /etc/httpd/alias/cert8.db may be a mislabeled. /etc/httpd/alias/cert8.db default SELinux type is cert_t, but its current type is httpd_config_t. Changing this file back to the default type, may fix your problem. File contexts can be assigned to a file in the following ways. * Files created in a directory receive the file context of the parent directory by default. * The SELinux policy might override the default label inherited from the parent directory by specifying a process running in context A which creates a file in a directory labeled B will instead create the file with label C. An example of this would be the dhcp client running with the dhclient_t type and creating a file in the directory /etc. This file would normally receive the etc_t type due to parental inheritance but instead the file is labeled with the net_conf_t type because the SELinux policy specifies this. * Users can change the file context on a file using tools such as chcon, or restorecon. This file could have been mislabeled either by user error, or if an normally confined application was run under the wrong domain. However, this might also indicate a bug in SELinux because the file should not have been labeled with this type. If you believe this is a bug, please file a bug report against this package. Allowing Access: You can restore the default system context to this file by executing the restorecon command. restorecon '/etc/httpd/alias/cert8.db', if this file is a directory, you can recursively restore using restorecon -R '/etc/httpd/alias/cert8.db'. Fix Command: /sbin/restorecon '/etc/httpd/alias/cert8.db' Additional Information: Source Context unconfined_u:system_r:certmonger_t:s0 Target Context unconfined_u:object_r:httpd_config_t:s0 Target Objects /etc/httpd/alias/cert8.db [ file ] Source certmonger Source Path /usr/sbin/certmonger Port <Unknown> Host lenovo.home Source RPM Packages certmonger-0.32-0.2010113022gitc2be99c.fc13 Target RPM Packages mod_nss-1.0.8-6.fc13 Policy RPM selinux-policy-3.7.19-74.fc13 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Plugin Name restorecon Host Name lenovo.home Platform Linux lenovo.home 2.6.34.7-63.fc13.i686 #1 SMP Fri Dec 3 12:35:44 UTC 2010 i686 i686 Alert Count 8 First Seen Fri 10 Dec 2010 01:12:30 PM EST Last Seen Fri 10 Dec 2010 01:12:45 PM EST Local ID 45b9aeb9-e4ec-415f-858e-eabeac620763 Line Numbers Raw Audit Messages node=lenovo.home type=AVC msg=audit(1292004765.241:64575): avc: denied { getattr } for pid=14132 comm="certmonger" path="/etc/httpd/alias/cert8.db" dev=dm-0 ino=263087 scontext=unconfined_u:system_r:certmonger_t:s0 tcontext=unconfined_u:object_r:httpd_config_t:s0 tclass=file node=lenovo.home type=SYSCALL msg=audit(1292004765.241:64575): arch=40000003 syscall=195 success=no exit=-13 a0=9966648 a1=bfdf205c a2=297ff4 a3=3 items=0 ppid=14128 pid=14132 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="certmonger" exe="/usr/sbin/certmonger" subj=unconfined_u:system_r:certmonger_t:s0 key=(null)
The issue is found during IPA installation.
*** This bug has been marked as a duplicate of bug 662143 ***