xtables-addons-dkms FTBS with linux 6.2 in jammy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xtables-addons (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
xtables-addons-dkms fails to build with linux 6.2 in jammy:
/var/lib/
70 | if (!ret || hotdrop || (unsigned int)prandom_u32() > delude_percentage)
| ^~~~~~~~~~~
| get_random_u32
[Test case]
$ sudo apt install xtables-addons-dkms
With the fix applied:
- hwe kernel 6.2:
Building for 6.2.0-25-generic
Building initial module for 6.2.0-25-generic
EFI variables are not supported on this system
/sys/firmware/
Done.
xt_ACCOUNT.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/
...
- release kernel 5.15:
Building for 5.15.0-77-generic
Building initial module for 5.15.0-77-generic
EFI variables are not supported on this system
/sys/firmware/
Done.
xt_ACCOUNT.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/
...
[Fix]
Backport the patch(es) from Lunar to properly support the new Linux 6.2 kernel ABI.
[Regression potential]
Xtables-addons provides extra modules for iptables not present in the upstream kernel, so we may experience networking/
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: xtables-addons-dkms 3.19-1
ProcVersionSign
Uname: Linux 6.2.0-23-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckR
Date: Tue Jun 13 12:12:24 2023
PackageArchitec
SourcePackage: xtables-addons
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | added: patch |
Correct version to fix all the build bugs with linux 6.2 (ignore the previous patches).