[initscripts] Add patch for multipath/udev issue. (#723357, <bmarzins at redhat.com>)

Bill Nottingham notting at fedoraproject.org
Fri Jul 22 17:43:06 UTC 2011


commit 067b5ca6da8bb0ffc334f3fc3010d98226845d17
Author: Bill Nottingham <notting at redhat.com>
Date:   Fri Jul 22 13:41:15 2011 -0400

    Add patch for multipath/udev issue. (#723357, <bmarzins at redhat.com>)

 initscripts.spec       |    7 ++++++-
 multipath-nosync.patch |   12 ++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/initscripts.spec b/initscripts.spec
index e35161d..1d0f0a9 100644
--- a/initscripts.spec
+++ b/initscripts.spec
@@ -8,7 +8,7 @@ Version: 9.31
 # ppp-watch is GPLv2+, everything else is GPLv2
 License: GPLv2 and GPLv2+
 Group: System Environment/Base
-Release: 1%{?dist}
+Release: 2%{?dist}
 URL: http://fedorahosted.org/releases/i/n/initscripts/
 Source: http://fedorahosted.org/releases/i/n/initscripts/initscripts-%{version}.tar.bz2
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
@@ -60,6 +60,7 @@ Requires(pre): /usr/sbin/groupadd
 Requires(post): /sbin/chkconfig, coreutils
 Requires(preun): /sbin/chkconfig
 BuildRequires: glib2-devel popt-devel gettext pkgconfig
+Patch0: multipath-nosync.patch
 
 %description
 The initscripts package contains the basic system scripts used to boot
@@ -89,6 +90,7 @@ Currently, this consists of various memory checking code.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 make
@@ -314,6 +316,9 @@ rm -rf $RPM_BUILD_ROOT
 /etc/profile.d/debug*
 
 %changelog
+* Fri Jul 22 2011 Bill Nottingham <notting at redhat.com> - 9.31-2
+- work around multipath/udev incompatibility (#723357, <bmarzins at redhat.com>)
+
 * Tue Jun 21 2011 Bill Nottingham <notting at redhat.com> - 9.31-1
 - remove ifup/ifdown-ipsec; they're now in ipsec-tools
 - rc.sysinit: start udev by hand, start_udev is no more (#714531)
diff --git a/multipath-nosync.patch b/multipath-nosync.patch
new file mode 100644
index 0000000..642ccf9
--- /dev/null
+++ b/multipath-nosync.patch
@@ -0,0 +1,12 @@
+diff -urpN initscripts-9.31/systemd/fedora-storage-init initscripts-9.31-patched/systemd/fedora-storage-init
+--- initscripts-9.31/systemd/fedora-storage-init	2011-06-21 14:41:29.000000000 -0500
++++ initscripts-9.31-patched/systemd/fedora-storage-init	2011-07-19 11:44:30.421998951 -0500
+@@ -9,7 +9,7 @@
+ if ! strstr "$cmdline" nompath && [ -f /etc/multipath.conf ] && \
+ 		[ -x /sbin/multipath ]; then
+ 	modprobe dm-multipath > /dev/null 2>&1
+-	/sbin/multipath -v 0
++	/sbin/multipath  -n -v 0
+ 	if [ -x /sbin/kpartx ]; then
+ 		/sbin/dmsetup ls --target multipath --exec "/sbin/kpartx -a -p p" >/dev/null
+ 	fi


More information about the scm-commits mailing list