[node-patches] Change in ovirt-node[master]: [testing] patch udev rules to wait for triggering

rbarry at redhat.com rbarry at redhat.com
Tue Nov 4 15:57:36 UTC 2014


Ryan Barry has uploaded a new change for review.

Change subject: [testing] patch udev rules to wait for triggering
......................................................................

[testing] patch udev rules to wait for triggering

To work around a potential udev problem, update the rules

Change-Id: If838ea6fad66f873d6f7914eeb8447c204501505
Signed-off-by: Ryan Barry <rbarry at redhat.com>
---
M recipe/common-post.ks
1 file changed, 12 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/92/34792/1

diff --git a/recipe/common-post.ks b/recipe/common-post.ks
index 54c46b7..3629a4a 100644
--- a/recipe/common-post.ks
+++ b/recipe/common-post.ks
@@ -290,5 +290,17 @@
 EOF_sos_patch
 fi
 
+patch --ignore-whitespace -d /lib/udev/rules.d -p0 << \EOF_udev_patch
+--- 40-multipath.rules.orig     2014-11-04 14:57:12.385999154 +0000
++++ 40-multipath.rules  2014-11-04 14:58:19.081002175 +0000
+@@ -20,5 +20,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 -p p $tempnode"
++ENV{DM_ACTIVATION}==1, RUN+="$env{MPATH_SBIN_PATH}/kpartx -a -p p $tempnode"
+ LABEL="end_mpath"
+EOF_udev_patch
+
 echo "Regenerating initramfs"
 dracut -f || :


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: If838ea6fad66f873d6f7914eeb8447c204501505
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