From c518a80ab7faa8cbb399e3ed32c213ad518d997c Mon Sep 17 00:00:00 2001 From: Ana Krivokapic Date: Thu, 24 Oct 2013 17:43:21 +0200 Subject: Do not roll back failed client installation on server In case of a failed enrollment, IPA client rolls back any changes it has made to the system. In order to have a more debuggable setup, do not roll back these changes in the case of an IPA server install. https://fedorahosted.org/freeipa/ticket/3990 --- ipa-client/ipa-install/ipa-client-install | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ipa-client/ipa-install/ipa-client-install') diff --git a/ipa-client/ipa-install/ipa-client-install b/ipa-client/ipa-install/ipa-client-install index cf27788f8..1f66ae5d6 100755 --- a/ipa-client/ipa-install/ipa-client-install +++ b/ipa-client/ipa-install/ipa-client-install @@ -2606,6 +2606,11 @@ def main(): if options.force: root_logger.warning( "Installation failed. Force set so not rolling back changes.") + elif options.on_master: + root_logger.warning( + "Installation failed. As this is IPA server, changes will not " + "be rolled back." + ) else: root_logger.error("Installation failed. Rolling back changes.") options.unattended = True -- cgit