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