Comment 36 for bug 632896

Revision history for this message
In , Brian (brian-redhat-bugs) wrote :

I just applied this patch to a system to fix this problem and it does not appear to be fixed. NetworkManager still does not remove the host entry when the network changes.

Specifically:

My user has a host named zenith. His own hostname is in his hosts file.

143.232.109.41 zenith.arc.nasa.gov zenith

When he switches to wireless, network manager adds an entry:

198.123.51.105 zenith.arc.nasa.gov zenith # Added by NetworkManager

When he then plugs back into the wired network, NetworkManager fails to remove this address. This makes things break (specifically flexlm), since his hostname now resolves to an incorrect ip.

[root@zenith ~]# uname -r
2.6.34.6-47.fc13.x86_64
[root@zenith ~]# rpm -qa 'NetworkManager*'
NetworkManager-gnome-0.8.1-9.git20100831.fc13.x86_64
NetworkManager-glib-0.8.1-9.git20100831.fc13.x86_64
NetworkManager-0.8.1-9.git20100831.fc13.x86_64