Hi Martin,

--On Friday, July 11, 2014 02:55:26 PM +0200 Martin Willi <[email protected]> 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 [1], 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.

Thank you!
Dirk
_______________________________________________
Users mailing list
[email protected]
https://lists.strongswan.org/mailman/listinfo/users

Reply via email to