Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
AVC seen during IPA install for ca instance creation which are causing failures.
[46/47]: tuning directory server
[47/47]: configuring directory to start on boot
Done configuring directory server (dirsrv).
Configuring certificate server (pki-tomcatd). Estimated time: 3 minutes
[1/30]: creating certificate server user
[2/30]: configuring certificate server instance
ipa.ipaserver.install.cainstance.CAInstance: CRITICAL Failed to configure CA instance: Command '/usr/sbin/pkispawn -s CA -f /tmp/tmpK3ywgV' returned non-zero exit status 1
ipa.ipaserver.install.cainstance.CAInstance: CRITICAL See the installation logs and the following files/directories for more information:
ipa.ipaserver.install.cainstance.CAInstance: CRITICAL /var/log/pki/pki-tomcat
[error] RuntimeError: CA configuration failed.
ipa.ipapython.install.cli.install_tool(CompatServerMasterInstall): ERROR CA configuration failed.
ipa.ipapython.install.cli.install_tool(CompatServerMasterInstall): ERROR The ipa-server-install command failed. See /var/log/ipaserver-install.log for more information
[root@dhcp207-220 ~]# cat /var/log/audit/audit.log |audit2allow
#============= tomcat_t ==============
allow tomcat_t pki_log_t:dir { getattr search };
allow tomcat_t pki_tomcat_etc_rw_t:file { getattr read };
allow tomcat_t pki_tomcat_etc_rw_t:lnk_file read;
allow tomcat_t pki_tomcat_var_lib_t:dir read;
[root@dhcp207-220 ~]# rpm -q selinux-policy
selinux-policy-3.13.1-137.el7.noarch
[root@dhcp207-220 ~]#
Version-Release number of selected component (if applicable):
[root@dhcp207-220 ~]# rpm -q selinux-policy ipa-server
selinux-policy-3.13.1-137.el7.noarch
ipa-server-4.5.0-4.el7.x86_64
[root@dhcp207-220 ~]#
How reproducible:
Always
Steps to Reproduce:
1. Install IPA server with latest selinux-policy (selinux-policy-3.13.1-137.el7.noarch)
Actual results:
IPA install fails
Expected results:
IPA install should be successful
Additional info:
Description of problem: AVC seen during IPA install for ca instance creation which are causing failures. [46/47]: tuning directory server [47/47]: configuring directory to start on boot Done configuring directory server (dirsrv). Configuring certificate server (pki-tomcatd). Estimated time: 3 minutes [1/30]: creating certificate server user [2/30]: configuring certificate server instance ipa.ipaserver.install.cainstance.CAInstance: CRITICAL Failed to configure CA instance: Command '/usr/sbin/pkispawn -s CA -f /tmp/tmpK3ywgV' returned non-zero exit status 1 ipa.ipaserver.install.cainstance.CAInstance: CRITICAL See the installation logs and the following files/directories for more information: ipa.ipaserver.install.cainstance.CAInstance: CRITICAL /var/log/pki/pki-tomcat [error] RuntimeError: CA configuration failed. ipa.ipapython.install.cli.install_tool(CompatServerMasterInstall): ERROR CA configuration failed. ipa.ipapython.install.cli.install_tool(CompatServerMasterInstall): ERROR The ipa-server-install command failed. See /var/log/ipaserver-install.log for more information [root@dhcp207-220 ~]# cat /var/log/audit/audit.log |audit2allow #============= tomcat_t ============== allow tomcat_t pki_log_t:dir { getattr search }; allow tomcat_t pki_tomcat_etc_rw_t:file { getattr read }; allow tomcat_t pki_tomcat_etc_rw_t:lnk_file read; allow tomcat_t pki_tomcat_var_lib_t:dir read; [root@dhcp207-220 ~]# rpm -q selinux-policy selinux-policy-3.13.1-137.el7.noarch [root@dhcp207-220 ~]# Version-Release number of selected component (if applicable): [root@dhcp207-220 ~]# rpm -q selinux-policy ipa-server selinux-policy-3.13.1-137.el7.noarch ipa-server-4.5.0-4.el7.x86_64 [root@dhcp207-220 ~]# How reproducible: Always Steps to Reproduce: 1. Install IPA server with latest selinux-policy (selinux-policy-3.13.1-137.el7.noarch) Actual results: IPA install fails Expected results: IPA install should be successful Additional info: