- Package:
- isc-dhcp-client
- Source:
- isc-dhcp
- Description:
- DHCP client for automatically obtaining an IP address
- Submitter:
- Micah Anderson
- Date:
- 2026-08-05 17:33:53 UTC
- Severity:
- wishlist
Hi,
It seems that there is no easy way to reload a running dhclient's
config file. A SIGHUP will cause it to die, dhclient -r will cause it
to release the lease and quit. I would like to make a change to the
enter-hooks.d and restart dhclient, but the only way I can find to do
it is some nasty thing like this:
PIDFILE=/var/run/dhclient.eth0.pid
dhclient=`/bin/ps --no-headers --pid $(cat $PIDFILE) -f | /usr/bin/awk '{for(i=8;i<=NF;++i) printf("%s ", $i) }'`
/usr/bin/pkill -F $PIDFILE
$dhclient
If there is a nicer way to do this, I would love to know!
thanks!
micah
I agree that such a feature would be needed.
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)