I just added the openvpn repo to my Ubuntu 24.04 machine (virtual) and updated the DCO to 0.2.20251017-noble0 and openvpn to 2.7.4.
However, when I rebooted, and checked, openvpn --version gives me DCO version: N/A
Here's my terminal output:
root@hpg9vpn:/home/farokh# apt update
Hit:1 http://us.archive.ubuntu.com/ubuntu noble InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:3 http://security.ubuntu.com/ubuntu noble-security InRelease
Hit:4 http://us.archive.ubuntu.com/ubuntu noble-backports InRelease
Hit:5 https://build.openvpn.net/debian/openvpn/stable noble InRelease
Get:6 https://build.openvpn.net/debian/openvpn/stable noble/main amd64 Packages [10.9 kB]
Fetched 10.9 kB in 2s (7,269 B/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
2 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@hpg9vpn:/home/farokh# apt list --upgradable
Listing... Done
openvpn-dco-dkms/noble 0.2.20251017-noble0 all [upgradable from: 0.0+git20231103-1ubuntu1.2]
openvpn/noble 2.7.4-noble1 amd64 [upgradable from: 2.6.19-0ubuntu0.24.04.1]
root@hpg9vpn:/home/farokh# apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
Get more security updates through Ubuntu Pro with 'esm-apps' enabled:
opensc opensc-pkcs11
Learn more about Ubuntu Pro at https://ubuntu.com/pro
The following packages will be upgraded:
openvpn openvpn-dco-dkms
2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 740 kB of archives.
After this operation, 64.5 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 https://build.openvpn.net/debian/openvpn/stable noble/main amd64 openvpn amd64 2.7.4-noble1 [701 kB]
Get:2 https://build.openvpn.net/debian/openvpn/stable noble/main amd64 openvpn-dco-dkms all 0.2.20251017-noble0 [39.2 kB]
Fetched 740 kB in 1s (618 kB/s)
Preconfiguring packages ...
(Reading database ... 130014 files and directories currently installed.)
Preparing to unpack .../openvpn_2.7.4-noble1_amd64.deb ...
Unpacking openvpn (2.7.4-noble1) over (2.6.19-0ubuntu0.24.04.1) ...
Preparing to unpack .../openvpn-dco-dkms_0.2.20251017-noble0_all.deb ...
Module ovpn-dco-0.0+git20231103 for kernel 6.8.0-110-generic (x86_64).
Before uninstall, this module version was ACTIVE on this kernel.
ovpn-dco-v2.ko.zst:
- Uninstallation
- Deleting from: /lib/modules/6.8.0-110-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
depmod.........
Module ovpn-dco-0.0+git20231103 for kernel 6.8.0-111-generic (x86_64).
Before uninstall, this module version was ACTIVE on this kernel.
ovpn-dco-v2.ko.zst:
- Uninstallation
- Deleting from: /lib/modules/6.8.0-111-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
depmod......
Deleting module ovpn-dco-0.0+git20231103 completely from the DKMS tree.
Unpacking openvpn-dco-dkms (0.2.20251017-noble0) over (0.0+git20231103-1ubuntu1.2) ...
Setting up openvpn-dco-dkms (0.2.20251017-noble0) ...
Loading new ovpn-dco-0.2.20251017 DKMS files...
Building for 6.8.0-111-generic
Building initial module for 6.8.0-111-generic
Done.
ovpn-dco-v2.ko.zst:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/6.8.0-111-generic/updates/dkms/
depmod....
Setting up openvpn (2.7.4-noble1) ...
A reboot is required to replace the running openvpn.
Please reboot the system as soon as possible.
Processing triggers for man-db (2.12.0-4build2) ...
Scanning processes...
Scanning candidates...
Scanning linux images...
Running kernel seems to be up-to-date.
Restarting services...
Service restarts being deferred:
systemctl restart openvpn@vpn-asb.service
No containers need to be restarted.
No user sessions are running outdated binaries.
No VM guests are running outdated hypervisor (qemu) binaries on this host.
root@hpg9vpn:/home/farokh# shutdown -r now
Broadcast message from root@hpg9vpn on pts/2 (Mon 2026-05-04 00:50:08 UTC):
The system will reboot now!
root@hpg9vpn:/home/farokh# Read from remote host 10.184.0.200: Connection reset by peer
Connection to 10.184.0.200 closed.
client_loop: send disconnect: Broken pipe
farokh@Mac-mini ~ % ssh hpg9-vpn
farokh@10.184.0.200's password:
Welcome to Ubuntu 24.04.4 LTS (GNU/Linux 6.8.0-111-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/pro
System information as of Mon May 4 12:53:19 AM UTC 2026
System load: 0.22 Processes: 305
Usage of /: 6.2% of 96.88GB Users logged in: 0
Memory usage: 8% IPv4 address for ens160: 10.184.0.200
Swap usage: 0%
* Strictly confined Kubernetes makes edge and IoT secure. Learn how MicroK8s
just raised the bar for easy, resilient and secure K8s cluster deployment.
https://ubuntu.com/engage/secure-kubernetes-at-the-edge
Expanded Security Maintenance for Applications is not enabled.
0 updates can be applied immediately.
2 additional security updates can be applied with ESM Apps.
Learn more about enabling ESM Apps service at https://ubuntu.com/esm
Last login: Mon May 4 00:45:55 2026 from 10.184.0.173
farokh@hpg9vpn:~$ sudo su
[sudo] password for farokh:
root@hpg9vpn:/home/farokh# openvpn --version
OpenVPN 2.7.4 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] [DCO]
library versions: OpenSSL 3.0.13 30 Jan 2024, LZO 2.10
DCO version: N/A
Originally developed by James Yonan
Copyright (C) 2002-2026 OpenVPN Inc <sales@openvpn.net>
Compile time defines: enable_async_push=no enable_comp_stub=no enable_crypto_ofb_cfb=yes enable_dco=yes enable_dco_arg=yes enable_debug=yes enable_dependency_tracking=no enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown enable_dns_updown_by_default=yes enable_fast_install=needless enable_fragment=yes enable_iproute2=no enable_libtool_lock=yes enable_lz4=yes enable_lzo=yes enable_maintainer_mode=no enable_management=yes enable_ntlm=yes enable_option_checking=no enable_pam_dlopen=no enable_pedantic=no enable_pkcs11=yes enable_plugin_auth_pam=yes enable_plugin_down_root=yes enable_plugins=yes enable_port_share=yes enable_selinux=no enable_shared=yes enable_shared_with_static_runtimes=no enable_silent_rules=no enable_small=no enable_static=yes enable_systemd=yes enable_unit_tests=no enable_werror=no enable_win32_dll=yes enable_wolfssl_options_h=yes enable_x509_alt_username=yes with_aix_soname=aix with_crypto_library=openssl with_gnu_ld=yes with_mem_check=no with_openssl_engine=auto with_sysroot=no
Any ideas what I should be looking for?
Thanks.