[radvd-devel-l] Wrong PID in PID-file

Reuben Hawkins reubenhwk at gmail.com
Tue Jan 24 23:53:23 EST 2012

On Tue, Jan 24, 2012 at 8:45 PM, Reuben Hawkins <reubenhwk at gmail.com> wrote:
> On Tue, Jan 24, 2012 at 9:25 AM, e9hack <e9hack at googlemail.com> wrote:
>> Hi,
>> radvd version 1.8.4 writes the wrong PID to the PID-file. On my router, I see two radvd
>> processes. The first has PID n, the second PID n+1. The PID-file contains n-1. The
>> PID-file is written bevor the running process calls daemon().
>> Regards,
>> Hartmut
>> --
>> radvd-devel-l mailing list  :  radvd-devel-l at litech.org
>> http://lists.litech.org/listinfo/radvd-devel-l
> Verified.  I'll take a look.  Feel free to submit a patch if you have time.

It appears that 'write_pid_file' only has to move down a few lines
below daemonize....

More information about the radvd-devel-l mailing list