Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1304618
Description of problem: Decommissioning a system as the IPA Server(IdM) using `ipa-server-install --uninstall` and/or `ipa-server-install --uninstall -U` leaves residual IPA/IdM related files on system; e.g. during the installation, I presume the httpd.service file is copied into /etc/systemd/system/httpd.service and modified to suit the needs of the IPA server instance. This is evident in bug 1044994. Version-Release number of selected component (if applicable): ipa-server-4.2.0-15.el7_2.3.x86_64 How reproducible: Assuming user executes uninstall script as referenced in first line the `/etc/systemd/system/httpd.service` file is left in place with residual, irrelevant environment variables/links, rendering the Apache web server unable to start. ~~~ # cat /etc/systemd/system/httpd.service .include /usr/lib/systemd/system/httpd.service [Service] Environment=KRB5CCNAME=/var/run/httpd/ipa/krbcache/krb5ccache Environment=KDCPROXY_CONFIG=/etc/ipa/kdcproxy/kdcproxy.conf ExecStartPre=/usr/libexec/ipa/ipa-httpd-kdcproxy ExecStopPost=-/usr/bin/kdestroy -A ~~~ Actual results: ~~~ Feb 04 01:33:24 fedpadssd.opensourceinfo.ba systemd[1]: Starting The Apache HTTP Server... Feb 04 01:33:26 fedpadssd.opensourceinfo.ba ipa-httpd-kdcproxy[14110]: ipa : WARNING Unable to connect to dirsrv: Timeout exceeded Feb 04 01:33:26 fedpadssd.opensourceinfo.ba ipa-httpd-kdcproxy[14110]: ipa : WARNING Disabling KDC proxy Feb 04 01:33:26 fedpadssd.opensourceinfo.ba systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE Feb 04 01:33:26 fedpadssd.opensourceinfo.ba kill[14119]: kill: cannot find process "" Feb 04 01:33:26 fedpadssd.opensourceinfo.ba systemd[1]: httpd.service: control process exited, code=exited status=1 Feb 04 01:33:26 fedpadssd.opensourceinfo.ba systemd[1]: Failed to start The Apache HTTP Server. Feb 04 01:33:26 fedpadssd.opensourceinfo.ba systemd[1]: Unit httpd.service entered failed state. Feb 04 01:33:26 fedpadssd.opensourceinfo.ba systemd[1]: httpd.service failed. ~~~
master:
Metadata Update from @pvoborni: - Issue assigned to mbasti - Issue set to the milestone: FreeIPA 4.4
Login to comment on this ticket.