Files
freeipa/ipaserver/install
Florence Blanc-Renaud 6c84ae5c30 Detection of PKI subsystem
In order to know if ca/kra is installed locally, the code
is calling pki-server subsystem-show _subsystem_
and ensures that "Enabled: True" is in the output.

If a subsystem fails to start, the command returns
"Enabled: False" but it doesn't mean that the subsystem
is not installed, it just means that it is not active
right now.
Same output if the subsystem has been disabled with
pki-server subsystem-disable _subsystem_.

The correct way to check if a subsystem is installed is to
ensure that subsystem-show does not exit on error and
contains "Enabled: ", whatever the value.

Related: https://pagure.io/freeipa/issue/9330

Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
2023-06-21 21:08:17 +02:00
..
2023-06-21 20:50:59 +02:00
2022-03-11 13:37:08 -05:00
2019-04-10 13:43:23 +02:00
2023-06-21 21:08:17 +02:00
2021-05-25 10:45:49 +03:00
2022-03-11 13:37:08 -05:00
2022-03-11 13:37:08 -05:00
2022-03-11 13:37:08 -05:00
2020-10-26 17:11:19 +11:00