Depends on wireguard-modules | wireguard-dkms are inverted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
wireguard (Ubuntu) |
Fix Released
|
High
|
Andy Whitcroft | ||
Xenial |
Fix Released
|
High
|
Andy Whitcroft | ||
Bionic |
Fix Released
|
High
|
Andy Whitcroft | ||
Focal |
Fix Released
|
High
|
Andy Whitcroft | ||
Groovy |
Fix Released
|
High
|
Andy Whitcroft |
Bug Description
[Impact]
Removal of the previously official PPA package can lead to installation of an unrelated (and unbootable) kernel in preference to the official DKMS package.
[Test Case]
Install wireguard from a old kernel (or a kernel such as linux-oem-osp1 which does not yet have builtin modules) and note that linux-gke or similar is an installation candidate.
[Regression Potential]
Watch out for installation of the wireguard-dkms package when a kernel which does support wireguard natively is installed.
[Other Info]
Wishing to expedite release of these packages as we are hitting this in the wild.
=== 8< === 8< ===
wireguard depends on wireguard-modules | wqireguard-dkms. This is inverted. This will default to installing wireguard-modules in preference to wireguard-dkms when neither is installed. In Ubuntu this leads us to install an unrelated kernel to resolve the lack. We should in that case install wireguard-dkms.
description: | updated |
description: | updated |
tags: |
added: verification-done-focal removed: verification-needed-focal |
Should it turn out that Debian (where this order comes from) needs foo-modules | foo-dkms for their own internal ordering then we should invent a new keyword and switch to that:
Depends: foo-modules | foo-dkms | foo-builtin
Then we can provides wireguard-builtin instead.