[systemd-devel] Systemd-nspawn: Cannot create tun device in container
Lennart Poettering
lennart at poettering.net
Wed Oct 8 05:05:15 PDT 2014
On Fri, 03.10.14 10:46, James Lott (james at lottspot.com) wrote:
> Hello, list!
>
> In some work I've been doing with systemd-nspawn containers, I've been trying
> to connect one of my containers to an openvpn network. This conteiner is being
> run with the --network-bridge flag to setup its networking, so according to the
> documentation, should retain CAP_NET_ADMIN capabilities. However, the
> container appears to be unable to create a new tun device
>
> [root at lanvpn ~]# ip tuntap add dev tun0 mode tun
> open: No such file or directory
Can you check with strace what precisely fails here?
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list