Comment 17 for bug 632896

Revision history for this message
In , Russ (russ-redhat-bugs) wrote :

A quick Google search on this topic reveals this same behaviour in every distro. So the problem is definitely upstream.

It looks like you can permanently set the hostname in the NetworkManager conf file. Then it won't change. But how does that help people who rely solely on DHCP for that? (Here come the gasps from all the sysadmins. . .but it's job security;)

In our case, for example on my laptop, there are two DNS entries for it on the DHCP server. They are tied to the MAC addresses for eth0 and wlan0, and set the hostname according to the interface. So the hostname is either [HOSTNAME] or [HOSTNAME]-wlan0. We need it to be that way. But then NetworkManager causes problems with /etc/hosts.

For now I suppose we must use the hack in comment #1.

After reading all the bug reports it is evident that the described behaviour is utterly detested by just about everybody. So why is it there?