Comment 5 for bug 729091

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

It seems to me like you should also have an entry 127.0.1.1 added from the installer with your hostname, similar to the one for 192.168.2.180. AFAIK there is nothing in specs saying that the hostname needs to be set to an IP the machine has (which has led us to disable NM touching /etc/hosts at all in natty).

It's obviously not quite the same if NM doesn't touch /etc/hosts at all, but this my /etc/hosts, for an example:

127.0.0.1 localhost
127.0.1.1 selene

# 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

Perhaps we should consider backporting the entire "don't touch /etc/hosts at all" changes from upstream to Maverick, but from what I understand of your setup, that is still likely to break things. Could you please try if setting your /etc/hosts to be similar to the above (fqdn and short name on 127.0.1.1) works properly?