[Pkg-libvirt-maintainers] Bug#1082939: /usr/bin/deb-systemd-helper: error: unable to read virtlockd.socket

Michael Biebl biebl at debian.org
Fri Oct 4 19:57:36 BST 2024


On Sat, 28 Sep 2024 18:57:05 +0200 Christoph Anton Mitterer 
<calestyo at 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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-libvirt-maintainers/attachments/20241004/c10dfc1b/attachment.sig>


More information about the Pkg-libvirt-maintainers mailing list