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?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/729091

Title:
  0.8.1+git.20100810t184654.ab580f4-0ubuntu2.1 breaks my /etc/hosts by
  attaching hostname to localhost

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to