[Bug 94048] Re: [feisty] Slow gnome application startup due to /etc/hosts misconfiguration

Florian Zeitz florian.zeitz at gmx.de
Fri Mar 23 22:23:15 UTC 2007


I get some "interresting" behaviour, when I do hostname and hostname -f:
hostname:
"myHostName"
hostname -f:
"hostname: Unknown host"

In my /etc/hosts I have:
"127.0.0.1 localhost
127.0.1.1 myHostName.localdomain.xx

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts"

It seems the system is not able to resolve the short hostname myHostName (a ping shows this behaviour too).
Adding myHostName to either the 127.0.0.1 or the 127.0.1.1 line makes it possible to resolve the hostname.

-- 
[feisty] Slow gnome application startup due to /etc/hosts misconfiguration
https://launchpad.net/bugs/94048




More information about the desktop-bugs mailing list