#3784 ipa-server-install --uninstall should properly cleanup after unsuccessful pki install
Closed: Duplicate None Opened 10 years ago by tbabej.

Often, when pkispawn fails during the installation of IPA server, ipa-server-install --uninstall is not able to remove the remaining bits, and subsequent installation of the server fails.

This usually is sufficient for cleanup:

sudo pkidestroy -s CA -i pki-tomcat
sudo rm -rf /var/log/pki/pki-tomcat
sudo rm -rf /etc/sysconfig/pki-tomcat
sudo rm -rf /etc/sysconfig/pki/tomcat/pki-tomcat
sudo rm -rf /var/lib/pki/pki-tomcat
sudo rm -rf /etc/pki/pki-tomcat

We should include this in the uninstall script.


Closing as duplicate to #2796.

IMHO if pkidestroy isn't enough then a ticket should be created against dogtag.

We should NOT automatically run pkidestroy on uninstall. Instead the sysupdate file should be updated at the beginning, rather than the end, of the CA installation. This may be done via the enable option in services.py.

Metadata Update from @tbabej:
- Issue assigned to someone
- Issue set to the milestone: FreeIPA 4.0 - 2013/09

7 years ago

Login to comment on this ticket.

Metadata