blob: 5b9b2d5748b3f4b4e54720cfda4e46df42aadd4e [file] [log] [blame]
Brad Bishop6a62e0e2019-10-21 08:11:42 -04001From e213ed33a28704f6f538df41a91b7ce95594a4f8 Mon Sep 17 00:00:00 2001
Brad Bishopd7bf8c12018-02-25 22:55:05 -05002From: Hongxu Jia <hongxu.jia@windriver.com>
Brad Bishop6a62e0e2019-10-21 08:11:42 -04003Date: Tue, 15 Oct 2019 18:12:54 +0800
Brad Bishopd7bf8c12018-02-25 22:55:05 -05004Subject: [PATCH] start lvm2-monitor.service after tmp.mount
5
6The lvm2-monitor.service reqires the existence of locking_dir
7("/tmp/lock/lvm"), and unit tmp.mount is to mount /tmp.
8So start lvm2-monitor.service after tmp.mount
9
10Upstream-Status: Inappropriate [oe specific]
11
Brad Bishop6a62e0e2019-10-21 08:11:42 -040012Rebase to v2_03_05
Brad Bishopd7bf8c12018-02-25 22:55:05 -050013Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Andrew Geissler87f5cff2022-09-30 13:13:31 -050014
15Rebase to v2_03_16
16Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Brad Bishopd7bf8c12018-02-25 22:55:05 -050017---
18 scripts/lvm2_monitoring_systemd_red_hat.service.in | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-)
20
21diff --git a/scripts/lvm2_monitoring_systemd_red_hat.service.in b/scripts/lvm2_monitoring_systemd_red_hat.service.in
Andrew Geissler87f5cff2022-09-30 13:13:31 -050022index c0c96e3..2a99a37 100644
Brad Bishopd7bf8c12018-02-25 22:55:05 -050023--- a/scripts/lvm2_monitoring_systemd_red_hat.service.in
24+++ b/scripts/lvm2_monitoring_systemd_red_hat.service.in
25@@ -2,7 +2,7 @@
26 Description=Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling
27 Documentation=man:dmeventd(8) man:lvcreate(8) man:lvchange(8) man:vgchange(8)
Brad Bishop19323692019-04-05 15:28:33 -040028 Requires=dm-event.socket
Andrew Geissler87f5cff2022-09-30 13:13:31 -050029-After=dm-event.socket dm-event.service
30+After=dm-event.socket dm-event.service tmp.mount
Brad Bishop6a62e0e2019-10-21 08:11:42 -040031 Before=local-fs-pre.target shutdown.target
Brad Bishopd7bf8c12018-02-25 22:55:05 -050032 DefaultDependencies=no
33 Conflicts=shutdown.target
34--
Andrew Geissler87f5cff2022-09-30 13:13:31 -0500352.25.1
Brad Bishopd7bf8c12018-02-25 22:55:05 -050036