Description of problem: systemd aborts and freezes execution during installation or uninstallation of IPA. The error occurs during ipa-client-install enrolment of the IdM master. After the abort, the system becomes unusable, e.g. systemctl status fails with "Failed to read server status: Connection timed out", reboot fails with "Failed to open /dev/initctl: No such device or address". Version-Release number of selected component (if applicable): ipa-server-4.5.0-7.el7.x86_64 systemd-219-37.el7.x86_64 How reproducible: always Steps to Reproduce: 1. run ipa-server-install 2. 3. Actual results: journald -------- Assertion 'a >= 0 && a < _JOB_TYPE_MAX_MERGING' failed at src/core/job.c:346, function job_type_lookup_merge(). Aborting. Caught <ABRT>, dumped core as pid 13623. Freezing execution. ipa-server-install ------------------ $ ipa-server-install ... Skipping synchronizing time with NTP server. New SSSD config will be created Configured sudoers in /etc/nsswitch.conf Configured /etc/sssd/sssd.conf trying https://vm-058-114.ipa.example/ipa/json Forwarding 'schema' to json server 'https://vm-058-114.ipa.example/ipa/json' trying https://vm-058-114.ipa.example/ipa/session/json Forwarding 'ping' to json server 'https://vm-058-114.ipa.example/ipa/session/json' Forwarding 'ca_is_enabled' to json server 'https://vm-058-114.ipa.example/ipa/session/json' Systemwide CA database updated. Adding SSH public key from /etc/ssh/ssh_host_rsa_key.pub Adding SSH public key from /etc/ssh/ssh_host_ecdsa_key.pub Adding SSH public key from /etc/ssh/ssh_host_ed25519_key.pub Forwarding 'host_mod' to json server 'https://vm-058-114.ipa.example/ipa/session/json' Could not update DNS SSHFP records. SSSD enabled Configured /etc/openldap/ldap.conf Configured /etc/ssh/ssh_config Configured /etc/ssh/sshd_config Broadcast message from systemd-journald.example (Thu 2017-04-20 10:55:13 CEST): systemd[1]: Caught <ABRT>, dumped core as pid 50394. Broadcast message from systemd-journald.example (Thu 2017-04-20 10:55:13 CEST): systemd[1]: Freezing execution. Message from syslogd@localhost at Apr 20 10:55:13 ... systemd:Caught <ABRT>, dumped core as pid 50394. Message from syslogd@localhost at Apr 20 10:55:13 ... systemd:Freezing execution. sshd failed to restart: Command '/bin/systemctl restart sshd.service' returned non-zero exit status 1 Configuring dom-058-114.ipa.example as NIS domain. Command '/bin/systemctl restart rhel-domainname.service' returned non-zero exit status 1 The ipa-client-install command failed. See /var/log/ipaclient-install.log for more information ipa.ipapython.install.cli.install_tool(CompatServerMasterInstall): ERROR Configuration of client side components failed! ipa.ipapython.install.cli.install_tool(CompatServerMasterInstall): ERROR The ipa-server-install command failed. See /var/log/ipaserver-install.log for more information ipa-server-install --uninstall ------------------------------ Removing Kerberos service principals from /etc/krb5.keytab Disabling client Kerberos and LDAP configurations Redundant SSSD configuration file /etc/sssd/sssd.conf was moved to /etc/sssd/sssd.conf.deleted Restoring client configuration files Unconfiguring the NIS domain. nscd daemon is not installed, skip configuration nslcd daemon is not installed, skip configuration Broadcast message from systemd-journald.example (Thu 2017-04-20 11:27:57 CEST): systemd[1]: Caught <ABRT>, dumped core as pid 13623. Broadcast message from systemd-journald.example (Thu 2017-04-20 11:27:57 CEST): systemd[1]: Freezing execution. Message from syslogd@localhost at Apr 20 11:27:57 ... systemd:Caught <ABRT>, dumped core as pid 13623. Message from syslogd@localhost at Apr 20 11:27:57 ... systemd:Freezing execution. Command '/bin/systemctl restart sshd.service' returned non-zero exit status 1 The ipa-client-install command was successful Expected results: Installation of IdM works. Additional info:
So far I was able to reproduce the abort four times, three times during ipa-server-install on two different machines plus another time during the one time I uninstalled IPA.
*** Bug 1443290 has been marked as a duplicate of this bug. ***