ocserv 0.11.1 can not fork into background on FreeBSD

Nikos Mavrogiannopoulos n.mavrogiannopoulos at gmail.com
Mon Mar 21 02:02:16 PDT 2016

On Sun, Mar 20, 2016 at 4:18 PM, hshh <hunreal at gmail.com> wrote:
> Compiled 0.11.1 on FreeBSD 10.2.
> ocserv can be run as forgeground, but core dump if fork to background.
> ocserv[97088]: sec-mod: Error in pselect(): Bad file descriptor
> ocserv[97087]: error connecting to sec-mod socket
> '/var/run/ocserv-socket.97087': Connection refused
> ocserv[97087]: main: main.c:1144: libev fatal error: (libev) kevent
> kernel: pid 97087 (ocserv), uid 0: exited on signal 6 (core dumped)

 This we reported before but it is unknown to me what's the reason.
The same code works in openbsd. Someone with freebsd should debug and
check the reason for the invalid fd.


More information about the openconnect-devel mailing list