ocserv 0.11.1 can not fork into background on FreeBSD

Nikos Mavrogiannopoulos n.mavrogiannopoulos at gmail.com
Fri Apr 15 04:11:31 PDT 2016


On Fri, Apr 15, 2016 at 12:50 PM, Carlos J Puga Medina <cpm at fbsd.es> wrote:
>> > > > (libev) kevent
>> > > > Is someone working to fix this issue?
>> > > Not that I know of. Someone should debug that on freebsd
>> > > preferrably
>> > > using ocserv's master branch. As it is on startup it looks
>> > > something
>> > > easy to address once someone takes a look on the invalid
>> > > descriptor
>> > > and its history.
>> > The problem started when ocserv was converted to use libev.
>> > https://gitlab.com/ocserv/ocserv/commit/0e604b8a9f3eb2421779fe8fa13
>> > 1470
>> > 8b4011b78
>> Thank you. That could be related with libev's default backend in
>> freebsd. Could you try with a simple poll as backend?
> Now ocserv starts/stops properly, so it works fine into background.
> # service ocserv onestart
> Starting ocserv.

Note that this is not a proper fix, but rather a work-around. If you
could send me the output of valgrind without the patch applied, it
would be great help.

regards,
Nikos



More information about the openconnect-devel mailing list