#353280 dhclient does not reliably exit when the device disappears

Package:
isc-dhcp-client
Source:
isc-dhcp
Description:
DHCP client for automatically obtaining an IP address
Submitter:
martin f krafft
Date:
2026-08-05 17:33:25 UTC
Severity:
wishlist
#353280#3
Date:
2006-02-17 10:34:53 UTC
From:
To:
If I remove a network device under control of dhclient (e.g. a wifi
adapter that supports being turned off by ACPI), dhclient will
complain but it will not die. As I move around a lot and turn wifi
on and off as needed, I end up with dozens of dhclient processes for
the wifi device, which tend to like to get into each others way.

I think it would make sense for dhclient to exit when its device
disappears.

lapse:/etc/ifplugd/action.d# dhclient wifi
Internet Systems Consortium DHCP Client V3.0.3
Copyright 2004-2005 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

Listening on LPF/wifi/00:14:a4:04:ea:dc
Sending on   LPF/wifi/00:14:a4:04:ea:dc
Sending on   Socket/fallback
DHCPDISCOVER on wifi to 255.255.255.255 port 67 interval 7
*** i turned the device off here ***
receive_packet failed on wifi: Network is down
DHCPDISCOVER on wifi to 255.255.255.255 port 67 interval 9
send_packet: No such device
DHCPDISCOVER on wifi to 255.255.255.255 port 67 interval 11
send_packet: No such device
DHCPDISCOVER on wifi to 255.255.255.255 port 67 interval 11
send_packet: No such device
DHCPDISCOVER on wifi to 255.255.255.255 port 67 interval 11
send_packet: No such device
DHCPDISCOVER on wifi to 255.255.255.255 port 67 interval 12
send_packet: No such device
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
lapse:/etc/ifplugd/action.d# ps aux | grep [d]hc
root     23599  0.0  0.0   2164   508 ?        Ss   11:31   0:00 dhclient wifi

#353280#6
Date:
2006-02-22 23:47:33 UTC
From:
To:
Hi DHCP hackers.

I recently received this bug report, which I'm forwarding on for
discussion/consideration.

regards

Andrew

#353280#7
Date:
2006-03-02 23:50:27 UTC
From:
To:
I consider this an architectural problem.  It's not proper for a daemon
that might listen to multiple interfaces to exit prematurely.
Particularly when the intended design of the product was to run at all
times, and suspend/resume when interfaces are removed and inserted in
the system.

As I said on the dhcp-client mailing list recently, architecturally we
want to move to a single-daemon-per-interface model, and from there it
makes a whole lot more sense to exit jsut as a sanity check if the
interface the daemon was targetted to goes away.

I'm not sure this will make it into 3.1, but it is on our list.

#353280#10
Date:
2006-03-29 15:05:35 UTC
From:
To:
also sprach David W. Hankins <David_Hankins@isc.org> [2006.03.03.0050 +0100]:

True, but this is not how it's used in Debian.

As said, for Debian, it would make sense to treat it
single-daemon-per-interface already, IMHO.

#353280#21
Date:
2026-08-05 17:31:09 UTC
From:
To:
Dear submitter,

as the package isc-dhcp has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1143544

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)