Upgrade from Kubuntu 7.10 to 8.04 removes hostname from /etc/hosts
Bug #225439 reported by
Glenn Ramsey
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-manager (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
A vary bad consequence of this is that it causes sudo to fail locking the administrator out of the machine.
Prior to the upgrade I had manually edited /etc/hosts, maybe the installer doesn't like that?.
To fix it you have to boot in failsafe mode and manually add the hostname to /etc/hosts.
e.g.
127.0.1.1 myhostname
Changed in update-manager: | |
status: | Incomplete → New |
Changed in update-manager (Ubuntu): | |
status: | Incomplete → New |
Changed in update-manager (Ubuntu): | |
status: | New → Incomplete |
To post a comment you must log in.
This bug was marked as a duplicate, but that appears to be incorrect. This is a report that the upgrade *broke* the /etc/hosts file, which is a bug in itself, separate from sudo's behavior when the hostname is not resolvable.