Skip to contentSkip to conversation

tools/hotplug: fix systemd unit dependencies

PATCH-for-4.17 Juergen Gross 3 participants 3 messages Nov 6, 2022 – Nov 7, 2022

lore
Share & tools
lore
#0 lore raw

Commit 1283af6465cd ("tools/xenstore: remove XEN_LIB_STORED and XENSTORED_ROOTDIR") removed the systemd file var-lib-xenstored.mount without removing dependencies to this file.

Fixes 1283af6465cd ("tools/xenstore: remove XEN_LIB_STORED and XENSTORED_ROOTDIR")
---
 tools/hotplug/Linux/systemd/xenstored.service.in | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
tools/hotplug/Linux/systemd/xenstored.service.in +2 -3
index 80c1d408a5..261077dc92 100644
@@ -1,7 +1,7 @@
 [Unit]
 Description=The Xen xenstore
-Requires=proc-xen.mount var-lib-xenstored.mount
-After=proc-xen.mount var-lib-xenstored.mount
+Requires=proc-xen.mount
+After=proc-xen.mount
 Before=libvirtd.service libvirt-guests.service
 RefuseManualStop=true
 ConditionPathExists=/proc/xen/capabilities
@@ -16,4 +16,3 @@ ExecStart=@XEN_SCRIPT_DIR@/launch-xenstore
 [Install]
 WantedBy=multi-user.target
 Also=proc-xen.mount
-Also=var-lib-xenstored.mount
Signature · 1 line
2.35.3
#1 lore raw

Hi Juergen,

Quoted 10 lines

-----Original Message-----
Subject: [PATCH-for-4.17] tools/hotplug: fix systemd unit dependencies

Commit 1283af6465cd ("tools/xenstore: remove XEN_LIB_STORED and XENSTORED_ROOTDIR") removed the systemd file var-lib-xenstored.mount without removing dependencies to this file.

Fixes 1283af6465cd ("tools/xenstore: remove XEN_LIB_STORED and

XENSTORED_ROOTDIR")

Kind regards,
Henry

Reviewed-by
#2 lore raw
In reply to Juergen Gross
Quoted 6 lines · Juergen Gross

Commit 1283af6465cd ("tools/xenstore: remove XEN_LIB_STORED and XENSTORED_ROOTDIR") removed the systemd file var-lib-xenstored.mount without removing dependencies to this file.

Fixes 1283af6465cd ("tools/xenstore: remove XEN_LIB_STORED and XENSTORED_ROOTDIR")

Thanks,

Signature · 1 line
Anthony PERARD