diff mbox series

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

Message ID 20221106061517.15602-1-jgross@suse.com (mailing list archive)
State New, archived
Headers show
Series [PATCH-for-4.17] tools/hotplug: fix systemd unit dependencies | expand

Commit Message

Jürgen Groß Nov. 6, 2022, 6:15 a.m. UTC
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")
Signed-off-by: Juergen Gross <jgross@suse.com>
---
 tools/hotplug/Linux/systemd/xenstored.service.in | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

Comments

Henry Wang Nov. 6, 2022, 6:17 a.m. UTC | #1
Hi Juergen,

> -----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")
> Signed-off-by: Juergen Gross <jgross@suse.com>

Release-acked-by: Henry Wang <Henry.Wang@arm.com>

Kind regards,
Henry
Anthony PERARD Nov. 7, 2022, 5:24 p.m. UTC | #2
On Sun, Nov 06, 2022 at 07:15:17AM +0100, Juergen Gross wrote:
> 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")
> Signed-off-by: Juergen Gross <jgross@suse.com>

Reviewed-by: Anthony PERARD <anthony.perard@citrix.com>

Thanks,
diff mbox series

Patch

diff --git a/tools/hotplug/Linux/systemd/xenstored.service.in b/tools/hotplug/Linux/systemd/xenstored.service.in
index 80c1d408a5..261077dc92 100644
--- a/tools/hotplug/Linux/systemd/xenstored.service.in
+++ b/tools/hotplug/Linux/systemd/xenstored.service.in
@@ -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