Henry B. Hotz wrote:
>
> On Oct 7, 2009, at 2:09 PM, Kyle McDonald wrote:
>
>> Will Fiveash wrote:
>>> On Wed, Oct 07, 2009 at 03:29:55PM -0500, Douglas E. Engert wrote:
>>>
>>>> For what it is worth, Kerberos usually want the hostname command to 
>>>> return
>>>> the FQDN, rather then the short name. We always install a new 
>>>> system from
>>>> the start using the FQDN.
>>>>
>>>
>>> It shouldn't matter.  Here inside Sun the norm is for hostname to be 
>>> set
>>> to the short form.
>>>
>> Which is where I picked up the habit. ;)
>
> I've picked up the opposite habit.  I believe other Kerberos distro's 
> may be less forgiving than Sun in that respect.
>
> OTOH, maybe it has to do with other resolver-related configuration.  
> If /etc/nsswitch.conf contains:
>
> hosts:      files dns
>
> and /etc/nodename, /etc/hostname.* and/or /etc/hosts contain the short 
> name, then don't you get the short name back from a reverse DNS 
> lookup?  As they said in Ghostbusters, that would be "bad".
>
> Anyone care to elaborate on the issues?
>
It maybe that Sun has fixed problems in kerberos, I can't comment on that.

But I've had little trouble with setting the kernel's idea of the 
hostname to the shortname.
Then again, unlike you I keep the nsswitch.conf set like this;

hosts: dns files

So for me, /etc/nodename, /etc/hostname.*, and /etc/hosts are only 
consulted at boot, and DNS takes over from there.

  -Kyle

> ------------------------------------------------------
> The opinions expressed in this message are mine,
> not those of Caltech, JPL, NASA, or the US Government.
> Henry.B.Hotz at jpl.nasa.gov, or hbhotz at oxy.edu
>
>
>

Reply via email to