[Buildroot] [PATCH] package/strongswan: add pid dir support for netns

Matthew Weber matthew.weber at rockwellcollins.com
Wed Aug 8 20:24:40 UTC 2018


All,
On Tue, Aug 7, 2018 at 8:41 AM Matt Weber
<matthew.weber at rockwellcollins.com> wrote:
>
> From: Paresh Chaudhary <paresh.chaudhary at rockwellcollins.com>
>
> This patch adds BR2_PACKAGE_STRONGSWAN_PID_DIR support to build
> strongswan with --with-piddir option.
>
> By default 'charon' and starter daemons create their PID files
> and UNIX sockets in '/var/run' directory and that would
> conflict if multiple instances would use it.
> (ie a network-namespaced or multi-vpn configuration)
>
> This patch provides an option to use custom pid directory to
> avoid issue with multiple instances.
>
> For more information, Please visit
> https://wiki.strongswan.org/projects/strongswan/wiki/Netns
>

Rejecting this patch because the problem was better solved with a full
container instead (ie filesystem binds to create unique tmp space).

Matt


More information about the buildroot mailing list