[dm-devel] [PATCH 22/57] multipath: use option '-i' when called from udev
Hannes Reinecke
hare at suse.de
Wed Apr 27 11:10:23 UTC 2016
multipath should be using the option '-i' to ignore the wwids
file when called from udev. Otherwise we might run into a race
condition with systemd and the system might not boot up correctly.
Signed-off-by: Hannes Reinecke <hare at suse.de>
---
multipath/multipath.rules | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/multipath/multipath.rules b/multipath/multipath.rules
index c8fb7e6..6b0d1cd 100644
--- a/multipath/multipath.rules
+++ b/multipath/multipath.rules
@@ -15,7 +15,7 @@ ENV{MPATH_SBIN_PATH}="/sbin"
TEST!="$env{MPATH_SBIN_PATH}/multipath", ENV{MPATH_SBIN_PATH}="/usr/sbin"
ENV{DM_MULTIPATH_DEVICE_PATH}!="1", \
- PROGRAM=="$env{MPATH_SBIN_PATH}/multipath -u %k", \
+ PROGRAM=="$env{MPATH_SBIN_PATH}/multipath -i -u %k", \
ENV{DM_MULTIPATH_DEVICE_PATH}="1", ENV{ID_FS_TYPE}="none", \
ENV{SYSTEMD_READY}="0"
--
2.6.6
More information about the dm-devel
mailing list