When starting 2.7.0 in a systemd-nspawn container and with DCO enabled in server mode, OpenVPN throws after 10 seconds the error
dco_get_peer: netlink reports error (-28): Operation not permitted
and then keeps restarting every minute. The same happens when a client tries to connect. A workaround is to set disable_dco in the configuration file. It was running fine with 2.6.19, where apparently DCO was disabled by default. This is arch linux with stock kernel 6.8.13 and systemd 259.2.
When running directly on the host, OpenVPN 2.7.0 runs just fine, with the addition that (unlike 2.6.19) the DCO version is acknowledged at the start:
OpenVPN 2.7.0 [git:makepkg/ee1577744fb09af7+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] [DCO] built on Feb 11 2026
library versions: OpenSSL 3.6.1 27 Jan 2026, LZO 2.10
DCO version: 6.18.13-arch1-1 OpenVPN/openvpn#1 SMP PREEMPT_DYNAMIC Wed, 25 Feb 2026 23:12:35 +0000
The logs when started in contained with DCO enabled/disabled or with the previous version are attached as files.
dco_on.txt
dco_off.txt
2.6.19.txt
When starting 2.7.0 in a systemd-nspawn container and with DCO enabled in server mode, OpenVPN throws after 10 seconds the error
dco_get_peer: netlink reports error (-28): Operation not permittedand then keeps restarting every minute. The same happens when a client tries to connect. A workaround is to set
disable_dcoin the configuration file. It was running fine with 2.6.19, where apparently DCO was disabled by default. This is arch linux with stock kernel 6.8.13 and systemd 259.2.When running directly on the host, OpenVPN 2.7.0 runs just fine, with the addition that (unlike 2.6.19) the DCO version is acknowledged at the start:
OpenVPN 2.7.0 [git:makepkg/ee1577744fb09af7+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] [DCO] built on Feb 11 2026library versions: OpenSSL 3.6.1 27 Jan 2026, LZO 2.10DCO version: 6.18.13-arch1-1 OpenVPN/openvpn#1 SMP PREEMPT_DYNAMIC Wed, 25 Feb 2026 23:12:35 +0000The logs when started in contained with DCO enabled/disabled or with the previous version are attached as files.
dco_on.txt
dco_off.txt
2.6.19.txt