[pkg-dhcp-devel] Bug#773749: Bug#773749: isc-dhcp-client: no longer updates /etc/resolv.conf

Vincent Lefevre vincent at vinc17.net
Tue Dec 23 14:17:16 UTC 2014


Control: clone -1 -2
Control: reassign -1 isc-dhcp-client 4.3.1-5
Control: retitle -1 isc-dhcp-client: no longer updates /etc/resolv.conf
Control: retitle -2 wicd does not start dhclient with its own config file
Control: severity -2 normal

On 2014-12-23 13:24:26 +0100, Axel Beckert wrote:
> Michael Gilbert wrote:
> > control: reassign -1 src:wicd
> 
> I'm not sure if this is really a wicd issue, because:
> 
> > On Mon, Dec 22, 2014 at 8:20 PM, Vincent Lefevre wrote:
> > > This is actually a template file used by wicd to generate the real
> > > dhclient config file. In the past, the generated file was in some
> > > special place and dhclient was called with the -cf option, but this
> > > is no longer the case, and /etc/dhcp/dhclient.conf is now regenerated
> > > and wicd no longer uses the -cf option.
> 
> (That part of) wicd has not changed for at least two years and except
> a compatibility patch for some UI library stuff, the same version of
> wicd is present in Wheezy.

Actually I could find that /etc/dhcp/dhclient.conf is *not* regenerated,
because the comments in /etc/wicd/dhclient.conf.template and in
/etc/dhcp/dhclient.conf are different. But this means that wicd
no longer behaves as documented. The wicd(8) man page says:

  /etc/wicd/dhclient.conf.template
  This  is  used  to replace /etc/dhclient.conf during Wicd activity, if
  you're using dhclient(1) as DHCP client. See dhclient.conf(5) for more
  information.

but the dhclient command line is, according to "ps -aef":

  /sbin/dhclient -v wlan0

which is confirmed by /var/log/wicd/wicd.log*:

[...]
2014/12/23 00:59:58 :: /sbin/dhclient -v wlan0
[...]

so that the default ETCDIR/dhclient.conf file is used according to
the dhclient(8) man page, which is presumably /etc/dhclient.conf
according to /usr/share/doc/isc-dhcp-client/changelog.Debian.gz:

  * s%ETCDIR%/etc/%g, s%DBDIR%/var/dhcp/%g and s%RUNDIR%/var/run/%g in
    dhcpd.8 and dhcpd.leases.5, so the man pages show the correct directory.

while the real config file is /etc/dhcp/dhclient.conf!

So, I'm reassigning the bug back to isc-dhcp-client, but I leave one
for wicd for the reason given above.

BTW, contrary to what the changelog says, the man pages do not show
the correct directories. Or this must have been broken later. Reported
here:

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=773801

> So if wicd's behaviour changed there, it's caused by something else,
> but not by a change in wicd.

There has been a change in wicd since it was using the -cf option
in the past, but I don't know when. At least in December 2011, it
was doing this:

[...]
2011/12/17 03:16:46 :: /sbin/dhclient -v -cf /var/lib/wicd/dhclient.conf wlan0
[...]

This is not necessarily a problem, but the behavior should match
the documentation.

> Vincent: Can you enable /etc/dhcp/dhclient-exit-hooks.d/debug and
> wicd's debug mode to see if that helps you to find some more details
> about why /etc/resolv.conf is no more updated in your setup, but still
> does as expected in my setup? TIA!

No variables seem to be set (one has variable value = variable name)!
I'm attaching the output.

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
-------------- next part --------------
Tue Dec 23 15:06:23 CET 2014: entering /sbin, dumping variables.
reason='reason'
interface='interface'
medium='medium'
alias_ip_address='alias_ip_address'
ip_address='ip_address'
host_name='host_name'
network_number='network_number'
subnet_mask='subnet_mask'
broadcast_address='broadcast_address'
routers='routers'
static_routes='static_routes'
rfc3442_classless_static_routes='rfc3442_classless_static_routes'
domain_name='domain_name'
domain_search='domain_search'
domain_name_servers='domain_name_servers'
netbios_name_servers='netbios_name_servers'
netbios_scope='netbios_scope'
ntp_servers='ntp_servers'
ip6_address='ip6_address'
ip6_prefix='ip6_prefix'
ip6_prefixlen='ip6_prefixlen'
dhcp6_domain_search='dhcp6_domain_search'
dhcp6_name_servers='dhcp6_name_servers'
cur_reason='cur_reason'
cur_interface='cur_interface'
cur_medium='cur_medium'
cur_alias_ip_address='cur_alias_ip_address'
cur_ip_address='cur_ip_address'
cur_host_name='cur_host_name'
cur_network_number='cur_network_number'
cur_subnet_mask='cur_subnet_mask'
cur_broadcast_address='cur_broadcast_address'
cur_routers='cur_routers'
cur_static_routes='cur_static_routes'
cur_rfc3442_classless_static_routes='cur_rfc3442_classless_static_routes'
cur_domain_name='cur_domain_name'
cur_domain_search='cur_domain_search'
cur_domain_name_servers='cur_domain_name_servers'
cur_netbios_name_servers='cur_netbios_name_servers'
cur_netbios_scope='cur_netbios_scope'
cur_ntp_servers='cur_ntp_servers'
cur_ip6_address='cur_ip6_address'
cur_ip6_prefix='cur_ip6_prefix'
cur_ip6_prefixlen='cur_ip6_prefixlen'
cur_dhcp6_domain_search='cur_dhcp6_domain_search'
cur_dhcp6_name_servers='cur_dhcp6_name_servers'
new_reason='new_reason'
new_interface='new_interface'
new_medium='new_medium'
new_alias_ip_address='new_alias_ip_address'
new_ip_address='new_ip_address'
new_host_name='new_host_name'
new_network_number='new_network_number'
new_subnet_mask='new_subnet_mask'
new_broadcast_address='new_broadcast_address'
new_routers='new_routers'
new_static_routes='new_static_routes'
new_rfc3442_classless_static_routes='new_rfc3442_classless_static_routes'
new_domain_name='new_domain_name'
new_domain_search='new_domain_search'
new_domain_name_servers='new_domain_name_servers'
new_netbios_name_servers='new_netbios_name_servers'
new_netbios_scope='new_netbios_scope'
new_ntp_servers='new_ntp_servers'
new_ip6_address='new_ip6_address'
new_ip6_prefix='new_ip6_prefix'
new_ip6_prefixlen='new_ip6_prefixlen'
new_dhcp6_domain_search='new_dhcp6_domain_search'
new_dhcp6_name_servers='new_dhcp6_name_servers'
old_reason='old_reason'
old_interface='old_interface'
old_medium='old_medium'
old_alias_ip_address='old_alias_ip_address'
old_ip_address='old_ip_address'
old_host_name='old_host_name'
old_network_number='old_network_number'
old_subnet_mask='old_subnet_mask'
old_broadcast_address='old_broadcast_address'
old_routers='old_routers'
old_static_routes='old_static_routes'
old_rfc3442_classless_static_routes='old_rfc3442_classless_static_routes'
old_domain_name='old_domain_name'
old_domain_search='old_domain_search'
old_domain_name_servers='old_domain_name_servers'
old_netbios_name_servers='old_netbios_name_servers'
old_netbios_scope='old_netbios_scope'
old_ntp_servers='old_ntp_servers'
old_ip6_address='old_ip6_address'
old_ip6_prefix='old_ip6_prefix'
old_ip6_prefixlen='old_ip6_prefixlen'
old_dhcp6_domain_search='old_dhcp6_domain_search'
old_dhcp6_name_servers='old_dhcp6_name_servers'
--------------------------
Tue Dec 23 15:06:32 CET 2014: entering /sbin, dumping variables.
reason='reason'
interface='interface'
medium='medium'
alias_ip_address='alias_ip_address'
ip_address='ip_address'
host_name='host_name'
network_number='network_number'
subnet_mask='subnet_mask'
broadcast_address='broadcast_address'
routers='routers'
static_routes='static_routes'
rfc3442_classless_static_routes='rfc3442_classless_static_routes'
domain_name='domain_name'
domain_search='domain_search'
domain_name_servers='domain_name_servers'
netbios_name_servers='netbios_name_servers'
netbios_scope='netbios_scope'
ntp_servers='ntp_servers'
ip6_address='ip6_address'
ip6_prefix='ip6_prefix'
ip6_prefixlen='ip6_prefixlen'
dhcp6_domain_search='dhcp6_domain_search'
dhcp6_name_servers='dhcp6_name_servers'
cur_reason='cur_reason'
cur_interface='cur_interface'
cur_medium='cur_medium'
cur_alias_ip_address='cur_alias_ip_address'
cur_ip_address='cur_ip_address'
cur_host_name='cur_host_name'
cur_network_number='cur_network_number'
cur_subnet_mask='cur_subnet_mask'
cur_broadcast_address='cur_broadcast_address'
cur_routers='cur_routers'
cur_static_routes='cur_static_routes'
cur_rfc3442_classless_static_routes='cur_rfc3442_classless_static_routes'
cur_domain_name='cur_domain_name'
cur_domain_search='cur_domain_search'
cur_domain_name_servers='cur_domain_name_servers'
cur_netbios_name_servers='cur_netbios_name_servers'
cur_netbios_scope='cur_netbios_scope'
cur_ntp_servers='cur_ntp_servers'
cur_ip6_address='cur_ip6_address'
cur_ip6_prefix='cur_ip6_prefix'
cur_ip6_prefixlen='cur_ip6_prefixlen'
cur_dhcp6_domain_search='cur_dhcp6_domain_search'
cur_dhcp6_name_servers='cur_dhcp6_name_servers'
new_reason='new_reason'
new_interface='new_interface'
new_medium='new_medium'
new_alias_ip_address='new_alias_ip_address'
new_ip_address='new_ip_address'
new_host_name='new_host_name'
new_network_number='new_network_number'
new_subnet_mask='new_subnet_mask'
new_broadcast_address='new_broadcast_address'
new_routers='new_routers'
new_static_routes='new_static_routes'
new_rfc3442_classless_static_routes='new_rfc3442_classless_static_routes'
new_domain_name='new_domain_name'
new_domain_search='new_domain_search'
new_domain_name_servers='new_domain_name_servers'
new_netbios_name_servers='new_netbios_name_servers'
new_netbios_scope='new_netbios_scope'
new_ntp_servers='new_ntp_servers'
new_ip6_address='new_ip6_address'
new_ip6_prefix='new_ip6_prefix'
new_ip6_prefixlen='new_ip6_prefixlen'
new_dhcp6_domain_search='new_dhcp6_domain_search'
new_dhcp6_name_servers='new_dhcp6_name_servers'
old_reason='old_reason'
old_interface='old_interface'
old_medium='old_medium'
old_alias_ip_address='old_alias_ip_address'
old_ip_address='old_ip_address'
old_host_name='old_host_name'
old_network_number='old_network_number'
old_subnet_mask='old_subnet_mask'
old_broadcast_address='old_broadcast_address'
old_routers='old_routers'
old_static_routes='old_static_routes'
old_rfc3442_classless_static_routes='old_rfc3442_classless_static_routes'
old_domain_name='old_domain_name'
old_domain_search='old_domain_search'
old_domain_name_servers='old_domain_name_servers'
old_netbios_name_servers='old_netbios_name_servers'
old_netbios_scope='old_netbios_scope'
old_ntp_servers='old_ntp_servers'
old_ip6_address='old_ip6_address'
old_ip6_prefix='old_ip6_prefix'
old_ip6_prefixlen='old_ip6_prefixlen'
old_dhcp6_domain_search='old_dhcp6_domain_search'
old_dhcp6_name_servers='old_dhcp6_name_servers'
--------------------------
Tue Dec 23 15:06:33 CET 2014: entering /sbin, dumping variables.
reason='reason'
interface='interface'
medium='medium'
alias_ip_address='alias_ip_address'
ip_address='ip_address'
host_name='host_name'
network_number='network_number'
subnet_mask='subnet_mask'
broadcast_address='broadcast_address'
routers='routers'
static_routes='static_routes'
rfc3442_classless_static_routes='rfc3442_classless_static_routes'
domain_name='domain_name'
domain_search='domain_search'
domain_name_servers='domain_name_servers'
netbios_name_servers='netbios_name_servers'
netbios_scope='netbios_scope'
ntp_servers='ntp_servers'
ip6_address='ip6_address'
ip6_prefix='ip6_prefix'
ip6_prefixlen='ip6_prefixlen'
dhcp6_domain_search='dhcp6_domain_search'
dhcp6_name_servers='dhcp6_name_servers'
cur_reason='cur_reason'
cur_interface='cur_interface'
cur_medium='cur_medium'
cur_alias_ip_address='cur_alias_ip_address'
cur_ip_address='cur_ip_address'
cur_host_name='cur_host_name'
cur_network_number='cur_network_number'
cur_subnet_mask='cur_subnet_mask'
cur_broadcast_address='cur_broadcast_address'
cur_routers='cur_routers'
cur_static_routes='cur_static_routes'
cur_rfc3442_classless_static_routes='cur_rfc3442_classless_static_routes'
cur_domain_name='cur_domain_name'
cur_domain_search='cur_domain_search'
cur_domain_name_servers='cur_domain_name_servers'
cur_netbios_name_servers='cur_netbios_name_servers'
cur_netbios_scope='cur_netbios_scope'
cur_ntp_servers='cur_ntp_servers'
cur_ip6_address='cur_ip6_address'
cur_ip6_prefix='cur_ip6_prefix'
cur_ip6_prefixlen='cur_ip6_prefixlen'
cur_dhcp6_domain_search='cur_dhcp6_domain_search'
cur_dhcp6_name_servers='cur_dhcp6_name_servers'
new_reason='new_reason'
new_interface='new_interface'
new_medium='new_medium'
new_alias_ip_address='new_alias_ip_address'
new_ip_address='new_ip_address'
new_host_name='new_host_name'
new_network_number='new_network_number'
new_subnet_mask='new_subnet_mask'
new_broadcast_address='new_broadcast_address'
new_routers='new_routers'
new_static_routes='new_static_routes'
new_rfc3442_classless_static_routes='new_rfc3442_classless_static_routes'
new_domain_name='new_domain_name'
new_domain_search='new_domain_search'
new_domain_name_servers='new_domain_name_servers'
new_netbios_name_servers='new_netbios_name_servers'
new_netbios_scope='new_netbios_scope'
new_ntp_servers='new_ntp_servers'
new_ip6_address='new_ip6_address'
new_ip6_prefix='new_ip6_prefix'
new_ip6_prefixlen='new_ip6_prefixlen'
new_dhcp6_domain_search='new_dhcp6_domain_search'
new_dhcp6_name_servers='new_dhcp6_name_servers'
old_reason='old_reason'
old_interface='old_interface'
old_medium='old_medium'
old_alias_ip_address='old_alias_ip_address'
old_ip_address='old_ip_address'
old_host_name='old_host_name'
old_network_number='old_network_number'
old_subnet_mask='old_subnet_mask'
old_broadcast_address='old_broadcast_address'
old_routers='old_routers'
old_static_routes='old_static_routes'
old_rfc3442_classless_static_routes='old_rfc3442_classless_static_routes'
old_domain_name='old_domain_name'
old_domain_search='old_domain_search'
old_domain_name_servers='old_domain_name_servers'
old_netbios_name_servers='old_netbios_name_servers'
old_netbios_scope='old_netbios_scope'
old_ntp_servers='old_ntp_servers'
old_ip6_address='old_ip6_address'
old_ip6_prefix='old_ip6_prefix'
old_ip6_prefixlen='old_ip6_prefixlen'
old_dhcp6_domain_search='old_dhcp6_domain_search'
old_dhcp6_name_servers='old_dhcp6_name_servers'
--------------------------
Tue Dec 23 15:06:37 CET 2014: entering /sbin, dumping variables.
reason='reason'
interface='interface'
medium='medium'
alias_ip_address='alias_ip_address'
ip_address='ip_address'
host_name='host_name'
network_number='network_number'
subnet_mask='subnet_mask'
broadcast_address='broadcast_address'
routers='routers'
static_routes='static_routes'
rfc3442_classless_static_routes='rfc3442_classless_static_routes'
domain_name='domain_name'
domain_search='domain_search'
domain_name_servers='domain_name_servers'
netbios_name_servers='netbios_name_servers'
netbios_scope='netbios_scope'
ntp_servers='ntp_servers'
ip6_address='ip6_address'
ip6_prefix='ip6_prefix'
ip6_prefixlen='ip6_prefixlen'
dhcp6_domain_search='dhcp6_domain_search'
dhcp6_name_servers='dhcp6_name_servers'
cur_reason='cur_reason'
cur_interface='cur_interface'
cur_medium='cur_medium'
cur_alias_ip_address='cur_alias_ip_address'
cur_ip_address='cur_ip_address'
cur_host_name='cur_host_name'
cur_network_number='cur_network_number'
cur_subnet_mask='cur_subnet_mask'
cur_broadcast_address='cur_broadcast_address'
cur_routers='cur_routers'
cur_static_routes='cur_static_routes'
cur_rfc3442_classless_static_routes='cur_rfc3442_classless_static_routes'
cur_domain_name='cur_domain_name'
cur_domain_search='cur_domain_search'
cur_domain_name_servers='cur_domain_name_servers'
cur_netbios_name_servers='cur_netbios_name_servers'
cur_netbios_scope='cur_netbios_scope'
cur_ntp_servers='cur_ntp_servers'
cur_ip6_address='cur_ip6_address'
cur_ip6_prefix='cur_ip6_prefix'
cur_ip6_prefixlen='cur_ip6_prefixlen'
cur_dhcp6_domain_search='cur_dhcp6_domain_search'
cur_dhcp6_name_servers='cur_dhcp6_name_servers'
new_reason='new_reason'
new_interface='new_interface'
new_medium='new_medium'
new_alias_ip_address='new_alias_ip_address'
new_ip_address='new_ip_address'
new_host_name='new_host_name'
new_network_number='new_network_number'
new_subnet_mask='new_subnet_mask'
new_broadcast_address='new_broadcast_address'
new_routers='new_routers'
new_static_routes='new_static_routes'
new_rfc3442_classless_static_routes='new_rfc3442_classless_static_routes'
new_domain_name='new_domain_name'
new_domain_search='new_domain_search'
new_domain_name_servers='new_domain_name_servers'
new_netbios_name_servers='new_netbios_name_servers'
new_netbios_scope='new_netbios_scope'
new_ntp_servers='new_ntp_servers'
new_ip6_address='new_ip6_address'
new_ip6_prefix='new_ip6_prefix'
new_ip6_prefixlen='new_ip6_prefixlen'
new_dhcp6_domain_search='new_dhcp6_domain_search'
new_dhcp6_name_servers='new_dhcp6_name_servers'
old_reason='old_reason'
old_interface='old_interface'
old_medium='old_medium'
old_alias_ip_address='old_alias_ip_address'
old_ip_address='old_ip_address'
old_host_name='old_host_name'
old_network_number='old_network_number'
old_subnet_mask='old_subnet_mask'
old_broadcast_address='old_broadcast_address'
old_routers='old_routers'
old_static_routes='old_static_routes'
old_rfc3442_classless_static_routes='old_rfc3442_classless_static_routes'
old_domain_name='old_domain_name'
old_domain_search='old_domain_search'
old_domain_name_servers='old_domain_name_servers'
old_netbios_name_servers='old_netbios_name_servers'
old_netbios_scope='old_netbios_scope'
old_ntp_servers='old_ntp_servers'
old_ip6_address='old_ip6_address'
old_ip6_prefix='old_ip6_prefix'
old_ip6_prefixlen='old_ip6_prefixlen'
old_dhcp6_domain_search='old_dhcp6_domain_search'
old_dhcp6_name_servers='old_dhcp6_name_servers'
--------------------------
Tue Dec 23 15:06:40 CET 2014: entering /sbin, dumping variables.
reason='reason'
interface='interface'
medium='medium'
alias_ip_address='alias_ip_address'
ip_address='ip_address'
host_name='host_name'
network_number='network_number'
subnet_mask='subnet_mask'
broadcast_address='broadcast_address'
routers='routers'
static_routes='static_routes'
rfc3442_classless_static_routes='rfc3442_classless_static_routes'
domain_name='domain_name'
domain_search='domain_search'
domain_name_servers='domain_name_servers'
netbios_name_servers='netbios_name_servers'
netbios_scope='netbios_scope'
ntp_servers='ntp_servers'
ip6_address='ip6_address'
ip6_prefix='ip6_prefix'
ip6_prefixlen='ip6_prefixlen'
dhcp6_domain_search='dhcp6_domain_search'
dhcp6_name_servers='dhcp6_name_servers'
cur_reason='cur_reason'
cur_interface='cur_interface'
cur_medium='cur_medium'
cur_alias_ip_address='cur_alias_ip_address'
cur_ip_address='cur_ip_address'
cur_host_name='cur_host_name'
cur_network_number='cur_network_number'
cur_subnet_mask='cur_subnet_mask'
cur_broadcast_address='cur_broadcast_address'
cur_routers='cur_routers'
cur_static_routes='cur_static_routes'
cur_rfc3442_classless_static_routes='cur_rfc3442_classless_static_routes'
cur_domain_name='cur_domain_name'
cur_domain_search='cur_domain_search'
cur_domain_name_servers='cur_domain_name_servers'
cur_netbios_name_servers='cur_netbios_name_servers'
cur_netbios_scope='cur_netbios_scope'
cur_ntp_servers='cur_ntp_servers'
cur_ip6_address='cur_ip6_address'
cur_ip6_prefix='cur_ip6_prefix'
cur_ip6_prefixlen='cur_ip6_prefixlen'
cur_dhcp6_domain_search='cur_dhcp6_domain_search'
cur_dhcp6_name_servers='cur_dhcp6_name_servers'
new_reason='new_reason'
new_interface='new_interface'
new_medium='new_medium'
new_alias_ip_address='new_alias_ip_address'
new_ip_address='new_ip_address'
new_host_name='new_host_name'
new_network_number='new_network_number'
new_subnet_mask='new_subnet_mask'
new_broadcast_address='new_broadcast_address'
new_routers='new_routers'
new_static_routes='new_static_routes'
new_rfc3442_classless_static_routes='new_rfc3442_classless_static_routes'
new_domain_name='new_domain_name'
new_domain_search='new_domain_search'
new_domain_name_servers='new_domain_name_servers'
new_netbios_name_servers='new_netbios_name_servers'
new_netbios_scope='new_netbios_scope'
new_ntp_servers='new_ntp_servers'
new_ip6_address='new_ip6_address'
new_ip6_prefix='new_ip6_prefix'
new_ip6_prefixlen='new_ip6_prefixlen'
new_dhcp6_domain_search='new_dhcp6_domain_search'
new_dhcp6_name_servers='new_dhcp6_name_servers'
old_reason='old_reason'
old_interface='old_interface'
old_medium='old_medium'
old_alias_ip_address='old_alias_ip_address'
old_ip_address='old_ip_address'
old_host_name='old_host_name'
old_network_number='old_network_number'
old_subnet_mask='old_subnet_mask'
old_broadcast_address='old_broadcast_address'
old_routers='old_routers'
old_static_routes='old_static_routes'
old_rfc3442_classless_static_routes='old_rfc3442_classless_static_routes'
old_domain_name='old_domain_name'
old_domain_search='old_domain_search'
old_domain_name_servers='old_domain_name_servers'
old_netbios_name_servers='old_netbios_name_servers'
old_netbios_scope='old_netbios_scope'
old_ntp_servers='old_ntp_servers'
old_ip6_address='old_ip6_address'
old_ip6_prefix='old_ip6_prefix'
old_ip6_prefixlen='old_ip6_prefixlen'
old_dhcp6_domain_search='old_dhcp6_domain_search'
old_dhcp6_name_servers='old_dhcp6_name_servers'
--------------------------


More information about the pkg-dhcp-devel mailing list