Hello community, here is the log from the commit of package multipath-tools for openSUSE:Factory checked in at 2012-06-12 07:09:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/multipath-tools (Old) and /work/SRC/openSUSE:Factory/.multipath-tools.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "multipath-tools", Maintainer is "hare@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/multipath-tools/multipath-tools.changes 2012-06-01 07:21:49.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.multipath-tools.new/multipath-tools.changes 2012-06-12 07:09:35.000000000 +0200 @@ -1,0 +2,6 @@ +Mon Jun 11 12:58:05 UTC 2012 - rmilasan@suse.com + +- Drop RUN+="socket:..." and update the multipath.rule like Fedora + does. + +------------------------------------------------------------------- New: ---- 0001-multipath.rules.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ multipath-tools.spec ++++++ --- /var/tmp/diff_new_pack.08RDgp/_old 2012-06-12 07:09:37.000000000 +0200 +++ /var/tmp/diff_new_pack.08RDgp/_new 2012-06-12 07:09:37.000000000 +0200 @@ -32,6 +32,7 @@ Source: multipath-tools-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build Patch0: %{name}-%{version}-opensuse-12.2.diff.bz2 +Patch1: 0001-multipath.rules.patch %description This package provides the tools to manage multipathed devices by @@ -72,6 +73,7 @@ %prep %setup -q -n multipath-tools-%{version} %patch0 -p1 +%patch1 -p1 %build make CC="%__cc" OPTFLAGS="$RPM_OPT_FLAGS" LIB=%_lib ++++++ 0001-multipath.rules.patch ++++++ Index: multipath-tools-0.4.9/multipath/multipath.rules =================================================================== --- multipath-tools-0.4.9.orig/multipath/multipath.rules +++ multipath-tools-0.4.9/multipath/multipath.rules @@ -1,7 +1,25 @@ # -# udev rules for multipathing. -# The persistent symlinks are created with the kpartx rules -# +# multipath wants the devmaps presented as meaninglful device names +# so name them after their devmap name +SUBSYSTEM!="block", GOTO="end_mpath" + +ENV{MPATH_SBIN_PATH}="/sbin" +TEST!="$env{MPATH_SBIN_PATH}/multipath", ENV{MPATH_SBIN_PATH}="/usr/sbin" + +ACTION=="add", ENV{DEVTYPE}!="partition", \ + ENV{DM_MULTIPATH_DEVICE_PATH}!="1", \ + PROGRAM=="$env{MPATH_SBIN_PATH}/multipath -c $tempnode", \ + ENV{DM_MULTIPATH_DEVICE_PATH}="1" + +ENV{DM_MULTIPATH_DEVICE_PATH}=="1", ENV{DEVTYPE}!="partition", \ + RUN+="/usr/sbin/partx -d --nr 1-1024 $env{DEVNAME}" + +KERNEL!="dm-*", GOTO="end_mpath" +ACTION!="change", GOTO="end_mpath" +ENV{DM_UUID}=="mpath-?*|part[0-9]*-mpath-?*", OPTIONS+="link_priority=10" +ENV{DM_UUID}!="mpath-?*", GOTO="end_mpath" +ENV{DM_SUSPENDED}=="1", GOTO="end_mpath" +ENV{DM_ACTION}=="PATH_FAILED", GOTO="end_mpath" +RUN+="$env{MPATH_SBIN_PATH}/kpartx -a -p p $tempnode" -# socket for uevents -SUBSYSTEM=="block", RUN+="socket:/org/kernel/dm/multipath_event" +LABEL="end_mpath" -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org