setting the client hostname
zephod at cfl.rr.com
Wed Feb 11 19:11:39 UTC 2009
Can someone point me to where dhclient sets the hostname from what is received fron the dhcpd server? It appears to be some time after dhclient becomes a daemon which causes stdout and stderr to be closed and so I don't know how to debug this any further. Perhaps it is possible to write to the system log somehow?
My problem is that the hostname is set to one of two different values every other time the machine is booted. ie
boot #1 -> hostname A
boot #2 -> hostname B
boot #3 -> hostname A
boot #4 -> hostname B
The hostname is always supposed to be A.
I'm trying to find out whay this is happening.
Running dhcp-4.0.0 on Fedora 9.
More information about the dhcp-users