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:05 +0200 |
commit | c518a80ab7faa8cbb399e3ed32c213ad518d997c (patch) | |
tree | 6f3854716e838616b4e8e3f4583d3d3645a47aa4 /ipa-client | |
parent | df5f5c9fab5dd66c50bf202e1ebd19f558e3e0c6 (diff) | |
download | freeipa-c518a80ab7faa8cbb399e3ed32c213ad518d997c.tar.gz freeipa-c518a80ab7faa8cbb399e3ed32c213ad518d997c.tar.xz freeipa-c518a80ab7faa8cbb399e3ed32c213ad518d997c.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
Diffstat (limited to 'ipa-client')
-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 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 |