Gnome Network settings do not change hosts-file correctly

Bug #336261 reported by Jersey
4
Affects Status Importance Assigned to Milestone
gnome-system-tools (Ubuntu)
New
Undecided
Unassigned

Bug Description

Found this bug in 8.04 Rev.2

Assumption:
Fresh installed system, computers name in network is "mycomputer"

Reproduced by:
1. Change the (still empty) domain in Network settings (Use the GUI in Gnome) to a name, e.g. "mydomain"
2. Restart (normally not needed, just to be sure)
3. Change again the domain, but the new domain must be empty (as it was after a fresh installation of Ubuntu)
4. Open a terminal and type "sudo" You will get the Errormessage "sudo: unable to resolve host mycomputer"

R E A S O N:
During changing the domain name to an empty entry, /etc/hosts and /etc/hostname contain different version of your own computers name: /etc/hosts contains "mycomputer, but /etc/hostnames contains
mycomputer.mydomain .
But is should be only "mycomputer"
You can fix this by hand, but for users, which are not so familiar with GNU/Linux, it could cause problems.

Similar Bugs: bug 48216 bug 239089 bug 229256

Jersey (wolfi-m)
description: updated
description: updated
description: updated
description: updated
Revision history for this message
António Lima (amrlima) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. As you said this particular bug has already been reported and is a duplicate of bug 48216, so it is being marked as such.

Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.