[Bug 2092061] [NEW] openvpn-dco-dkms FTBS in Noble with linux-6.11-hwe kernel

Launchpad Bug Tracker 2092061 at bugs.launchpad.net
Wed Dec 18 12:28:36 UTC 2024


You have been subscribed to a public bug by Ubuntu Foundations Team Bug Bot (crichton):

[ Impact ]

openvpn-dco-dkms does not compile from source in Noble with kernel 6.11:

In file included from /var/lib/dkms/ovpn-dco/0.0+git20231103/build/drivers/net/ovpn-dco/crypto.h:16,
                 from /var/lib/dkms/ovpn-dco/0.0+git20231103/build/drivers/net/ovpn-dco/addr.h:13,
                 from /var/lib/dkms/ovpn-dco/0.0+git20231103/build/drivers/net/ovpn-dco/peer.h:13,
                 from /var/lib/dkms/ovpn-dco/0.0+git20231103/build/drivers/net/ovpn-dco/ovpn.h:14,
                 from /var/lib/dkms/ovpn-dco/0.0+git20231103/build/drivers/net/ovpn-dco/main.c:12:
/var/lib/dkms/ovpn-dco/0.0+git20231103/build/include/uapi/linux/ovpn_dco.h:14:22: error: expected declaration specifiers or ‘...’ before string constant
   14 | #define OVPN_NL_NAME "ovpn-dco-v2"
      |                      ^~~~~~~~~~~~~
/var/lib/dkms/ovpn-dco/0.0+git20231103/build/drivers/net/ovpn-dco/main.c:263:26: note: in expansion of macro ‘OVPN_NL_NAME’
  263 | MODULE_ALIAS_GENL_FAMILY(OVPN_NL_NAME);
      |                          ^~~~~~~~~~~~

[ Test case ]

Install the latest linux-6.11 kernel on Noble:

$ sudo add-apt-repository ppa:canonical-kernel-team/ppa
$ sudo apt update
$ sudo apt install linux-image-6.11.0-12-generic \
                   linux-modules-6.11.0-12-generic \
                   linux-modules-extra-6.11.0-12-generic \
                   linux-headers-6.11.0-12-generic

Install openvpn-dco-dkms:

$ sudo apt install openvpn-dco-dkms

Load the module:

$ sudo modprobe ovpn-dco-v2

The same procedure should be repeated on linux-6.8 to test for possible
regressions.

[ Fix ]

Patch the code to properly support the new linux 6.11 ABI.

[ Regression potential ]

A regression is unlikely due to the very limited scope of the patch

** Affects: openvpn-dco-dkms (Ubuntu)
     Importance: Undecided
     Assignee: Massimiliano Pellizzer (mpellizzer)
         Status: In Progress

** Affects: openvpn-dco-dkms (Ubuntu Noble)
     Importance: Undecided
     Assignee: Massimiliano Pellizzer (mpellizzer)
         Status: In Progress


** Tags: patch
-- 
openvpn-dco-dkms FTBS in Noble with linux-6.11-hwe kernel
https://bugs.launchpad.net/bugs/2092061
You received this bug notification because you are a member of Ubuntu Sponsors, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list