** 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"
- | ^~~~~~~~~~~~~~~~~~
+ 31 | #include "compat_xtables.h"
+ | ^~~~~~~~~~~~~~~~~~
compilation terminated.
+
+ pknock/xt_pknock.c:300:17: error: implicit declaration of function
‘del_timer’; did you mean ‘add_timer’? [-Werror=implicit-function-declaration]
+ 300 | del_timer(&rule->timer);
+ | ^~~~~~~~~
+ | add_timer
+ pknock/xt_pknock.c: In function ‘peer_gc’:
+ pknock/xt_pknock.c:357:39: error: implicit declaration of function
‘from_timer’; did you mean ‘mod_timer’? [-Werror=implicit-function-declaration]
+ 357 | struct xt_pknock_rule *rule = from_timer(rule, tl, timer);
+ | ^~~~~~~~~~
+ | mod_timer
+ pknock/xt_pknock.c:357:60: error: ‘timer’ undeclared (first use in this
function); did you mean ‘ktimerd’?
+ 357 | struct xt_pknock_rule *rule = from_timer(rule, tl, timer);
+ | ^~~~~
+ | ktimerd
[ 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.
** Also affects: xtables-addons (Ubuntu Noble)
Importance: Undecided
Status: New
** Changed in: xtables-addons (Ubuntu)
Status: In Progress => Invalid
** Changed in: xtables-addons (Ubuntu Noble)
Status: New => In Progress
** Changed in: xtables-addons (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/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