As admin , I want install an ipa-server on my machine but it warns and stops wrongly even if hosts file seems OK.
hosts
Firstly is a thing that I think most sysadmins not do like that, but in Fedora 30 seems to be a pattern put aliases in /etc/hosts firstly than the FQDN.
/etc/hosts
[1] /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 10.0.0.1 serveripa serveripa.localdomain
2019-07-23T16:08:23Z DEBUG The ipa-server-install command failed, exception: ScriptError: The host name serveripa.localdomain does not match the primary host name ipaclient01. Please check /etc/hosts or DNS name resolution 2019-07-23T16:08:23Z ERROR The host name serveripa.localdomain does not match the primary host name serveripa. Please check /etc/hosts or DNS name resolution
Install ipa-server without this problem
$ rpm -q freeipa-server freeipa-client freeipa-server-4.8.0-1.fc30.x86_64 freeipa-client-4.8.0-1.fc30.x86_64
PR to resolve this issue was created on: https://github.com/freeipa/freeipa/pull/3434
Hope it helps :-)
Related: https://bugzilla.redhat.com/show_bug.cgi?id=1364139 Resolves: #6210
Login to comment on this ticket.