]> git.ipfire.org Git - ipfire-3.x.git/blame - multipath-tools/patches/0105-RHBZ-1148979-fix-partition-mapping-creation-race-with-kpartx.patch
krb5: Update to 1.14.4
[ipfire-3.x.git] / multipath-tools / patches / 0105-RHBZ-1148979-fix-partition-mapping-creation-race-with-kpartx.patch
CommitLineData
289c5516
MT
1diff -purN multipath-tools-130222.orig/multipath/multipath.rules multipath-tools-130222/multipath/multipath.rules
2--- multipath-tools-130222.orig/multipath/multipath.rules 2014-11-03 14:37:41.269413134 +0100
3+++ multipath-tools-130222/multipath/multipath.rules 2014-11-03 14:38:43.694281901 +0100
4@@ -45,5 +45,5 @@ ACTION!="change", GOTO="end_mpath"
5 ENV{DM_UUID}!="mpath-?*", GOTO="end_mpath"
6 ENV{DM_SUSPENDED}=="1", GOTO="end_mpath"
7 ENV{DM_ACTION}=="PATH_FAILED", GOTO="end_mpath"
8-RUN+="$env{MPATH_SBIN_PATH}/kpartx -a $tempnode"
9+ENV{DM_ACTIVATION}=="1", RUN+="$env{MPATH_SBIN_PATH}/kpartx -a $tempnode"
10 LABEL="end_mpath"