]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
90multipath: load dm_multipath module during startup 361/head
authorHannes Reinecke <hare@suse.de>
Wed, 24 Aug 2016 10:44:31 +0000 (12:44 +0200)
committerDaniel Molkentin <dmolkentin@suse.com>
Tue, 16 Jan 2018 15:30:53 +0000 (16:30 +0100)
As the 'multipath' program will be triggered directly from
udev events it will be called before the multipath service
unit has started up. Which means we cannot rely on the
service unit to load the module for us, but we rather
have to do it early before udev is started.

References: bsc#986734

Signed-off-by: Hannes Reinecke <hare@suse.com>
modules.d/90multipath/module-setup.sh

index 983f6f240d77b4272b425739ea1b9a42a66be0e3..446dceb012510ca945919285346ba2c4629d4cb3 100755 (executable)
@@ -30,7 +30,7 @@ depends() {
 
 # called by dracut
 cmdline() {
-    for m in scsi_dh_alua scsi_dh_emc scsi_dh_rdac ; do
+    for m in scsi_dh_alua scsi_dh_emc scsi_dh_rdac dm_multipath; do
         if grep -m 1 -q "$m" /proc/modules ; then
             printf 'rd.driver.pre=%s ' "$m"
         fi