Bug#951627: isc-dhcp-server: Can't stop the daemon
On Fri, 6 May 2022 16:05:09 +0200 Santiago Ruano =?iso-8859-1?Q?Rinc=F3n?= wrote: > Control: tags -1 + moreinfo > Control: notfound -1 4.4.2-P1-1+b1 > > On Wed, 19 Feb 2020 04:32:13 + Russell Coker 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
Bug#951627: isc-dhcp-server: Can't stop the daemon
Control: tags -1 + moreinfo Control: notfound -1 4.4.2-P1-1+b1 On Wed, 19 Feb 2020 04:32:13 + Russell Coker 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 root1232 1 0 14:00 ?00:00:00 /usr/sbin/dhcpd -4 -q -cf /etc/dhcp/dhcpd.conf eth1 root1244 355 0 14:00 pts/500: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 root1271 355 0 14:00 pts/500:00:00 grep dhcpd Could you please test the latest version in sid? Cheers, -- Santiago signature.asc Description: PGP signature
Bug#951627: isc-dhcp-server: Can't stop the daemon
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. -- System Information: Debian Release: bullseye/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-8-amd64 (SMP w/2 CPU cores) Kernel taint flags: TAINT_UNSIGNED_MODULE Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: SELinux: enabled - Mode: Permissive - Policy name: default Versions of packages isc-dhcp-server depends on: ii debconf [debconf-2.0] 1.5.73 ii debianutils4.9.1 ii libc6 2.29-10 ii libdns-export1107 1:9.11.14+dfsg-3 ii libirs-export161 1:9.11.14+dfsg-3 ii libisc-export1104 1:9.11.14+dfsg-3 ii lsb-base 11.1.0 Versions of packages isc-dhcp-server recommends: ii isc-dhcp-common 4.4.1-2.1 ii policycoreutils 3.0-1 Versions of packages isc-dhcp-server suggests: pn isc-dhcp-server-ldap pn policykit-1 -- Configuration Files: /etc/dhcp/dhcpd.conf changed [not included] -- debconf information excluded