[radvd-devel-l] radvd not starting with different logmethod than default

Reuben Hawkins reubenhwk at gmail.com
Mon Jan 2 09:52:47 EST 2012


On Fri, Dec 30, 2011 at 7:57 AM, Reuben Hawkins <reubenhwk at gmail.com> wrote:
> On Thu, Dec 29, 2011 at 10:09 AM, Niklas Hagman - Fiber Direkt AB
> <niklas at fiberdirekt.se> wrote:
>> I can not start radvd 1.8.3 when using a different logmethod than default.
>>
>> My goal is to redirect all traffic to a logfile because I get to many
>> "received RA from xxxx::xxxx:xxxx:xxxx:xxxx" in syslog.
>>
>> This works:
>> radvd -u radvd -p /var/run/radvd/radvd.pid
>> radvd -m logfile -u radvd -p /var/run/radvd/radvd.pid --debug 1
>>
>> This does not work:
>> radvd -m logfile -u radvd -p /var/run/radvd/radvd.pid
>>
>> Error is:
>> [Dec 29 11:26:47] radvd: version 1.8.3 started
>> [Dec 29 11:26:47] radvd: Exiting, privsep_read_loop had readn return 0 bytes
>>
>> Same error with version 1.8.0.
>> Distro is ubuntu server 10.04.3 LTS with my own/debian compiled radvd
>> 1.8.3 package.
>> debug 5 output: http://pastebin.com/58vvH01M
>>
>> Regards,
>> Niklas
>>
>> --
>> radvd-devel-l mailing list  :  radvd-devel-l at litech.org
>> http://lists.litech.org/listinfo/radvd-devel-l
>
> Hi Niklas,
>
> This looks like a bug in privsep.  I'm not sure what's causing it.
> I'll take a look over the next week or so.
>
> Thanks,
> Reuben



One thing I've considered doing for a while is to always to privsep.
This would make testing simpler.  Does anybody know any reason why
radvd should not privsep always?



More information about the radvd-devel-l mailing list