On Thu, Jan 27, 2011 at 03:08:32PM +0100, Harald Dunkel wrote:

> On 01/27/11 14:01, Otto Moerbeek wrote:
> > 
> > -p is prone to race conditions.
> 
> A race condition on writing a pid file in main()?
> It would be very interesting to get more details
> about this.
> 
> 
> Regards
> 
> Harri

in genreal, when things go wrong, a pid file might remain. That file
does not reflect the pid of a pflogd daemon. You might be sending a
HUP to the wrong process. A race condition occurs when pflogd is
restarted, and in the meantime a process reads the pid file to send a
HUP or other signal. 

        -Otto

Reply via email to