Description of problem: SELinux prevents certmonger from accessing /etc/pki/pki-tomcat/alias, which results in IPA install failure (see the linked FreeIPA ticket). Version-Release number of selected component (if applicable): selinux-policy-3.12.1-135.fc20.noarch How reproducible: Always Steps to Reproduce: 1. Run ipa-server-install with SELinux in enforcing mode Actual results: The command fails, the following AVC audit message is emitted: type=AVC msg=audit(1395004717.905:148): avc: denied { read } for pid=22956 comm="certmonger" name="alias" dev="dm-0" ino=5567 scontext=system_u:system_r:certmonger_t:s0 tcontext=system_u:object_r:pki_tomcat_cert_t:s0 tclass=dir Expected results: The command succeeds. Additional info:
Just note that this new policy to be added as expected, you can see certmonger owner's reasoning in: https://fedorahosted.org/freeipa/ticket/4250#comment:6
commit f65860b624a044507109171623f3f393637f462b fixes this in git.
selinux-policy-3.12.1-152.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-152.fc20
Package selinux-policy-3.12.1-152.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.12.1-152.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-4933/selinux-policy-3.12.1-152.fc20 then log in and leave karma (feedback).
Package selinux-policy-3.12.1-153.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.12.1-153.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-4933/selinux-policy-3.12.1-153.fc20 then log in and leave karma (feedback).
selinux-policy-3.12.1-153.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
I just hit this problem again with selinux-policy-3.12.1-158.fc20.noarch: type=AVC msg=audit(1402038117.621:4171): avc: denied { read } for pid=17731 comm="certmonger" name="alias" dev="dm-0" ino=4259 scontext=system_u:system_r:certmonger_t:s0 tcontext=system_u:object_r:pki_tomcat_cert_t:s0 tclass=dir Reopening.
d89dda740ba2f14e5391bb85680343a93d7ee38d and c3462926dc02d73cbc932dced8197d75cc79e26b Fix this in git.
selinux-policy-3.12.1-167.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-167.fc20
Package selinux-policy-3.12.1-167.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.12.1-167.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-7240/selinux-policy-3.12.1-167.fc20 then log in and leave karma (feedback).
selinux-policy-3.12.1-171.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-171.fc20
selinux-policy-3.12.1-171.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.