openafs 1.8.0~pre5-1ubuntu1 fails to build on 5.0 kernels
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openafs (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Medium
|
Connor Kuehl |
Bug Description
[Impact]
* The openafs DKMS module fails to build on 5.0 kernels due to changes in the kernel API between 4.15 and 5.0. This affects the Bionic HWE{-edge} kernels which are based on 5.0.
[Test Case]
* Install the `openafs` dkms modules package (sudo apt install openafs-
Expected result: the package installs without any build-time errors, and the module is listed when `sudo dkms status` is ran.
Actual result: the package installation fails because the openafs dkms module fails to build with compilation errors
[Testing]
These instructions were carried out in an amd64 Bionic virtual machine with the 4.15 Bionic kernel and the 5.0 Bionic HWE kernel.
* Install the 5.0 kernel (sudo apt update; sudo apt install linux-image-
* Install `openafs-
* Confirm the package installs correctly on 4.15 and 5.0 kernels (it should install for both). Run "sudo dkms status" and ensure it's listed there.
If it doesn't install for both kernels, you can prompt it to install for a specific kernel like this: "sudo dkms install openafs/1.8.0pre5 -k 4.15.0-
[Regression Potential]
Low. These changes use preprocessor define macros that are deduced at configuration time to tell the package to act "normal" if a given feature exists or doesn't exist.
5.0 is also already the HWE kernel in bionic:
# apt show linux-image- generic- hwe-18. 04 | head -2 generic- hwe-18. 04
...
Package: linux-image-
Version: 5.0.0.23.80
Using the 1.8.3 kernel in the openafs PPA, added a few days ago,
works with the 5.0 kernel.