On Sat, 28 Sep 2024 18:57:05 +0200 Christoph Anton Mitterer <cales...@scientia.org> wrote:
Package: libvirt-daemon
Version: 10.7.0-3
Severity: normal

Hey.

Upgrading the package gives:
Setting up libvirt-daemon (10.7.0-3) ...
/usr/bin/deb-systemd-helper: error: unable to read virtlockd.socket
Setting up libvirt-daemon-driver-nwfilter (10.7.0-3) ...
...
I guess the issue here is the following:

libvirtd.service:Wants=virtlockd.socket
libvirtd.service:After=virtlockd.socket
libvirtd.service:Also=virtlockd.socket


Especially the Also=virtlockd.socket means, that when enabling libvirtd.service, it is attempted to enable virtlockd.socket as well.

You don't have that installed though (as libvirt-daemon does not declare a hard dependency)

pn  libvirt-daemon-lock                    <none>

My recommendation would be to drop the "Also=virtlockd.socket" line from
libvirt.service (and "Also=virtlogd.socket" as well), or upgrade the weak recommends to a depends for both packages.

Michael


Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to