[CentOS] fqdn hostname fails after reboot

Wed Feb 8 22:03:00 UTC 2012
m.roth at 5-cent.us <m.roth at 5-cent.us>

Chris wrote:
> 2012/2/8 Tony Schreiner <anthony.schreiner at bc.edu>:
>> On Feb 8, 2012, at 4:22 PM, Chris wrote:
>>>
>>> I have several machines running CentOS 6.2 and a strange problem with
>>> the hostname of one machine... After every reboot it loses the fqdn
>>> hostname.
<snip>
>>> Everything is okay ...
>>>
>>> Something I've never experienced before. Does anyone have an idea?
<snip>
> I have 5 systems with the same DNS configuration. (name servers in
> /etc/resolv.conf)
>
> It seems that /etc/hosts is ignored.. on this system only. But I do
> not know why :(

AH! A light may be dawning. What's the hosts line  in /etc/nsswitch.conf?

         mark