From be7bf98b3b8cb1db9d4baa5548991ac72049ade8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Cami?= Date: Thu, 17 Sep 2020 07:31:59 +0200 Subject: [PATCH] dogtaginstance.py: add --debug to pkispawn MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since commits: https://github.com/dogtagpki/pki/commit/0102d836f4eac0fcea0adddb4c98d5ea05e4e8f6 https://github.com/dogtagpki/pki/commit/de217557a642d799b1c4c390efa55493707c738e pkispawn will not honor the pki_log_level configuration item. All 10.9 Dogtag versions have these commits. This affects FreeIPA in that it makes debugging Dogtag installation issues next to impossible. Adding --debug to the pkispawn CLI is required to revert to the previous behavior. Fixes: https://pagure.io/freeipa/issue/8503 Signed-off-by: François Cami Reviewed-By: Thomas Woerner Reviewed-By: Christian Heimes Reviewed-By: Rob Crittenden --- ipaserver/install/dogtaginstance.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ipaserver/install/dogtaginstance.py b/ipaserver/install/dogtaginstance.py index 60ef72f82..a2190e183 100644 --- a/ipaserver/install/dogtaginstance.py +++ b/ipaserver/install/dogtaginstance.py @@ -190,7 +190,8 @@ class DogtagInstance(service.Service): subsystem = self.subsystem args = [paths.PKISPAWN, "-s", subsystem, - "-f", cfg_file] + "-f", cfg_file, + "--debug"] with open(cfg_file) as f: logger.debug(