[pkg-dhcp-devel] Bug#798177: "Use default paths for lease files" breaks dhcpd

Iustin Pop iustin at debian.org
Sun Sep 6 11:49:45 UTC 2015

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


The changelog for "isc-dhcp (4.3.3-2) unstable" says:

"* Use default paths for lease files."

I don't know what the actual change was here, but the result is that dhcpd
expects the lease file to live in /var/db/dhcpd.leases, which is not where the
lease file was before and is not policy compliant. Policy aside, it breaks the
startup, since the init script still touches /var/lib/dhcp/dhcpd.leases.


# grep leases /etc/init.d/isc-dhcp-server 
        touch /var/lib/dhcp/dhcpd.leases

# strings $(which dhcpd)|grep -F .leases

The change in git simply removes the configure options for --with-srv and
--with-cli lease, noting that it fixes bug 758882. I don't see how that will
fix r/w files in /var, since the default lease files are still in /var.

Please investigate and update the change. The server lease file was in the
right place, the client one might need to be put somewhere else, but right now
the fix breaks more than it solves.

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.1.6-ruru0 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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.57
ii  debianutils            4.5.1
ii  libc6                  2.19-19
ii  libdns-export100       1:9.9.5.dfsg-12
ii  libisc-export95        1:9.9.5.dfsg-12
ii  lsb-base               4.1+Debian14
ii  policycoreutils        2.3-1

Versions of packages isc-dhcp-server recommends:
ii  isc-dhcp-common  4.3.3-2

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

-- Configuration Files:
/etc/dhcp/dhcpd.conf changed [not included]
/etc/logcheck/ignore.d.server/isc-dhcp-server [Errno 13] Permission denied: u'/etc/logcheck/ignore.d.server/isc-dhcp-server'

-- debconf information:
* isc-dhcp-server/interfaces:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-dhcp-devel/attachments/20150906/948c8e49/attachment.sig>

More information about the pkg-dhcp-devel mailing list