ocserv 0.11.1 can not fork into background on FreeBSD

hshh hunreal at gmail.com
Mon Mar 21 02:13:51 PDT 2016


Hi

Yes, it was reported before.
But I found it only happen while ocserv fork to background. That's the key.

On Mon, Mar 21, 2016 at 5:02 PM, Nikos Mavrogiannopoulos
<n.mavrogiannopoulos at gmail.com> wrote:
> 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)
>
> Hi,
>  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.
>
> regards,
> Nikos



-- 
@hshh



More information about the openconnect-devel mailing list