[pkg-dhcp-devel] Bug#720860: Still fails to start without a dhcpd.leases file

martin f krafft madduck at debian.org
Sun Aug 25 18:25:44 UTC 2013


Package: isc-dhcp-server
Version: 4.2.4-7
Severity: normal
Tags: patch

I have /var/lib/dhcp on tmpfs, due to various reasons. dhcpd still
fails to load if the file /var/lib/dhcp/dhcpd.leases does not exist.
Please make sure that the init script creates it if not already
present.

--- /tmp/isc-dhcp-server        2013-08-25 20:23:29.741814956 +0200
+++ /etc/init.d/isc-dhcp-server 2013-08-25 20:24:12.000000000 +0200
@@ -52,6 +52,7 @@
    /usr/sbin/dhcpd -t $OPTIONS -cf "$DHCPD_CONF"
    exit 1
  fi
+       touch /var/lib/dhcp/dhcpd.leases
 }
 
 # single arg is -v for messages, -q for none

-- System Information:
Debian Release: jessie/sid
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.10-rc7-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_NZ, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages isc-dhcp-server depends on:
ii  debconf [debconf-2.0]  1.5.50
ii  debianutils            4.4
ii  isc-dhcp-common        4.2.4-7
ii  libc6                  2.17-92
ii  lsb-base               4.1+Debian12

isc-dhcp-server recommends no packages.

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


-- 
 .''`.   martin f. krafft <madduck at d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
-------------- next part --------------
A non-text attachment was scrubbed...
Name: digital_signature_gpg.asc
Type: application/pgp-signature
Size: 1124 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)
URL: <http://lists.alioth.debian.org/pipermail/pkg-dhcp-devel/attachments/20130825/391136a6/attachment.sig>


More information about the pkg-dhcp-devel mailing list