summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorMartin Kosek <mkosek@redhat.com>2011-10-07 14:23:20 +0200
committerRob Crittenden <rcritten@redhat.com>2011-10-13 00:54:37 -0400
commit9bff6cb8a955c3f4b167e05856b40f6e2ee5dca8 (patch)
treef09336f8e074eaae81015fffca5cf56b55ce11e5 /install
parent93ddfd008af6cd720c6f8c6902e8d24b06d59e72 (diff)
downloadfreeipa-9bff6cb8a955c3f4b167e05856b40f6e2ee5dca8.tar.gz
freeipa-9bff6cb8a955c3f4b167e05856b40f6e2ee5dca8.tar.xz
freeipa-9bff6cb8a955c3f4b167e05856b40f6e2ee5dca8.zip
Check hostname resolution sanity
Always check (even with --setup-dns or --no-host-dns) that if the host name or ip address resolves, it resolves to sane value. Otherwise report an error. Misconfigured /etc/hosts causing these errors could harm the installation later. https://fedorahosted.org/freeipa/ticket/1923
Diffstat (limited to 'install')
-rwxr-xr-xinstall/tools/ipa-replica-prepare2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/tools/ipa-replica-prepare b/install/tools/ipa-replica-prepare
index 924fd9b5f..031c7b984 100755
--- a/install/tools/ipa-replica-prepare
+++ b/install/tools/ipa-replica-prepare
@@ -267,7 +267,7 @@ def main():
sys.exit("\nUnable to connect to LDAP server %s" % api.env.host)
try:
- installutils.verify_fqdn(replica_fqdn, system_name_check=False)
+ installutils.verify_fqdn(replica_fqdn, local_hostname=False)
except BadHostError, e:
msg = str(e)
if isinstance(e, HostLookupError):