[node-patches] Change in ovirt-node[master]: Bring the udev patch into EL7 as well

rbarry at redhat.com rbarry at redhat.com
Tue Nov 18 17:13:19 UTC 2014


Ryan Barry has uploaded a new change for review.

Change subject: Bring the udev patch into EL7 as well
......................................................................

Bring the udev patch into EL7 as well

There were some udev multipath changes in EL7, and we missed
patching this file previously.

Change-Id: If827ce714f5b688506ce50b713f28ae239289ccb
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1152948
Signed-off-by: Ryan Barry <rbarry at redhat.com>
---
M recipe/rhevh7-post.ks
1 file changed, 13 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/96/35296/1

diff --git a/recipe/rhevh7-post.ks b/recipe/rhevh7-post.ks
index 475a1a3..92140e1 100644
--- a/recipe/rhevh7-post.ks
+++ b/recipe/rhevh7-post.ks
@@ -200,3 +200,16 @@
 add_dracutmodules+="dmsquash-live"
 
 _EOF_
+
+# udev patch for rhbz#1152948
+patch --ignore-whitespace -d /lib/udev/rules.d -p0 << \EOF_udev_patch
+--- 62-multipath.rules.orig     2014-11-04 14:57:12.385999154 +0000
++++ 62-multipath.rules  2014-11-04 14:58:19.081002175 +0000
+@@ -45,5 +45,5 @@
+ 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 $tempnode"
++ENV{DM_ACTIVATION}=="1", RUN+="$env{MPATH_SBIN_PATH}/kpartx -a $tempnode"
+ LABEL="end_mpath"
+EOF_udev_patch


-- 
To view, visit http://gerrit.ovirt.org/35296
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If827ce714f5b688506ce50b713f28ae239289ccb
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Ryan Barry <rbarry at redhat.com>



More information about the node-patches mailing list