[Openswan dev] [PATCH] Problems with "ipsec setup"

Thomas Geulig geulig at nentec.de
Mon Apr 26 11:25:09 EDT 2010

I had some problems with "ipsec setup", "--stop" didn't work, "--status"
said "IPsec stopped" when it was clearly running etc.

The cause for this was that the directory /var/lock/subsys didn't exist
on my (embedded) system. There is a line in _realsetup which possibly
should create it, but the variable $subsysdir is never set (same for

/var/run/pluto is explicitly created in setup, so I added
/var/lock/subsys there. There may be other/better ways to solve this.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: setup.patch
Type: text/x-patch
Size: 606 bytes
Desc: not available
Url : http://lists.openswan.org/pipermail/dev/attachments/20100426/e6f18d3c/attachment.bin 

More information about the Dev mailing list