[Freeipa-devel] [PATCH] 45 Check that install hostname matches the server hostname

Martin Kosek mkosek at redhat.com
Mon Sep 26 08:59:30 UTC 2011


On Mon, 2011-09-12 at 09:50 +0200, Jan Cholasta wrote:
> On 7.9.2011 15:13, Rob Crittenden wrote:
> > Jan Cholasta wrote:
> >> On 6.9.2011 19:49, Rob Crittenden wrote:
> >>> Jan Cholasta wrote:
> >>>> https://fedorahosted.org/freeipa/ticket/1717
> >>>>
> >>>> Honza
> >>>
> >>> nack, what if there are multiple interfaces and you want IPA to use one
> >>> (that doesn't happen to be the system hostname one)?
> >>>
> >>> rob
> >>
> >> Then the user configures the system hostname to match the hostname of
> >> the interface. Or should we configure it automatically from the install?
> >>
> >> Honza
> >>
> >
> > We can't dictate which interface matches the hostname. At most we can
> > warn about this, but not fail to install.
> >
> > rob
> 
> Changed to print a warning message instead of raising an error.
> 
> Honza
> 

With this patch, ipa-replica-prepare always reports the warning:

# ipa-replica-prepare vm-050.idm.lab.bos.redhat.com
Warning: The host name 'vm-050.idm.lab.bos.redhat.com' does not match the system host name 'vm-134.idm.lab.bos.redhat.com'.
         Some services may not work properly.
Directory Manager (existing master) password: 

Reopening 1717.

Martin




More information about the Freeipa-devel mailing list