Subject: Re: dhcpd log rotation
To: Thierry Lacoste <>
From: Jeremy C. Reed <>
List: netbsd-users
Date: 04/05/2006 10:15:47
On Wed, 5 Apr 2006, Thierry Lacoste wrote:

> To make it log to /var/log/dhcpd my /etc/syslog.conf contains
> !dhcpd
> *.*                                                     /var/log/dhcpd
> Now I'd like to rotate /var/log/dhcpd so I put the following line
> in /etc/newsyslog.conf
> /var/log/dhcpd  root:wheel  600  7   100  * Z   /var/run/
> It doesn't work because kill -HUP `cat /var/run/ `
> just kills the server and doesn't restart it.

Since you are using "syslog" to do the logging, you do not have to tell 
dhcpd that a new log will be opened. You don't need the 

 Jeremy C. Reed

echo ':6DB6E88>?;@69876tAEAC8BB5tA6487><' | tr '4-E' 'wu rofIn.lkigemcal'