Public bug reported:

[ Impact ]

In Noble xtables-addons-dkms does not compile from source against the
hwe-6.17 kernel.

pknock/xt_pknock.c:31:10: fatal error: compat_xtables.h: No such file or 
directory
   31 | #include "compat_xtables.h"
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.

[ Fix ]

Patch the code to properly support linux 6.17.

[ Test case ]

Install the latest linux-6.17 hwe kernel.
Install xtables-addons-dkms:

$ sudo apt install xtables-addons-dkms

Load the modules:

$ sudo modprobe xt_ACCOUNT
$ sudo modprobe compat_xtables
$ sudo modprobe xt_pknock
$ sudo modprobe xt_CHAOS
$ sudo modprobe xt_DELUDE
$ sudo modprobe xt_DHCPMAC
$ sudo modprobe xt_ECHO
$ sudo modprobe xt_IPMARK
$ sudo modprobe xt_LOGMARK
$ sudo modprobe xt_PROTO
$ sudo modprobe xt_SYSRQ
$ sudo modprobe xt_TARPIT
$ sudo modprobe xt_condition
$ sudo modprobe xt_fuzzy
$ sudo modprobe xt_geoip
$ sudo modprobe xt_iface
$ sudo modprobe xt_ipp2p
$ sudo modprobe xt_ipv4options
$ sudo modprobe xt_length2
$ sudo modprobe xt_lscan
$ sudo modprobe xt_psd
$ sudo modprobe xt_quota2

Check the kernel log for possible errors:

$ sudo dmesg

The same procedure must be repeated on linux-6.8 generic kernel to test
for possible regressions.

[ Regression potential ]

We may experience regressions in systems that are using the xtables-addons 
drivers,
especially with kernels >= 6.8 kernel.

** Affects: xtables-addons (Ubuntu)
     Importance: Undecided
     Assignee: Massimiliano Pellizzer (mpellizzer)
         Status: In Progress

** Description changed:

  [ Impact ]
  
  In Noble xtables-addons-dkms does not compile from source against the
  hwe-6.17 kernel.
+ 
+ pknock/xt_pknock.c:31:10: fatal error: compat_xtables.h: No such file or 
directory
+    31 | #include "compat_xtables.h"
+       |          ^~~~~~~~~~~~~~~~~~
+ compilation terminated.
  
  [ Fix ]
  
  Patch the code to properly support linux 6.17.
  
  [ Test case ]
  
  Install the latest linux-6.17 hwe kernel.
  Install xtables-addons-dkms:
  
  $ sudo apt install xtables-addons-dkms
  
  Load the modules:
  
  $ sudo modprobe xt_ACCOUNT
  $ sudo modprobe compat_xtables
  $ sudo modprobe xt_pknock
  $ sudo modprobe xt_CHAOS
  $ sudo modprobe xt_DELUDE
  $ sudo modprobe xt_DHCPMAC
  $ sudo modprobe xt_ECHO
  $ sudo modprobe xt_IPMARK
  $ sudo modprobe xt_LOGMARK
  $ sudo modprobe xt_PROTO
  $ sudo modprobe xt_SYSRQ
  $ sudo modprobe xt_TARPIT
  $ sudo modprobe xt_condition
  $ sudo modprobe xt_fuzzy
  $ sudo modprobe xt_geoip
  $ sudo modprobe xt_iface
  $ sudo modprobe xt_ipp2p
  $ sudo modprobe xt_ipv4options
  $ sudo modprobe xt_length2
  $ sudo modprobe xt_lscan
  $ sudo modprobe xt_psd
  $ sudo modprobe xt_quota2
  
  Check the kernel log for possible errors:
  
  $ sudo dmesg
  
  The same procedure must be repeated on linux-6.8 generic kernel to test
  for possible regressions.
  
- 
  [ Regression potential ]
  
  We may experience regressions in systems that are using the xtables-addons 
drivers,
  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/2133208

Title:
  xtables-addons-dkms FTBFS on Noble hwe-6.17

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xtables-addons/+bug/2133208/+subscriptions


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

Reply via email to