Comment 0 for bug 72341

Revision history for this message
Kamil Páral (kamil.paral) wrote :

Binary package hint: gnome-system-tools

Ubuntu Edgy.

If you run System->Administration->Networking, tab General, you can set host name and domain name.

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.