summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2012-11-01 09:37:15 +0100
committerPeter Rajnoha <prajnoha@redhat.com>2012-11-01 09:37:15 +0100
commitb8c7914e72c6fb819de50acee65b4927f1bcb044 (patch)
tree49caf1fedffce8ba59a0650f890a9824300d78d7
parent59040864206f1fc66e683658f1de5bdef51e9fc4 (diff)
downloaddevice-mapper-multipath-b8c7914e72c6fb819de50acee65b4927f1bcb044.tar.gz
device-mapper-multipath-b8c7914e72c6fb819de50acee65b4927f1bcb044.tar.xz
device-mapper-multipath-b8c7914e72c6fb819de50acee65b4927f1bcb044.zip
Start multipathd.service systemd unit before LVM units.
-rw-r--r--0024-RH-start-multipathd-service-before-lvm.patch11
-rw-r--r--device-mapper-multipath.spec7
2 files changed, 17 insertions, 1 deletions
diff --git a/0024-RH-start-multipathd-service-before-lvm.patch b/0024-RH-start-multipathd-service-before-lvm.patch
new file mode 100644
index 0000000..6e8d216
--- /dev/null
+++ b/0024-RH-start-multipathd-service-before-lvm.patch
@@ -0,0 +1,11 @@
+diff -purN old/multipathd/multipathd.service new/multipathd/multipathd.service
+--- old/multipathd/multipathd.service 2012-10-31 14:40:23.197092673 +0100
++++ new/multipathd/multipathd.service 2012-10-31 14:42:14.174713711 +0100
+@@ -1,6 +1,6 @@
+ [Unit]
+ Description=Device-Mapper Multipath Device Controller
+-Before=iscsi.service iscsid.service
++Before=iscsi.service iscsid.service lvm2-activation-early.service lvm2-lvmetad.service
+ After=syslog.target
+ ConditionPathExists=/etc/multipath.conf
+
diff --git a/device-mapper-multipath.spec b/device-mapper-multipath.spec
index ae29ff1..9796cb8 100644
--- a/device-mapper-multipath.spec
+++ b/device-mapper-multipath.spec
@@ -1,7 +1,7 @@
Summary: Tools to manage multipath devices using device-mapper
Name: device-mapper-multipath
Version: 0.4.9
-Release: 35%{?dist}
+Release: 36%{?dist}
License: GPL+
Group: System Environment/Base
URL: http://christophe.varoqui.free.fr/
@@ -31,6 +31,7 @@ Patch0020: 0020-RH-netapp-config.patch
Patch0021: 0021-RH-fix-oom-adj.patch
Patch0022: 0022-RHBZ-864368-disable-libdm-failback.patch
Patch0023: 0023-RHBZ-866291-update-documentation.patch
+Patch0024: 0024-RH-start-multipathd-service-before-lvm.patch
# runtime
Requires: %{name}-libs = %{version}-%{release}
@@ -106,6 +107,7 @@ kpartx manages partition creation and removal for device-mapper devices.
%patch0021 -p1
%patch0022 -p1
%patch0023 -p1
+%patch0024 -p1
cp %{SOURCE1} .
%build
@@ -192,6 +194,9 @@ bin/systemctl --no-reload enable multipathd.service >/dev/null 2>&1 ||:
%{_mandir}/man8/kpartx.8.gz
%changelog
+* Thu Nov 01 2012 Peter Rajnoha <prajnoha@redhat.com> 0.4.9-36
+- Start multipathd.service systemd unit before LVM units.
+
* Thu Oct 24 2012 Benjamin Marzinski <bmarizns@redhat.com> 0.4.9-35
- Add 0022-RHBZ-864368-disable-libdm-failback.patch
* make kpartx and multiapthd disable libdm failback device creation