bfdd2ee039
- Add missing patch, which mistakenly removed in lvm2 update + bug-998893_make_pvscan_service_after_multipathd.patch - Change lvm2.spec for fixing build error + lvm2.spec OBS-URL: https://build.opensuse.org/request/show/804806 OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=271
24 lines
821 B
Diff
24 lines
821 B
Diff
From 0da043466ace27eb483114c87ce81feaf00ed682 Mon Sep 17 00:00:00 2001
|
|
From: Eric Ren <zren@suse.com>
|
|
Date: Thu, 6 Apr 2017 11:22:30 +0800
|
|
Subject: [PATCH] systemd service: make pvscan service after multipathd
|
|
|
|
bsc#998893
|
|
Signed-off-by: Eric Ren <zren@suse.com>
|
|
|
|
2020-05-13:
|
|
lvm2-lvmetad had been removed, so this patch was modified too.
|
|
Signed-off-by: Heming zhao <heming.zhao@suse.com>
|
|
---
|
|
|
|
diff -Nupr a/scripts/lvm2-pvscan.service.in b/scripts/lvm2-pvscan.service.in
|
|
--- a/scripts/lvm2-pvscan.service.in 2020-05-13 11:28:58.290210992 +0800
|
|
+++ b/scripts/lvm2-pvscan.service.in 2020-05-13 11:29:42.997788967 +0800
|
|
@@ -4,6 +4,7 @@ Documentation=man:pvscan(8)
|
|
DefaultDependencies=no
|
|
StartLimitIntervalSec=0
|
|
BindsTo=dev-block-%i.device
|
|
+After=multipathd.service
|
|
Before=shutdown.target
|
|
Conflicts=shutdown.target
|