Change the wording of the error message "The IPA Server hostname cannot
resolve to localhost" to "The IPA Server hostname must not resolve to
localhost".
https://fedorahosted.org/freeipa/ticket/1009
--
Jan Cholasta
>From 69084689247691fb9d7a89ea636e0273d3185e22 Mon Sep 17 00:00:00 2001
From: Jan Cholasta <[email protected]>
Date: Mon, 28 Mar 2011 15:35:36 +0200
Subject: [PATCH] Fix wording of error message.
ticket 1009
---
ipaserver/install/installutils.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/ipaserver/install/installutils.py b/ipaserver/install/installutils.py
index 61d53a2..3868c4d 100644
--- a/ipaserver/install/installutils.py
+++ b/ipaserver/install/installutils.py
@@ -115,7 +115,7 @@ def verify_fqdn(host_name,no_host_dns=False):
for a in hostaddr:
if a[4][0] == '127.0.0.1' or a[4][0] == '::1':
- 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]))
+ raise RuntimeError("The IPA Server hostname must not 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:
resaddr = a[4][0]
revname = socket.gethostbyaddr(a[4][0])[0]
--
1.7.4
_______________________________________________
Freeipa-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/freeipa-devel