- Package:
- src:wireguard
- Source:
- wireguard
- Submitter:
- Attila Kinali
- Date:
- 2024-10-18 00:24:02 UTC
- Severity:
- important
Hi, wireguard depends on wireguard-dkms as it needs kernel modules. But as of 5.6. wireguard has been part of mainline and people who use newer kernels are now forced to continue to use the dkms package and can't simply switch to the in-tree modules. I would suggest to set wireguard-dkms to suggested. Additionally it might be worthwhile to enable wireguard in the debian shipped kernel package. Attila Kinali
Howdy, The 'wireguard' package is a metapackage that depends on wireguard-tools and 'wireguard-modules | wireguard-dkms', and the current Debian kernels provide the former. This means that if you install the metapackage and have a current kernel, then only the wireguard-tools package is installed. If you for some reason don't have a Debian kernel installed, or on a much older release, then -dkms is pulled in. This seems to be working as expected, and isn't pulling in -dkms on current systems. Is there a bug in this somewhere? Thanks, ~Unit 193 Unit193 @ Libera Unit193 @ OFTC
Howdy, The 'wireguard' package is a metapackage that depends on wireguard-tools and 'wireguard-modules | wireguard-dkms', and the current Debian kernels provide the former. This means that if you install the metapackage and have a current kernel, then only the wireguard-tools package is installed. If you for some reason don't have a Debian kernel installed, or on a much older release, then -dkms is pulled in. This seems to be working as expected, and isn't pulling in -dkms on current systems. Is there a bug in this somewhere? Thanks, ~Unit 193 Unit193 @ Libera Unit193 @ OFTC
Dear Maintainer, In Debian 11 (currently 'testing'), there are no packages which provide 'wireguard-dkms', and 'wireguard-modules' is provided by the standard 'linux- image-<arch>' packages. As a result there is no apparent value in having 'wireguard-tools' recommend either of those. In fact on a system which intentionally does *not* have the 'linux- image-<arch>' package installed, installing 'wireguard-tools' will pull it in unless the user tells it not to, and may pull it in in the future when the 'wireguard-tools' package is upgraded and 'apt upgrade' is run... unless the user once again remember to tell 'apt' to not install recommended packages.
Given that Wireguard has been upstream since Linux 5.5 (more than 4 years ago), I think it really is time to assume that every kernel has it and to stop depending (or even recommending) wireguard-modules | wireguard-dkms. This is continuing to cause surprising behaviour for users with custom kernel packages that don't have that magic Provides, as seen in bug #1085239. Ben.