Update kernel packaging to support forward porting kernels
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Medium
|
Seth Forshee | ||
Precise |
Invalid
|
Undecided
|
Unassigned | ||
Trusty |
Fix Committed
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned | ||
Groovy |
Fix Released
|
Undecided
|
Unassigned | ||
Hirsute |
Fix Released
|
Medium
|
Seth Forshee |
Bug Description
SRU Justification
Impact: Our kernel packaging currently has support for backporting kernels to older releases. This includes appending ~BACKPORT_SUFFIX to the version string for the backport kernel, where BACKPORT_SUFFIX is defined in update.conf. We need to start doing similar forward ported kernels, but BACKPORT_SUFFIX should be appended using a + rather than a ~. Our kernel packaging cannot easily determine whether a + or a ~ is appropriate.
Fix: Move the leading character into BACKPORT_SUFFIX, and do not insert any leading characters from the kernel packaging scripts. Since the script which generates update.conf has access to information from kernel-series, it can more easily determine whether + or ~ is the appropriate leader.
Test Case: Run through the normal steps for updating a backport kernel. The version string generated should have ~SERIES for a backport to an older series, and +SERIES for a backport to a newer series.
Regression Potential: Backport kernels could end up with an incorrect version strings. Since all kernel uploads undergo review, any such errors should be caught before uploading.
CVE References
Changed in linux (Ubuntu Precise): | |
status: | New → Invalid |
Changed in linux (Ubuntu Trusty): | |
status: | New → Fix Committed |
Changed in linux (Ubuntu Xenial): | |
status: | New → Fix Committed |
Changed in linux (Ubuntu Bionic): | |
status: | New → Fix Committed |
Changed in linux (Ubuntu Focal): | |
status: | New → Fix Committed |
Changed in linux (Ubuntu Groovy): | |
status: | New → Fix Committed |
This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification- needed- xenial' to 'verification- done-xenial' . If the problem still exists, change the tag 'verification- needed- xenial' to 'verification- failed- xenial' .
If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.
See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation how to enable and use -proposed. Thank you!