Your message dated Wed, 05 Aug 2026 17:31:09 +0000
with message-id <[email protected]>
and subject line Bug#1143544: Removed package(s) from unstable
has caused the Debian Bug report #868240,
regarding isc-dhcp-server refuses to start if pidfile is present even when 
dhcpd is not running
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
868240: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=868240
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: isc-dhcp-server
Version: 4.3.5-3
Severity: normal

Dear Maintainer,

The isc-dhcp-server service refuses to start ("systemctl start 
isc-dhcp-server") 
if the pidfile (/run/dhcpd.pid) is present, even if dhcpd is
not running. Reproducing this is easy given working dhcpd configuration:

  $ systemctl start isc-dhcp-server
  $ cat /run/dhcpd.pid|xargs kill
  $ systemctl start isc-dhcp-server

Now dhcpd will not be running:

  $ ps aux|grep dhcpd

This is problematic if the service has crashed abnormally, as external 
monitoring systems like monit won't be able to restart the service easily.

The problem is on lines 102-105 in /etc/init.d/isc-dhcp-server:

    if [ -e "$PIDFILE" ]; then
        log_failure_msg "dhcpd service already running (pid file $PIDFILE 
currenty exists)"
        exit 1
    fi

Interestingly the status target can already handle the "pidfile is present but 
dhcpd is not running" case, see line 83:

    test "$OPTION" != -v || echo "$NAME is not running but $PIDFILE exists."

Removing the pidfile manually before starting the service solves the problem.

I would expect the init script to start dhcpd if it is not running, even if
pidfile is present.

-- System Information:
Debian Release: 9.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages isc-dhcp-server depends on:
ii  debconf [debconf-2.0]  1.5.61
ii  debianutils            4.8.1.1
ii  libc6                  2.24-11
ii  libdns-export162       1:9.10.3.dfsg.P4-12.3
ii  libirs-export141       1:9.10.3.dfsg.P4-12.3
ii  libisc-export160       1:9.10.3.dfsg.P4-12.3
ii  lsb-base               9.20161125

Versions of packages isc-dhcp-server recommends:
ii  isc-dhcp-common  4.3.5-3
ii  policycoreutils  2.6-3

Versions of packages isc-dhcp-server suggests:
pn  isc-dhcp-server-ldap  <none>
ii  policykit-1           0.105-18

-- Configuration Files:
/etc/dhcp/dhcpd.conf changed [not included]

-- debconf information excluded

--- End Message ---
--- Begin Message ---
Version: 4.4.3-P1-8+rm

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
[email protected].

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

--- End Message ---

Reply via email to