** Also affects: openvpn-dco-dkms (Ubuntu Resolute)
   Importance: Undecided
     Assignee: Massimiliano Pellizzer (mpellizzer)
       Status: Invalid

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

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

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

** Summary changed:

- openvpn-dco-dkms FTBFS on Noble hwe-6.17
+ openvpn-dco-dkms FTBFS on kernel 6.17

** Description changed:

  [ Impact ]
  
  In Noble openvpn-dco-dkms does not compile from source against the
  hwe-6.17 kernel.
  
  ```
- oading new ovpn-dco-0.0+git20231103 DKMS files...
+ Loading new ovpn-dco-0.0+git20231103 DKMS files...
  Building for 6.17.0-7-generic
  Building initial module for 6.17.0-7-generic
  ERROR (dkms apport): kernel package linux-headers-6.17.0-7-generic is not 
supported
  Error! Bad return status for module build on kernel: 6.17.0-7-generic (x86_64)
  Consult /var/lib/dkms/ovpn-dco/0.0+git20231103/build/make.log for more 
information.
  dpkg: error processing package openvpn-dco-dkms (--configure):
-  installed openvpn-dco-dkms package post-installation script subprocess 
returned error exit status 10
+  installed openvpn-dco-dkms package post-installation script subprocess 
returned error exit status 10
  Errors were encountered while processing:
-  openvpn-dco-dkms
+  openvpn-dco-dkms
  needrestart is being skipped since dpkg has failed
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  ```
  
+ The same error shows in Questing with kernel 6.17.
+ 
  [ Fix ]
  
- Patch the code to properly support Linux 6.17 by applying the following 
commits from upstream:
+ For Noble, patch the code to properly support Linux 6.17 by applying the 
following commits from upstream:
  - a08b2fd linux-compat: fix typ0 in comment
  - e4393e8 ovpn-dco: port to 6.15 and add compat hacks
  - b1b490e ovpn-dco: port to 6.16 and add compat hacks
  - 98a25de ovpn-dco: compat hack for 6.15 timer_* API renaming
  - 298bf95 Fix version number for timer API changes
  - 2933a14 ovpn-dco: port to 6.17 and compat hacks
+ 
+ For Questing, patch the code to properly support Linux 6.17 by applying the 
following commits from upstream:
+ - 2933a14 ovpn-dco: port to 6.17 and compat hacks
+ 
  
  [ Test Plan ]
  
  Build and load correctly the dkms on Noble, both on the generic 6.8
  kernel and on the new 6.17 hwe kernel.
  
  $ sudo apt install -y openvpn-dco-dkms
  $ dkms status
  $ sudo modprobe ovpn-dco-v2
  $ lsmod | grep ovpn
  
+ Since Noble current hwe kernel is 6.14 it is necessary to verify 6.14
+ too.
+ 
+ 
+ Build and load correctly the dkms on Questing:
+ 
+ $ sudo apt install -y openvpn-dco-dkms
+ $ dkms status
+ $ sudo modprobe ovpn-dco-v2
+ $ lsmod | grep ovpn
+ 
  [ Regression Potential ]
  
- We may experience regressions in systems that are using 
+ We may experience regressions in systems that are using
  openvpn-dco-dkms,
  especially with kernels >= 6.8 kernel.

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

Title:
  openvpn-dco-dkms FTBFS on kernel 6.17

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to