autoinstall fails despite BUILD_EXCLUSIVE
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dkms (Ubuntu) |
Fix Released
|
High
|
Juerg Haefliger | ||
Lunar |
Fix Released
|
High
|
Juerg Haefliger | ||
Mantic |
Fix Released
|
High
|
Juerg Haefliger |
Bug Description
[Impact]
Kernel upgrades fail if DKMS packages are currently installed that include BUILD_EXCLUSIVE directives which skip the DKMS build. In this case, the dkms tool incorrectly returns a non-zero exit status.
$ sudo /etc/kernel/
* dkms: running auto installation service for kernel 6.2.0-20-generic Deprecated feature: REMAKE_INITRD (/var/lib/
Deprecated feature: REMAKE_INITRD (/etc/dkms/
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/
Public certificate (MOK): /var/lib/
Deprecated feature: REMAKE_INITRD (/var/lib/
Error! The /var/lib/
This indicates that it should not be built.
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information. [fail]
[Test Plan]
Install such a DKMS (like [1]), and run:
$ sudo /etc/kernel/
This command should return with exit status '0'.
[1] http://
[Where problems could occur]
This fix changes how DKMS status/results are handled during autoinstall. So problems would only show up if DKMS modules are installed and are being processed (for example during a kernel upgrade or installation). Or if the dkms tool is invoked manually.
[Other info]
The bug was introduced in upstream dkms version 3.0.9 and fixed in 3.0.11.
summary: |
- Deprecated features result in failures + autoinstall fails despite BUILD_EXCLUSIVE |
tags: | added: patch |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in dkms (Ubuntu): | |
assignee: | nobody → Juerg Haefliger (juergh) |
Changed in dkms (Ubuntu Lunar): | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → Juerg Haefliger (juergh) |
Should this really be treated as a failure?