[PATCH 22/57] multipath: use option '-i' when called from udev

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx>
---
 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

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel



[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux