diff options
author | Ana Krivokapic <akrivoka@redhat.com> | 2013-10-24 17:43:21 +0200 |
---|---|---|
committer | Petr Viktorin <pviktori@redhat.com> | 2013-10-25 14:00:25 +0200 |
commit | 24073d22e2e829ccba49e698c45e07b69cf25770 (patch) | |
tree | e29ebe73bf9862e5b1713eb4de33f54c7e3ba36a | |
parent | 5dbd11722e365f50b7496b4ab2559122cd927d53 (diff) | |
download | freeipa.git-24073d22e2e829ccba49e698c45e07b69cf25770.tar.gz freeipa.git-24073d22e2e829ccba49e698c45e07b69cf25770.tar.xz freeipa.git-24073d22e2e829ccba49e698c45e07b69cf25770.zip |
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
-rwxr-xr-x | ipa-client/ipa-install/ipa-client-install | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ipa-client/ipa-install/ipa-client-install b/ipa-client/ipa-install/ipa-client-install index 01831663..8e4695b4 100755 --- a/ipa-client/ipa-install/ipa-client-install +++ b/ipa-client/ipa-install/ipa-client-install @@ -2573,6 +2573,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 |