[pve-devel] [PATCH pve-kernel] fix #3781: add Provides: wireguard-modules to control.in

Stoiko Ivanov s.ivanov at proxmox.com
Fri Dec 10 18:33:09 CET 2021


On Fri, 10 Dec 2021 18:27:39 +0100
Thomas Lamprecht <t.lamprecht at proxmox.com> wrote:

> On 10.12.21 17:49, Stoiko Ivanov wrote:
> > without this line `apt install wireguard` pulls in Debian's kernel +
> > firmware which confilcts with pve-firmware - forcing users to install
> > via `apt install --no-install-recommends wireguard-tools` in order
> > to get the userspace utils.
> > 
> > For Debian's upstream kernel the linux-image-amd64 provides the
> > modules [0] - since pve-kernel- at KVNAME@ already provides linux-image
> > this should be the place where we add the provides
> > 
> > versioned dependency added since wireguard has a versioned dependency
> > on wireguard-modules.
> > 
> > [0] https://salsa.debian.org/kernel-team/linux/-/blob/master/debian/templates/control.image.meta.in  
> 
> did we actually had users run into this? I'm probably way to accustomed to
> just installing `wireguard-tools` that I never even noticed that there's a
> meta package - I mean wireguard got mainlined with 5.6, that was released on
> 2020-01-26, so rather ancient ;-P
> 
> anyhow, lgtm

well - at least the reporter in:
https://bugzilla.proxmox.com/show_bug.cgi?id=3781

also - when installing `wireguard-tools` on a (slightly older) VM of mine
it tries to pull in `apparmor linux-image-5.10.0-9-rt-amd64
linux-image-rt-amd64 wireguard-tools`
(since wireguard-tools Recommends wireguard-modules)

not a problem per se - but ever since the few reports of people
uninstalling pve-kernel (since linux-image-amd64 started depending on
linux-firmware, which uninstalled pve-firmware) - I'm a bit weary of
keeping Debian's stock kernel installed in parallel

(my first draft for this report was also - marking it as RESOVLED
WORKSFORME though ;)





More information about the pve-devel mailing list