upgrade to karmic trashed /etc/hosts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I just upgraded today to karmic by running 'update-manager -d'. After the upgrade and reboot finished, my /etc/hosts file was trashed.
Before the upgrade (yay backups) it said:
---------
127.0.0.1 localhost
127.0.1.1 ged.localnet ged
# 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
---------
After the upgrade, it said:
---------
# Do not remove the following line, or various programs# that require network functionality will fail.127.0.0.1 localhost.
---------
To be clear:
1) This file contains no newlines (even at the end of the file). It is one long mangled comment line.
2) All the usual IPv6 and localnet boilerplate has disappeared. (Maybe that's intentional? I'm not really sure what it's needed for anyway.)
WTF?
affects: | ubuntu → update-manager (Ubuntu) |
tags: | added: karmic update |
Also, note that this was not the only hostname-related weirdness I had created by the karmic upgrade: see also #432888, in case they are related.