device-mapper-multipath-0.4.9-25

Modify 0024-RH-libudev-monitor.patch
Resolves: bz #805493
This commit is contained in:
Benjamin Marzinski 2012-04-30 18:27:57 -05:00
parent 9b42c44c5c
commit 3b35f5eb72
2 changed files with 21 additions and 4 deletions

View File

@ -1,7 +1,8 @@
---
libmultipath/Makefile | 2
libmultipath/uevent.c | 151 ++++++++++++++++++++++++++++++++++++++++++++------
2 files changed, 134 insertions(+), 19 deletions(-)
libmultipath/Makefile | 2
libmultipath/uevent.c | 151 ++++++++++++++++++++++++++++++++++++++++------
multipath/multipath.rules | 1
3 files changed, 134 insertions(+), 20 deletions(-)
Index: multipath-tools-120123/libmultipath/Makefile
===================================================================
@ -203,3 +204,15 @@ Index: multipath-tools-120123/libmultipath/uevent.c
}
extern int
Index: multipath-tools-120123/multipath/multipath.rules
===================================================================
--- multipath-tools-120123.orig/multipath/multipath.rules
+++ multipath-tools-120123/multipath/multipath.rules
@@ -13,7 +13,6 @@ ACTION=="add", ENV{DEVTYPE}!="partition"
ENV{DM_MULTIPATH_DEVICE_PATH}=="1", ENV{DEVTYPE}!="partition", \
RUN+="/sbin/partx -d --nr 1-1024 $env{DEVNAME}"
-RUN+="socket:/org/kernel/dm/multipath_event"
KERNEL!="dm-*", GOTO="end_mpath"
ACTION!="change", GOTO="end_mpath"
ENV{DM_UUID}=="mpath-?*|part[0-9]*-mpath-?*", OPTIONS+="link_priority=10"

View File

@ -1,7 +1,7 @@
Summary: Tools to manage multipath devices using device-mapper
Name: device-mapper-multipath
Version: 0.4.9
Release: 24%{?dist}
Release: 25%{?dist}
License: GPL+
Group: System Environment/Base
URL: http://christophe.varoqui.free.fr/
@ -198,6 +198,10 @@ bin/systemctl --no-reload enable multipathd.service >/dev/null 2>&1 ||:
%{_mandir}/man8/kpartx.8.gz
%changelog
* Mon Apr 30 2012 Benjamin Marzinski <bmarzins@redhat.com> 0.4.9-25
- Modify 0024-RH-libudev-monitor.patch
- Resolves: bz #805493
* Mon Apr 30 2012 Benjamin Marzinski <bmarzins@redhat.com> 0.4.9-24
- Add requirements on libudev to spec file
- Resolves: bz #805493