[pkg-dhcp-devel] Bug#815180: isc-dhcp-server: New initscript breaks `service isc-dhcp-server status`

Pierre Ynard linkfanel at yahoo.fr
Fri Feb 19 18:24:43 UTC 2016


Package: isc-dhcp-server
Version: 4.3.3-8
Severity: important

After migrating from 4.3.3-5, I have two obvious issues with the
status command of the new initscript:

 - It fails to see that any servers are running, and returns:

# service isc-dhcp-server status
Status of ISC DHCPv4 server:  is not running.
Status of ISC DHCPv6 server:  is not running.

   regardless of what server is actually running. This is because it
   checks the wrong variables DHCPv4/6_PID, which are never set, instead
   of DHCPDv4/6_PID

 - When upgrading from a simple DHCPv4-only setup, the status command
   will return an error code if the DHCPv4 server is running but the
   DHCPv6 server is not running, even if the latter is disabled in the
   configuration. This seems wrong and breaks stuff. I suggest that the
   status command uses `test -n "$INTERFACESv4/6"` conditional guards
   similar to the start command too, with the $INTERFACES magic factored
   out.

Please fix the status command in all cases.

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i586)

Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages isc-dhcp-server depends on:
ii  debconf [debconf-2.0]  1.5.58
ii  debianutils            4.7
ii  libc6                  2.21-9
ii  libdns-export100       1:9.9.5.dfsg-12.1
ii  libirs-export91        1:9.9.5.dfsg-12.1
ii  libisc-export95        1:9.9.5.dfsg-12.1
ii  lsb-base               9.20160110

Versions of packages isc-dhcp-server recommends:
pn  isc-dhcp-common  <none>
pn  policycoreutils  <none>

Versions of packages isc-dhcp-server suggests:
pn  isc-dhcp-server-ldap  <none>

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

-- debconf information excluded



More information about the pkg-dhcp-devel mailing list