When uninstalling freeipa an error is on occasion thrown, resulting in a non-complete uninstall.
To replicate, you can setup freeipa server. Assuming your server is up and running:
ipa-client-install ipa-replica-install ipa-ca-install
vi /etc/pki/pki-tomcat/ca/CS.cfg remove line ca.crl.MasterCRL.enableCRLCache=true
ipa-server-install --uninstall
Whoops crash...
... File "/usr/lib/python3.6/site-packages/ipaserver/install/cainstance.py", line 1341, in is_crlgen_enabled enableCRLCache = cache.lower() == 'true' ...
This can be fixed by ensuring we check for None before calling .lower().
We most likely assume people will set lines to false, instead they resort to line deletion.
Metadata Update from @dhanina: - Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/8111
master:
Metadata Update from @frenaud: - Custom field rhbz adjusted to https://issues.redhat.com/browse/RHEL-88855
ipa-4-13:
Metadata Update from @rjeffman: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
Metadata Update from @frenaud: - Custom field rhbz adjusted to https://issues.redhat.com/browse/RHEL-88855, https://issues.redhat.com/browse/RHEL-147191 (was: https://issues.redhat.com/browse/RHEL-88855)