On 2011-06-09 14:41:45 +0200, Massimo Manghi wrote:
I've run into the same problem recently upgrading to Linux 2.6.38 on my
home's computer. Symptoms are the shell prompt doesn't show the hostname
I had assigned at install time, being the hostname displayed instead
then one passed through dhcp by the router. A similar problem doesn't
occur at work where we run our own dhcp server and names passed by dhcp
match consistently the ones in /etc/hosts
Could a possible explanation for the workaround you found a latency in
the dhcp negotiation at boot time?
Here DHCP *must not* be used to determine the FQDN. It is specified
locally in the /etc/hosts file. This is important, in particular
because one may want to run local services depending on it even when
the external network is not available (the administrator may choose
to use DHCP for the FQDN, but should not be forced to).