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?
I think it would be a good idea to add it when it becomes available in
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
[ snip ]
Server host name [foo.testrelm]:
Warning: skipping DNS resolution of host foo.testrelm
Warning: hostname foo.testrelm does not match system hostname
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@doberman freeipa]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4
::1 localhost localhost.localdomain localhost6
192.168.186.9 doberman.greyoak.com doberman
192.168.186.9 foo.testrelm foo
/etc/hosts contained the doberman entry previously.
Freeipa-devel mailing list