1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
From: Colin Watson <cjwatson@debian.org>
Date: Thu, 29 May 2025 15:11:06 +0100
Subject: Drop Wants=systemd-networkd-wait-online.service
If the system doesn't have any network interfaces managed by networkd,
this dependency is harmful: `systemd-networkd-wait-online.service` will
fail, and so the system as a whole will be considered degraded by
systemd.
On the other hand, if the system does have network interfaces managed by
networkd, this dependency is redundant: `systemd-networkd.service` has
`Also=systemd-networkd-wait-online.service`, and
`systemd-networkd-wait-online.service` has
`Before=network-online.target`, so a direct dependency from
`yubihsm-connector.service` adds nothing.
Bug-Debian: https://bugs.debian.org/1085147
Last-Update: 2025-05-29
---
deb/yubihsm-connector.service | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/deb/yubihsm-connector.service b/deb/yubihsm-connector.service
index a33d039..b9e2e36 100644
--- a/deb/yubihsm-connector.service
+++ b/deb/yubihsm-connector.service
@@ -5,7 +5,7 @@
Description=YubiHSM connector
Documentation=https://developers.yubico.com/YubiHSM2/Component_Reference/yubihsm-connector/
After=network-online.target
-Wants=network-online.target systemd-networkd-wait-online.service
+Wants=network-online.target
[Service]
Restart=on-abnormal
|