[strongSwan] openvz vps error on strongwan kernel-libipsec

Tobias Brunner tobias at strongswan.org
Thu Jul 9 10:27:19 CEST 2015


> 00[LIB] failed to open /dev/net/tun: Operation not permitted
> 00[KNL] failed to create TUN device

Looks like your user or VPS is not allowed to create TUN devices,
kernel-libipsec won't work without this.

> 08[DMN] thread 8 received 11
> 09[DMN] thread 9 received 11
> 10[DMN] thread 10 received 11

These threads all cause a segmentation fault when they try to access
their respective blocking queue instance.  Perhaps your build is
inconsistent (e.g. an older version of libstrongswan mixed with a newer
build of libipsec).  You could try running strongSwan in GDB (e.g. via
`ipsec start --attach-gdb`) to find out more.  Also try uninstalling any
previously installed versions of strongSwan.


More information about the Users mailing list