[Freeipa-devel] [PATCH] 888 always verify hostname
Rob Crittenden
rcritten at redhat.com
Fri Oct 7 02:59:00 UTC 2011
When installing with DNS we skip a few hostname checks on the assumption
that the DNS we are installing will cover things. We still need to
verify /etc/hosts and we do this with gethostbyname_ex() which returns
the primary name and all other names of the host. If the primary name
doesn't match (e.g. the shortname is defined first in /etc/hosts) or it
isn't resolvable at all then we error out.
This also prevents a chicken-and-egg error as several services need to
start before DNS is available so the hostname must be defined.
rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-rcrit-888-hostname.patch
Type: text/x-patch
Size: 1537 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20111006/ee78d252/attachment.bin>
More information about the Freeipa-devel
mailing list