Public bug reported:

[ 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

** Also affects: openvpn-dco-dkms (Ubuntu Noble)
   Importance: Undecided
       Status: New

** Changed in: openvpn-dco-dkms (Ubuntu Noble)
       Status: New => In Progress

** Changed in: openvpn-dco-dkms (Ubuntu Noble)
     Assignee: (unassigned) => Massimiliano Pellizzer (mpellizzer)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2092061

Title:
  openvpn-dco-dkms FTBS in Noble with linux-6.11-hwe kernel

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openvpn-dco-dkms/+bug/2092061/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to