It may be a bug in wicd or isc-dhcp-client, or both. I'm not sure.
In the default dhclient configuration and the one provided by wicd,
there is "request [...] host-name [...]". I'm not sure what it's
supposed to do, but changing the hostname is certainly a bug. The
dhcp-options(5) man page says:
option host-name string;
This option specifies the name of the client. The name may or may
not be qualified with the local domain name (it is preferable to use
the domain-name option to specify the domain name). See RFC 1035 for
character set restrictions. This option is only honored by dhclient-
script(8) if the hostname for the client machine is not set.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(is option different from request?). /sbin/dhclient-script seems to
do something different:
BOUND|RENEW|REBIND|REBOOT)
if [ -n "$old_host_name" ] && [ -n "$new_host_name" ] &&
[ "$old_host_name" != "$new_host_name" ]; then
# hostname changed => set it
hostname "$new_host_name"
fi
--
Vincent Lefèvre <[email protected]> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]