Files
freeipa/ipaserver
Florence Blanc-Renaud 930453b65e Improve PKI subsystem detection
The dogtaginstance.is_installed() method currently relies on
the presence of the directory /var/lib/pki/pki-tomcat/{ca|kra},
even if it is empty.
An unwanted consequence is ipa-server-upgrade wrongly assuming the KRA
is installed and crashing when trying to upgrade a not-installed
component.

The fix relies on the command "pki-server subsystem-show {ca|kra}" to
detect if a subsystem is installed. The command does not require PKI
to be running (hence can be called anytime) and is delivered by
the pki-server package which is already required by ipa server pkg.

Fixes: https://pagure.io/freeipa/issue/8596
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
2020-12-09 09:54:58 +01:00
..
2020-12-09 09:54:58 +01:00
2010-12-20 17:19:53 -05:00
2020-10-26 17:11:19 +11:00
2019-03-28 17:57:58 +01:00
2020-06-23 10:16:29 +02:00
2020-04-28 11:28:29 +02:00
2016-10-20 18:43:37 +02:00
2020-09-23 14:49:15 +02:00