#951627 isc-dhcp-server: Can't stop the daemon

Package:
isc-dhcp-server
Source:
isc-dhcp
Description:
ISC DHCP server for automatic IP address assignment
Submitter:
Russell Coker
Date:
2026-08-05 17:34:27 UTC
Severity:
important
Tags:
#951627#5
Date:
2020-02-19 04:32:13 UTC
From:
To:
In a fairly default configuration with systemd I can't stop the daemon in a
normal manner (this happens on Buster as well as Unstable).

# /etc/init.d/isc-dhcp-server stop
Stopping isc-dhcp-server (via systemctl): isc-dhcp-server.service.
(sysadm_t:s0-s0:c0.c1023)root@unstable:/var/log# ps aux|grep dhcp
root         841  0.0  1.1  13520  9316 ?        Ss   04:27   0:00 /usr/sbin/dhcpd -4 -q -cf /etc/dhcp/dhcpd.conf
# ls -l /run/dhcpd.pid
-rw-r--r--. 1 root root 4 Feb 19 04:27 /run/dhcpd.pid

To stop it properly (so it can be restarted again) I have to manually kill the
process and rm the pid file.

#951627#16
Date:
2022-05-06 13:27:52 UTC
From:
To:
unmerge 951627
severity 951627 important
tags 951627 - patch
tags 1009209 + pending
thanks

El 14/04/22 a las 12:58, H.-Dirk Schmitt escribió:

Thanks, but I don't see how both bugs are the same.

I am applying your patch. I hope to upload a new revision shortly.

Cheers,

#951627#27
Date:
2022-05-06 14:05:09 UTC
From:
To:
Control: tags -1 + moreinfo
Control: notfound -1 4.4.2-P1-1+b1

Thanks for your bug report. However, I am unable to reproduce it
(running on an lxc container with 4.4.2-P1-1+b1):

root@sid:~# /etc/init.d/isc-dhcp-server start
Starting isc-dhcp-server (via systemctl): isc-dhcp-server.service.
root@sid:~# ps -ef | grep dhcpd
root        1232       1  0 14:00 ?        00:00:00 /usr/sbin/dhcpd -4 -q -cf /etc/dhcp/dhcpd.conf eth1
root        1244     355  0 14:00 pts/5    00:00:00 grep dhcpd
root@sid:~# /etc/init.d/isc-dhcp-server stop
Stopping isc-dhcp-server (via systemctl): isc-dhcp-server.service.
root@sid:~# ps -ef | grep dhcpd
root        1271     355  0 14:00 pts/5    00:00:00 grep dhcpd

Could you please test the latest version in sid?

Cheers,

#951627#32
Date:
2022-05-06 14:05:09 UTC
From:
To:
Control: tags -1 + moreinfo
Control: notfound -1 4.4.2-P1-1+b1

Thanks for your bug report. However, I am unable to reproduce it
(running on an lxc container with 4.4.2-P1-1+b1):

root@sid:~# /etc/init.d/isc-dhcp-server start
Starting isc-dhcp-server (via systemctl): isc-dhcp-server.service.
root@sid:~# ps -ef | grep dhcpd
root        1232       1  0 14:00 ?        00:00:00 /usr/sbin/dhcpd -4 -q -cf /etc/dhcp/dhcpd.conf eth1
root        1244     355  0 14:00 pts/5    00:00:00 grep dhcpd
root@sid:~# /etc/init.d/isc-dhcp-server stop
Stopping isc-dhcp-server (via systemctl): isc-dhcp-server.service.
root@sid:~# ps -ef | grep dhcpd
root        1271     355  0 14:00 pts/5    00:00:00 grep dhcpd

Could you please test the latest version in sid?

Cheers,

#951627#37
Date:
2023-07-31 16:34:07 UTC
From:
To:
On Fri, 6 May 2022 16:05:09 +0200 Santiago Ruano
=?iso-8859-1?Q?Rinc=F3n?= <santiagorr@riseup.net> wrote:
 > Control: tags -1 + moreinfo
 > Control: notfound -1 4.4.2-P1-1+b1
 >
 > On Wed, 19 Feb 2020 04:32:13 +0000 Russell Coker
<russell@coker.com.au> wrote:
 > > Package: isc-dhcp-server
 > > Version: 4.4.1-2.1
 > > Severity: important
 > >
 > > In a fairly default configuration with systemd I can't stop the
daemon in a
 > > normal manner (this happens on Buster as well as Unstable).
 > >
 > > # /etc/init.d/isc-dhcp-server stop
 > > Stopping isc-dhcp-server (via systemctl): isc-dhcp-server.service.
 > > (sysadm_t:s0-s0:c0.c1023)root@unstable:/var/log# ps aux|grep dhcp
 > > root 841 0.0 1.1 13520 9316 ? Ss 04:27 0:00 /usr/sbin/dhcpd -4 -q
-cf /etc/dhcp/dhcpd.conf
 > > # ls -l /run/dhcpd.pid
 > > -rw-r--r--. 1 root root 4 Feb 19 04:27 /run/dhcpd.pid
 > >
 > > To stop it properly (so it can be restarted again) I have to
manually kill the
 > > process and rm the pid file.
 >
 > [...]
 >
 > Thanks for your bug report. However, I am unable to reproduce it
 > (running on an lxc container with 4.4.2-P1-1+b1):
 >
 > root@sid:~# /etc/init.d/isc-dhcp-server start
 > Starting isc-dhcp-server (via systemctl): isc-dhcp-server.service.
 > root@sid:~# ps -ef | grep dhcpd
 > root 1232 1 0 14:00 ? 00:00:00 /usr/sbin/dhcpd -4 -q -cf
/etc/dhcp/dhcpd.conf eth1
 > root 1244 355 0 14:00 pts/5 00:00:00 grep dhcpd
 > root@sid:~# /etc/init.d/isc-dhcp-server stop
 > Stopping isc-dhcp-server (via systemctl): isc-dhcp-server.service.
 > root@sid:~# ps -ef | grep dhcpd
 > root 1271 355 0 14:00 pts/5 00:00:00 grep dhcpd
 >
 > Could you please test the latest version in sid?
 >
 > Cheers,
 >
 > -- Santiago

I was hit by this bug.

And I had to add INTERFACES="br0" for the server to stop.

Check the variable

#951627#42
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)