2020-11-02 16:01:58 +00:00
|
|
|
From e213ed33a28704f6f538df41a91b7ce95594a4f8 Mon Sep 17 00:00:00 2001
|
2018-01-18 23:19:47 +00:00
|
|
|
From: Hongxu Jia <hongxu.jia@windriver.com>
|
2020-11-02 16:01:58 +00:00
|
|
|
Date: Tue, 15 Oct 2019 18:12:54 +0800
|
2018-01-18 23:19:47 +00:00
|
|
|
Subject: [PATCH] start lvm2-monitor.service after tmp.mount
|
|
|
|
|
|
|
|
The lvm2-monitor.service reqires the existence of locking_dir
|
|
|
|
("/tmp/lock/lvm"), and unit tmp.mount is to mount /tmp.
|
|
|
|
So start lvm2-monitor.service after tmp.mount
|
|
|
|
|
|
|
|
Upstream-Status: Inappropriate [oe specific]
|
|
|
|
|
2020-11-02 16:01:58 +00:00
|
|
|
Rebase to v2_03_05
|
2018-01-18 23:19:47 +00:00
|
|
|
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
|
|
---
|
|
|
|
scripts/lvm2_monitoring_systemd_red_hat.service.in | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
|
|
|
diff --git a/scripts/lvm2_monitoring_systemd_red_hat.service.in b/scripts/lvm2_monitoring_systemd_red_hat.service.in
|
2020-11-02 16:01:58 +00:00
|
|
|
index 4bf744a..46766cb 100644
|
2018-01-18 23:19:47 +00:00
|
|
|
--- a/scripts/lvm2_monitoring_systemd_red_hat.service.in
|
|
|
|
+++ b/scripts/lvm2_monitoring_systemd_red_hat.service.in
|
|
|
|
@@ -2,7 +2,7 @@
|
|
|
|
Description=Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling
|
|
|
|
Documentation=man:dmeventd(8) man:lvcreate(8) man:lvchange(8) man:vgchange(8)
|
2020-11-02 16:01:58 +00:00
|
|
|
Requires=dm-event.socket
|
|
|
|
-After=dm-event.socket dm-event.service lvm2-activation.service
|
|
|
|
+After=dm-event.socket dm-event.service lvm2-activation.service tmp.mount
|
|
|
|
Before=local-fs-pre.target shutdown.target
|
2018-01-18 23:19:47 +00:00
|
|
|
DefaultDependencies=no
|
|
|
|
Conflicts=shutdown.target
|
|
|
|
--
|
2020-11-02 16:01:58 +00:00
|
|
|
2.7.4
|
2018-01-18 23:19:47 +00:00
|
|
|
|