From 139d60d74706d2ba9855db5faefee322b23b0ba5 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Tue, 13 Oct 2020 15:57:06 -0400 Subject: [PATCH] Don't restart certmonger after stopping tracking in uninstall certmonger was later restarted to remove the custom CA entries and the startup delay sometimes caused uninstallation to fail. certmonger is stopped in cainstance.py::uninstall() so it will still be stopped post-install. https://pagure.io/freeipa/issue/8533 Reviewed-By: Fraser Tweedale Reviewed-By: Alexander Bokovoy --- ipaserver/install/ca.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipaserver/install/ca.py b/ipaserver/install/ca.py index 8fb5e3ec9..53249b498 100644 --- a/ipaserver/install/ca.py +++ b/ipaserver/install/ca.py @@ -425,7 +425,7 @@ def install_step_1(standalone, replica_config, options, custodia): def uninstall(): ca_instance = cainstance.CAInstance(api.env.realm) - ca_instance.stop_tracking_certificates() + ca_instance.stop_tracking_certificates(stop_certmonger=False) ipautil.remove_file(paths.RA_AGENT_PEM) ipautil.remove_file(paths.RA_AGENT_KEY) if ca_instance.is_configured():