[Bug 729091] [NEW] 0.8.1+git.20100810t184654.ab580f4-0ubuntu2.1 breaks my /etc/hosts by attaching hostname to localhost

4 views
Skip to first unread message

Max Bowsher

unread,
Mar 4, 2011, 9:20:34 AM3/4/11
to ubunt...@lists.ubuntu.com
Public bug reported:

Binary package hint: network-manager

0.8.1+git.20100810t184654.ab580f4-0ubuntu2.1 breaks my /etc/hosts by
attaching my local host's hostname to localhost

It is my understanding that a machine's local host name should NOT be
associated with the 127.0.0.1 or ::1 IP addresses, but rather some other
address that the machine holds. The 127.0.0.1 / ::1 IP addresses should
be identified as localhost / localhost6.

The recent maverick-proposed network manager has led to my machine's
/etc/hosts being broken by NM, by introducing the short hostname of the
machine as the first entry against 127.0.0.1 and ::1 -

127.0.0.1 altimeter localhost.localdomain localhost
::1 altimeter localhost6.localdomain6 localhost6 ip6-localhost ip6-loopback
192.168.2.180 altimeter.mxtelecom.com altimeter


Technical correctness aside, this caused my previously functioning Exim installation to start rejecting mail, because its determination of the machine's primary_hostname switched from "altimeter.mxtelecom.com" to "altimeter".

** Affects: network-manager (Ubuntu)
Importance: Undecided
Status: New


** Tags: regression-proposed

--
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
ubunt...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply all
Reply to author
Forward
0 new messages