[pkg-dhcp-devel] Bug#859400: isc-dhcp-server: dhcp-lease-list command fails to execute

Jamshid Karimi jamshid at organiclinux.net
Mon Apr 3 08:47:02 UTC 2017


Package: isc-dhcp-server
Version: 4.3.5-3
Severity: normal

Package: isc-dhcp-server 4.3.1-6+deb8u2
Platform: Debian 8.7 (jessie)
Severity: normal

Running dhcp-lease-list with no option is supposed to parse the stats file
dhcpd.leases in the /var/lib/dhcp/ directory. Instead, the command fails with
the following error message:

Cannot open /var/db/dhcpd.leases: No such file or directory at /usr/sbin/dhcp-
lease-list line 69

The error is due to discrepancy between stats file path as stated in the script
and the actual location on the system. Modifying the line will resolve the
issue:

my $LEASES = '/var/lib/dhcp/dhcpd.leases';




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

Kernel: Linux 4.9.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (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.60
ii  debianutils            4.8.1
ii  libc6                  2.24-9
ii  libdns-export162       1:9.10.3.dfsg.P4-12.1
ii  libirs-export141       1:9.10.3.dfsg.P4-12.1
ii  libisc-export160       1:9.10.3.dfsg.P4-12.1
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-17

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

-- debconf information excluded



More information about the pkg-dhcp-devel mailing list