[Freeipa-devel] [PATCH] 147 Hostname used by IPA must be a system hostname

Rob Crittenden rcritten at redhat.com
Thu Oct 13 03:38:43 UTC 2011


Martin Kosek wrote:
> This patch depends on my patch 140 (attached just to be sure).
>
> Do I understand it correctly that new proposed bind-dyndb-ldap option
> ldap_hostname won't be needed?
>
> Martin

I think it would be a good idea to add it when it becomes available in 
bind-dyndb-ldap.

NACK on the patch though.

Two problems so far:

1. If an installation error occurs after the hostname has been changed 
it isn't reverted and the uninstaller needs to be run. This should 
rollback like the client.

2. It isn't actually working:

# ipa-server-install -a password -p password --setup-dns --hostname 
foo.testrelm

[ snip ]

Server host name [foo.testrelm]:

Warning: skipping DNS resolution of host foo.testrelm

Warning: hostname foo.testrelm does not match system hostname 
doberman.greyoak.com.
System hostname will be updated during the installation process
to prevent service failures.

The domain name has been calculated based on the host name.

Please confirm the domain name [testrelm]:

Unable to resolve IP address for host name
Please provide the IP address to be used for this host name: 192.168.186.9
Adding [192.168.186.9 foo.testrelm] to your /etc/hosts file
The host name foo.testrelm does not match the reverse lookup 
doberman.greyoak.com for 192.168.186.9
Please check your DNS or /etc/hosts file and restart the installation.

[root at doberman freeipa]# cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 
localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 
localhost6.localdomain6
192.168.186.9   doberman.greyoak.com doberman
192.168.186.9   foo.testrelm foo

/etc/hosts contained the doberman entry previously.

rob




More information about the Freeipa-devel mailing list