[radvd-devel-l] Wrong PID in PID-file
reubenhwk at gmail.com
Wed Jan 25 00:11:37 EST 2012
On Tue, Jan 24, 2012 at 8:53 PM, Reuben Hawkins <reubenhwk at gmail.com> wrote:
> 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:
>>> 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().
>>> radvd-devel-l mailing list : radvd-devel-l at litech.org
>> 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....
Here's a fix committed to master...
More information about the radvd-devel-l