renaming computer does not update correctly the files: hosts, hostnames
Bug #48216 reported by
Alvin Thompson
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-system-tools (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
Also 8.04 r2 LTS is affected.
Binary package hint: gnome-network
After a fresh install of Dapper, the '/etc/hosts' file looks like this:
127.0.0.1 localhost
127.0.1.1 computername
...
If I rename the computer to 'newname' using 'System-
127.0.0.1 localhost newname
127.0.1.1 computername
Obviously, it should be:
127.0.0.1 localhost
127.0.1.1 newname
This causes all sorts of nasty problems.
Bugs reporting the same or similar : bug 48216 bug 239089 bug 229256 bug 336261
I can confirm this bug, operates as described.