ipa-server-install: fix uninstall

ipa-server-install --uninstall fails to stop tracking the certificates
because it assigns a tuple to the variable nicknames, then tries to
call nicknames.append(). This is a regression introduced by 21f4cbf8.

Assignment should be done using nicknames = list(self.tracking_reqs) instead.

https://pagure.io/freeipa/issue/6950

Reviewed-By: Jan Cholasta <jcholast@redhat.com>
This commit is contained in:
Florence Blanc-Renaud 2017-05-15 16:36:44 +02:00 committed by Jan Cholasta
parent bea7236b9c
commit d9ed2573fd

View File

@ -319,7 +319,7 @@ class DogtagInstance(service.Service):
services.knownservices.messagebus.start()
cmonger.start()
nicknames = self.tracking_reqs
nicknames = list(self.tracking_reqs)
if self.server_cert_name is not None:
nicknames.append(self.server_cert_name)