summaryrefslogtreecommitdiffstats
path: root/makeapi
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2013-12-10 13:00:16 +0100
committerPetr Viktorin <pviktori@redhat.com>2014-01-23 09:53:52 +0100
commitb4401a17706176ed7a82d82ad559f30c78a37ab2 (patch)
treebda08a0c2129b648bb2aecb15c33b97170bec0d0 /makeapi
parent6bdc75ea24d0798c6779130451e47e569900ff4e (diff)
downloadfreeipa-b4401a17706176ed7a82d82ad559f30c78a37ab2.tar.gz
freeipa-b4401a17706176ed7a82d82ad559f30c78a37ab2.tar.xz
freeipa-b4401a17706176ed7a82d82ad559f30c78a37ab2.zip
ipa-replica-install: Move check for existing host before DNS resolution check
The checks for existing host and existing replication agreement set a flag that caused an exit() if any of them failed. Between these checks there was an unrelated check, DNS resolution. If the host and DNS checks both failed, this made it look like the DNS check was the cause of failed install. Especially if the user ignored the DNS check in unattended mode, the output was confusing. Remove the flag and fail directly. Do the replication agreement check first; fixing this with ipa-replica-manage del will also remove the host entry. Also, use the logger for error messages so they appear in the log file as well as on the console. https://fedorahosted.org/freeipa/ticket/3889
Diffstat (limited to 'makeapi')
0 files changed, 0 insertions, 0 deletions