[pkg-dhcp-devel] Bug#632716: WICD + dhclient → hostname changed

David Paleino dapal at debian.org
Fri Sep 30 09:33:57 UTC 2011


reassign 635322 isc-dhcp-client
forcemerge 632716 635322
severity 632716 serious
thanks

Hello everybody,
I'm reassigning bug #635322 , originally reported against wicd, to
isc-dhcp-client, and merging it with #632716 (which is the same exact bug).

The reason why I believe this is not a wicd bug is shown below.

$ cat /var/lib/wicd/dhclient.conf | grep -v ^#

send host-name "moocca";
$ hostname
moocca
$ sudo /sbin/dhclient -v -cf /var/lib/wicd/dhclient.conf wlan0
Internet Systems Consortium DHCP Client 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/wlan0/00:1a:73:a5:e0:2a
Sending on   LPF/wlan0/00:1a:73:a5:e0:2a
Sending on   Socket/fallback
DHCPREQUEST on wlan0 to 255.255.255.255 port 67
DHCPACK from 192.168.1.1
RTNETLINK answers: File exists
bound to 192.168.1.33 -- renewal in 114887 seconds.
$ hostname
dhcppc0
$

This does happen also if I set the "send host-name" in /etc/dhcp/dhclient.conf,
and still specify a custom configuration (-cf):

$ grep "send host" /etc/dhcp/dhclient.conf 
send host-name "moocca";
$ cat /var/lib/wicd/dhclient.conf | grep -v ^#

send host-name "moocca";
$ hostname
moocca
$ sudo /sbin/dhclient -v -cf /var/lib/wicd/dhclient.conf wlan0
...
$ hostname
dhcppc0
$

This *does* *not* happen if I set the "send host-name"
in /etc/dhcp/dhclient.conf, and *don't* specify a custom configuration:

$ grep "send host" /etc/dhcp/dhclient.conf 
send host-name "moocca";
$ hostname
moocca
$ sudo /sbin/dhclient -v wlan0
...
$ hostname
moocca
$

It seems like dhclient cannot honor custom configuration file anymore. It
surely did in the past :)

I'm raising the severity of this bug because it breaks unrelated software, like
Salvo already described (and I myself have experienced his symptoms).

Kindly,
David

-- 
 . ''`.   Debian developer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://deb.li/dapal
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-dhcp-devel/attachments/20110930/57ad0f53/attachment-0001.pgp>


More information about the pkg-dhcp-devel mailing list