summaryrefslogtreecommitdiffstats
path: root/ipa-server/ipaserver
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2008-05-08 17:13:15 -0400
committerRob Crittenden <rcritten@redhat.com>2008-05-09 14:04:04 -0400
commitae641ed31b45a19def11273b13d41658ed0580ce (patch)
tree3fc48b1d2217cf6e7b513bf79390be2ccd38d987 /ipa-server/ipaserver
parent9fe649b804fda3e5d49674f8597b8321df03cdbb (diff)
downloadfreeipa-ae641ed31b45a19def11273b13d41658ed0580ce.tar.gz
freeipa-ae641ed31b45a19def11273b13d41658ed0580ce.tar.xz
freeipa-ae641ed31b45a19def11273b13d41658ed0580ce.zip
Include information on where to look if a hostname resolves to localhost.
442812
Diffstat (limited to 'ipa-server/ipaserver')
-rw-r--r--ipa-server/ipaserver/installutils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipa-server/ipaserver/installutils.py b/ipa-server/ipaserver/installutils.py
index 37ee5d6ab..5eca59714 100644
--- a/ipa-server/ipaserver/installutils.py
+++ b/ipa-server/ipaserver/installutils.py
@@ -58,7 +58,7 @@ def verify_fqdn(host_name):
for a in hostaddr:
if a[4][0] == '127.0.0.1' or a[4][0] == '::1':
- raise RuntimeError("The IPA Server hostanme cannot resolve to localhost (%s), a routable IP address must be used." % a[4][0])
+ raise RuntimeError("The IPA Server hostname cannot resolve to localhost (%s). A routable IP address must be used. Check /etc/hosts to see if %s is an alias for %s" % (a[4][0], host_name, a[4][0]))
try:
revname = socket.gethostbyaddr(a[4][0])[0]
except: