483b06
From 632a1d97c2110cf8ccb4311fac51b98b03b7e26b Mon Sep 17 00:00:00 2001
483b06
From: Florence Blanc-Renaud <flo@redhat.com>
483b06
Date: Mon, 15 May 2017 16:36:44 +0200
483b06
Subject: [PATCH] ipa-server-install: fix uninstall
483b06
483b06
ipa-server-install --uninstall fails to stop tracking the certificates
483b06
because it assigns a tuple to the variable nicknames, then tries to
483b06
call nicknames.append(). This is a regression introduced by 21f4cbf8.
483b06
483b06
Assignment should be done using nicknames = list(self.tracking_reqs) instead.
483b06
483b06
https://pagure.io/freeipa/issue/6950
483b06
483b06
Reviewed-By: Jan Cholasta <jcholast@redhat.com>
483b06
---
483b06
 ipaserver/install/dogtaginstance.py | 2 +-
483b06
 1 file changed, 1 insertion(+), 1 deletion(-)
483b06
483b06
diff --git a/ipaserver/install/dogtaginstance.py b/ipaserver/install/dogtaginstance.py
483b06
index 3ba13815055612c5fff44831c8f874e6175d94cd..4c6e1f70672f1553696d53bcd0cf8064c411441d 100644
483b06
--- a/ipaserver/install/dogtaginstance.py
483b06
+++ b/ipaserver/install/dogtaginstance.py
483b06
@@ -331,7 +331,7 @@ class DogtagInstance(service.Service):
483b06
         services.knownservices.messagebus.start()
483b06
         cmonger.start()
483b06
 
483b06
-        nicknames = self.tracking_reqs
483b06
+        nicknames = list(self.tracking_reqs)
483b06
         if self.server_cert_name is not None:
483b06
             nicknames.append(self.server_cert_name)
483b06
 
483b06
-- 
483b06
2.9.4
483b06