[strongSwan-dev] [PATCH] starter: Don't monitor child if debugger is attached

Martin Willi martin at strongswan.org
Fri Aug 8 10:08:48 CEST 2014


Hi Thomas,

> Which reminds me of this tiny patch I have in stash. It would
> certainly be helpful if the starter did not watch charon
> with gdb attached.

Thanks for the patch. After pushing that to master, I've noticed that
this change has an unwanted side effect: starter does not wait for
charon startup, but just goes on. This implies that it tries to load
ipsec.conf through the stroke interface, which is not available. On my
system, this breaks configuration loading.

Should we instead just wait indefinitely before returning here?

Regards
Martin



More information about the Dev mailing list