Editing dhcpd.conf without corrupting leases

Chuck Anderson cra at WPI.EDU
Mon Apr 13 16:32:31 UTC 2009

On Mon, Apr 13, 2009 at 11:18:17AM -0500, Sean Kelly wrote:
> My working theory is that the SIGTERM from `/etc/init.d/dhcpd restart` is
> happening in the middle of a lease file append, thus causing it to become a
> corrupt leasefile and then making dhcpd fail on restart. That is the
> easiest explanation I've been able to come up with.

You can test the config file and leases file before restarting:

dhcpd -T -t

More information about the dhcp-users mailing list