[Bug 632896] Re: Leaves unreachable entries in /etc/hosts when stopping network

Launchpad Bug Tracker 632896 at bugs.launchpad.net
Tue Oct 19 22:15:40 BST 2010


** Branch linked: lp:ubuntu/network-manager

-- 
Leaves unreachable entries in /etc/hosts when stopping network
https://bugs.launchpad.net/bugs/632896
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is a direct subscriber.

Status in NetworkManager: Fix Released
Status in “network-manager” package in Ubuntu: Fix Released
Status in Fedora: Unknown

Bug description:
Binary package hint: network-manager

NetworkManager modifies /etc/hosts to look like this:

18.111.118.108	balanced-tree	# Added by NetworkManager
127.0.0.1	localhost.localdomain	localhost
::1	balanced-tree	localhost6.localdomain6	localhost6
127.0.1.1	balanced-tree

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

But when stopping the network, it does not undo these modifications.  This leaves the system hostname pointing at a non-routable address, which breaks various applications.





More information about the Ubuntu-sponsors mailing list