Restarting dhcpd and loosing known hosts

Jeff Collyer jwc3f at virginia.edu
Fri Aug 12 15:02:10 UTC 2011


We are running 4.2.1-P1 on a pair of ubuntu boxes.  We use omshell to
add host definitions and use the 'deny known' and 'deny unknown'
directives to get folks on the right IP range.

Everything has been working great, except when I have to make a config
change and restart the servers.  On restart (the ubuntu stop script
seems to send a SIGTERM(15) to the process),  it appears that the
server isn't committing/writing its known hosts to the leases file.
After restart the server doesn't have host definitions for many hosts
it previously knew about.

I'm checking this before and after with a perl script I wrote when we
first saw this problem, and our users are also complaining about
getting assigned to the wrong ip ranges.

Should I be sending a different signal to get the process to more
gracefully exit and write out its changes beforehand?  Or is something
else at work here.  Has anyone else seen this?


----
Jeff



More information about the dhcp-users mailing list