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

fabiand at redhat.com fabiand at redhat.com
Wed Nov 19 20:04:09 UTC 2014


Hello Ryan Barry,

I'd like you to do a code review.  Please visit

    http://gerrit.ovirt.org/35373

to review the following change.

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/73/35373/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/35373
To unsubscribe, visit http://gerrit.ovirt.org/settings

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



More information about the node-patches mailing list