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:03:29 -0400
commit8b99efbe3c8f050402f98cb9305a2d749ddc9ed8 (patch)
tree48f12225fe9bcb7bd86602698c59e721f295307c /ipa-server/ipaserver
parent6b3bb4337fa06f25afeca9c1560546e6c651de2b (diff)
downloadfreeipa-8b99efbe3c8f050402f98cb9305a2d749ddc9ed8.tar.gz
freeipa-8b99efbe3c8f050402f98cb9305a2d749ddc9ed8.tar.xz
freeipa-8b99efbe3c8f050402f98cb9305a2d749ddc9ed8.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 37ee5d6a..5eca5971 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: