ocserv 0.11.1 can not fork into background on FreeBSD

Carlos J Puga Medina cpm at fbsd.es
Fri Apr 15 03:50:58 PDT 2016


On Fri, 2016-04-15 at 11:44 +0200, Nikos Mavrogiannopoulos wrote:

Hi Nikos,
> On Thu, Apr 14, 2016 at 9:56 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.

# service ocserv onestop
Stopping ocserv.
Waiting for PIDS: 98988 98989.

Thanks,
-- 
Carlos Jacobo Puga Medina <cpm at fbsd.es>
PGP fingerprint = C60E 9497 5302 793B CC2D  BB89 A1F3 5D66 E6D0 5453
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 603 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/openconnect-devel/attachments/20160415/8a840223/attachment-0001.sig>


More information about the openconnect-devel mailing list