ability to install dkms without version checking and retire it when kernel fixed issue
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OEM Priority Project |
Fix Released
|
Critical
|
Alex Tu | ||
dkms (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
Disco |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
refer to https:/
[Impact]
to have a way for this case
"user need to force install the dkms, but also would like to retire that dkms once kernel fixes the issue."
- upstream patch : https:/
[Test case]
1. install the dkms package which already patched
2. install a DKMS which has file content "{dkms name}_version-
- the installation should ignore module version checking.
3. update that installed DKMS to a new one which added OBSOLETE_BY in dkms.conf
- on the kernel which version lower than OBSOLETE_BY, the dkms should be installed.
- on the kernel which version higher than OBSOLETE_BY, the dkms should NOT be installed.
[Regression potential]
medium as it touched the version sanity. This change already there in upstream.
Changed in oem-priority: | |
assignee: | nobody → Alex Tu (alextu) |
importance: | Undecided → High |
Changed in oem-priority: | |
importance: | High → Critical |
tags: |
added: verification-done removed: verification-needed |
Changed in oem-priority: | |
status: | New → Fix Released |
a test result here for reference:
in my system there're 2 kernels 4.15.0-1030 and 4.15.0-1045
1. installed dkms from [1], which included the proposed patch. BY="4.15. 0-1033" , and set 'FORCE' already.
2. install dkms from [2], which set OBSOLETE_
from the attached message during installation,
- for kernel 4.15.0-1030: line 4604 checked srcversion, but still install dkms because of 'FORCE' be set
- for kernel 4.15.0-1045: line 9419 checked obsolete value, then stop install dkms.
[1]:https:/ /code.launchpad .net/~alextu/ +recipe/ 2.3-3ubuntu9. 5-closes89 /code.launchpad .net/~alextu/ +recipe/ 2.3-3ubuntu9. 5-closes89- dkms
[2]:https:/