[Pkg-libvirt-commits] [Git][libvirt-team/libvirt][debian/latest] patches: Add debian/Drop-inter-package-Also-lines-[...]
Andrea Bolognani (@abologna)
gitlab at salsa.debian.org
Mon Apr 21 12:41:21 BST 2025
Andrea Bolognani pushed to branch debian/latest at Libvirt Packaging Team / libvirt
Commits:
07012bee by Andrea Bolognani at 2025-04-21T12:41:24+02:00
patches: Add debian/Drop-inter-package-Also-lines-[...]
Closes: #1082939
- - - - -
2 changed files:
- + debian/patches/debian/Drop-inter-package-Also-lines-from-libvirtd.service.patch
- debian/patches/series
Changes:
=====================================
debian/patches/debian/Drop-inter-package-Also-lines-from-libvirtd.service.patch
=====================================
@@ -0,0 +1,37 @@
+From: Andrea Bolognani <eof at kiyuko.org>
+Date: Sun, 13 Apr 2025 23:29:20 +0200
+Subject: Drop inter-package Also= lines from libvirtd.service
+
+systemctl handles these lines gracefully even when the
+corresponding unit is not present, e.g. because the daemon-lock
+package is not installed, but deb-systemd-helper doesn't. As a
+temporary workaround until this limitation is addressed, drop
+the lines triggering the failure.
+
+Note that we would technically only need to drop the reference
+to virtlockd.socket, since the daemon-log package is a hard
+dependency of the daemon package and thus we know that
+virtlogd.socket is always going to be present, but being more
+aggressive for consistency's sake seems preferable.
+
+Bug-Debian: https://bugs.debian.org/1082939
+Bug-Debian: https://bugs.debian.org/1091519
+
+Forwarded: not-needed
+---
+ src/remote/libvirtd.service.in | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/src/remote/libvirtd.service.in b/src/remote/libvirtd.service.in
+index b0a062e..073555e 100644
+--- a/src/remote/libvirtd.service.in
++++ b/src/remote/libvirtd.service.in
+@@ -36,8 +36,6 @@ Restart=on-failure
+
+ [Install]
+ WantedBy=multi-user.target
+-Also=virtlockd.socket
+-Also=virtlogd.socket
+ Also=libvirtd.socket
+ Also=libvirtd-ro.socket
+ Also=libvirtd-admin.socket
=====================================
debian/patches/series
=====================================
@@ -2,3 +2,4 @@ backport/cpu_map-Install-Ampere-1-ARM-CPU-models.patch
debian/Debianize-libvirt-guests.patch
debian/apparmor_profiles_local_include.patch
debian/Use-sensible-editor-by-default.patch
+debian/Drop-inter-package-Also-lines-from-libvirtd.service.patch
View it on GitLab: https://salsa.debian.org/libvirt-team/libvirt/-/commit/07012beeeb8603cc4039de5105b530545f56fe2c
--
View it on GitLab: https://salsa.debian.org/libvirt-team/libvirt/-/commit/07012beeeb8603cc4039de5105b530545f56fe2c
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-libvirt-commits/attachments/20250421/5eeaa93e/attachment-0001.htm>
More information about the Pkg-libvirt-commits
mailing list