URL: https://github.com/freeipa/freeipa/pull/229 Author: flo-renaud Title: #229: Remove the renewal lock file upon uninstall Action: opened
PR body: """ Make sure that the file /var/run/ipa/renewal.lock is deleted upon uninstallation, in order to avoid subsequent installation issues. Part of the refactoring effort, certificates sub-effort. https://fedorahosted.org/freeipa/ticket/6433 """ To pull the PR as Git branch: git remote add ghfreeipa https://github.com/freeipa/freeipa git fetch ghfreeipa pull/229/head:pr229 git checkout pr229
From fafddd88dfd3ffd908293c7bdba57f81d4a52db1 Mon Sep 17 00:00:00 2001 From: Florence Blanc-Renaud <f...@redhat.com> Date: Thu, 10 Nov 2016 13:14:34 +0100 Subject: [PATCH] Remove the renewal lock file upon uninstall Make sure that the file /var/run/ipa/renewal.lock is deleted upon uninstallation, in order to avoid subsequent installation issues. Part of the refactoring effort, certificates sub-effort. https://fedorahosted.org/freeipa/ticket/6433 --- client/ipa-client-install | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/ipa-client-install b/client/ipa-client-install index c228ea3..f0546bc 100755 --- a/client/ipa-client-install +++ b/client/ipa-client-install @@ -821,6 +821,9 @@ def uninstall(options, env): # Remove the CA cert remove_file(CACERT) + # Remove the cert renewal lock file + remove_file(paths.IPA_RENEWAL_LOCK) + root_logger.info("Client uninstall complete.") # The next block of code prompts for reboot, therefore all uninstall
-- Manage your subscription for the Freeipa-devel mailing list: https://www.redhat.com/mailman/listinfo/freeipa-devel Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code