[strongSwan] Small Problems with 5.2
dha at heise.de
Fri Jul 11 15:41:00 CEST 2014
--On Friday, July 11, 2014 02:55:26 PM +0200 Martin Willi
<martin at strongswan.org> wrote:
> Thanks for the update. I could reproduce the issue, it happens when
> starter forks() to the background. I haven't seen that, as starter
> logs to a different file here.
ah yes I use auth.log for all strongswan related lines.
> Due to , starter closefrom()s all open file descriptors after the
> fork. As we now use libstrongswan to manage IPC sockets, this won't
> work. The file descriptor watcher class uses a pipe() to signal FDSET
> changes. And the closefrom() just kills our pipe.
> Not sure what the best approach is to address this, but the
> closefrom() is definitely not that elegant. The attached patch fixes
> the issue here.
tested and works.
More information about the Users