From f311e5d3ad01ff4cf1beb60fcafd21e59579432143336f1570233b1c6a144b3a Mon Sep 17 00:00:00 2001 From: Gang He Date: Wed, 29 Aug 2018 07:27:06 +0000 Subject: [PATCH] Accepting request 632084 from home:ganghe:branches:openSUSE:Factory - Fix lvm2 activation issue when used on top of multipath bsc#998893 + bug-998893_make_pvscan_service_after_multipathd.patch - Fix lvm2 activation issue when used on top of multipath bsc#998893 + bug-998893_make_pvscan_service_after_multipathd.patch - Fix lvm2 activation issue when used on top of multipath bsc#998893 + bug-998893_make_pvscan_service_after_multipathd.patch OBS-URL: https://build.opensuse.org/request/show/632084 OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=230 --- ...make_pvscan_service_after_multipathd.patch | 27 +++++++++++++++++++ device-mapper.changes | 7 +++++ device-mapper.spec | 2 ++ lvm2-clvm.changes | 7 +++++ lvm2-clvm.spec | 2 ++ lvm2.changes | 7 +++++ lvm2.spec | 2 ++ 7 files changed, 54 insertions(+) create mode 100644 bug-998893_make_pvscan_service_after_multipathd.patch diff --git a/bug-998893_make_pvscan_service_after_multipathd.patch b/bug-998893_make_pvscan_service_after_multipathd.patch new file mode 100644 index 0000000..81ab6ea --- /dev/null +++ b/bug-998893_make_pvscan_service_after_multipathd.patch @@ -0,0 +1,27 @@ +From 0da043466ace27eb483114c87ce81feaf00ed682 Mon Sep 17 00:00:00 2001 +From: Eric Ren +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 +--- + scripts/lvm2_pvscan_systemd_red_hat@.service.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/scripts/lvm2_pvscan_systemd_red_hat@.service.in b/scripts/lvm2_pvscan_systemd_red_hat@.service.in +index 03651d5..1d6342f 100644 +--- a/scripts/lvm2_pvscan_systemd_red_hat@.service.in ++++ b/scripts/lvm2_pvscan_systemd_red_hat@.service.in +@@ -4,7 +4,7 @@ Documentation=man:pvscan(8) + StartLimitInterval=0 + BindsTo=dev-block-%i.device + Requires=lvm2-lvmetad.socket +-After=lvm2-lvmetad.socket lvm2-lvmetad.service ++After=lvm2-lvmetad.socket lvm2-lvmetad.service multipathd.service + Before=shutdown.target + Conflicts=shutdown.target + +-- +2.10.2 + diff --git a/device-mapper.changes b/device-mapper.changes index bf0227b..2df6ffa 100644 --- a/device-mapper.changes +++ b/device-mapper.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Aug 29 10:20:30 UTC 2018 - ghe@suse.com + +- Fix lvm2 activation issue when used on top of multipath + bsc#998893 + + bug-998893_make_pvscan_service_after_multipathd.patch + ------------------------------------------------------------------- Mon Jul 23 11:45:20 UTC 2018 - ghe@suse.com diff --git a/device-mapper.spec b/device-mapper.spec index 7ed7bfe..b35ab78 100644 --- a/device-mapper.spec +++ b/device-mapper.spec @@ -58,6 +58,7 @@ Patch1002: fate-309425_display-dm-name-for-lv-name.patch Patch1003: fate-31841_fsadm-add-support-for-btrfs.patch Patch1004: bug-935623_dmeventd-fix-dso-name-wrong-compare.patch Patch1005: bsc1080299-detect-clvm-properly.patch +Patch1006: bug-998893_make_pvscan_service_after_multipathd.patch #SUSE patches 2000+ for device mapper, udev rules Patch2001: bug-1012973_simplify-special-case-for-md-in-69-dm-lvm-metadata.patch @@ -74,6 +75,7 @@ Programs and man pages for configuring and using the device mapper. %patch1003 -p1 %patch1004 -p1 %patch1005 -p1 +%patch1006 -p1 %patch2001 -p1 ### COMMON-PREP-END ### diff --git a/lvm2-clvm.changes b/lvm2-clvm.changes index bf0227b..2df6ffa 100644 --- a/lvm2-clvm.changes +++ b/lvm2-clvm.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Aug 29 10:20:30 UTC 2018 - ghe@suse.com + +- Fix lvm2 activation issue when used on top of multipath + bsc#998893 + + bug-998893_make_pvscan_service_after_multipathd.patch + ------------------------------------------------------------------- Mon Jul 23 11:45:20 UTC 2018 - ghe@suse.com diff --git a/lvm2-clvm.spec b/lvm2-clvm.spec index 9d8db25..98cdcb4 100644 --- a/lvm2-clvm.spec +++ b/lvm2-clvm.spec @@ -59,6 +59,7 @@ Patch1002: fate-309425_display-dm-name-for-lv-name.patch Patch1003: fate-31841_fsadm-add-support-for-btrfs.patch Patch1004: bug-935623_dmeventd-fix-dso-name-wrong-compare.patch Patch1005: bsc1080299-detect-clvm-properly.patch +Patch1006: bug-998893_make_pvscan_service_after_multipathd.patch #SUSE patches 2000+ for device mapper, udev rules Patch2001: bug-1012973_simplify-special-case-for-md-in-69-dm-lvm-metadata.patch @@ -79,6 +80,7 @@ A daemon for using LVM2 Logival Volumes in a clustered environment. %patch1003 -p1 %patch1004 -p1 %patch1005 -p1 +%patch1006 -p1 %patch2001 -p1 ### COMMON-PREP-END ### diff --git a/lvm2.changes b/lvm2.changes index bf0227b..2df6ffa 100644 --- a/lvm2.changes +++ b/lvm2.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Aug 29 10:20:30 UTC 2018 - ghe@suse.com + +- Fix lvm2 activation issue when used on top of multipath + bsc#998893 + + bug-998893_make_pvscan_service_after_multipathd.patch + ------------------------------------------------------------------- Mon Jul 23 11:45:20 UTC 2018 - ghe@suse.com diff --git a/lvm2.spec b/lvm2.spec index c1d503f..55b11b1 100644 --- a/lvm2.spec +++ b/lvm2.spec @@ -68,6 +68,7 @@ Patch1002: fate-309425_display-dm-name-for-lv-name.patch Patch1003: fate-31841_fsadm-add-support-for-btrfs.patch Patch1004: bug-935623_dmeventd-fix-dso-name-wrong-compare.patch Patch1005: bsc1080299-detect-clvm-properly.patch +Patch1006: bug-998893_make_pvscan_service_after_multipathd.patch #SUSE patches 2000+ for device mapper, udev rules Patch2001: bug-1012973_simplify-special-case-for-md-in-69-dm-lvm-metadata.patch @@ -94,6 +95,7 @@ Volume Manager. %patch1003 -p1 %patch1004 -p1 %patch1005 -p1 +%patch1006 -p1 %patch2001 -p1 ### COMMON-PREP-END ###