[network-admin] setting domain name changes localhost alias only for the first time
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-system-tools (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
Bug Description
Binary package hint: gnome-system-tools
Ubuntu Edgy.
If you run System-
Let's suppose we have set host name to "HOST" and domain name is empty.
In tab "Hosts", there are now items:
127.0.0.1 localhost HOST
127.0.1.1 HOST
Now, set domain name to "DOMAIN".
In tab "Hosts", there are now items:
127.0.0.1 localhost HOST.DOMAIN
127.0.1.1 HOST.DOMAIN
Now, set domain name to "NEWDOMAIN".
In tab "Hosts", there are still items:
127.0.0.1 localhost HOST.DOMAIN
127.0.1.1 HOST.DOMAIN
No change has been applied.
Now, clear domain name (set it to empty line).
In tab "Hosts", there are still items:
127.0.0.1 localhost HOST.DOMAIN
127.0.1.1 HOST.DOMAIN
No change has been applied.
As you can see, the localhost aliases are changed only when the domain name is set *for the first time*. This can be causing some difficulties (and it does in my case).
Expected behaviour:
Localhost aliases should update according to the domain name every time.
description: | updated |
Still an issue in Ubuntu 7.04. Though it changes only line 127.0.1.1, not the 127.0.0.1 one.