[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
misc/48868: dhcpd.leases does not exist and is not created by dhcpd, causing it fail when started
>Synopsis: dhcpd.leases does not exist and is not created by dhcpd,
>causing it fail when started
>Arrival-Date: Wed Jun 04 16:30:00 +0000 2014
>Originator: Michai Ramakers
NetBSD main.LAN 6.1.3 NetBSD 6.1.3 (GENERIC) i386
In a stock install, /var/db/dhcpd.leases is not present, and is not created
from /etc/rc.d/dhcpd (for instance).
This causes dhcpd not to run, when enabling it in rc.conf.
I guess this is a design decision; the obvious thing to do is to touch
/var/db/dhcpd.leases, and indeed this behaviour is documented in
However, it may cause unnecessary confusion for new users when enabling dhcpd
with a valid config-file, and perhaps it is acceptable to let /etc/rc.d/dhcpd
touch the leases-file if it didn't yet exist.
1) install clean 6.1.3
2) create a valid /etc/dhcpd.conf
3) enable dhcpd in /etc/rc.conf: 'dhcpd=YES'
4) start dhcpd: '/etc/rc.d/dhcpd start'
5) dhcpd does not run
# touch /var/db/dhcpd.leases
Main Index |
Thread Index |