diff mbox series

[2/4] multipathd.service: don't load SCSI device handler modules

Message ID 20211207200402.14157-3-mwilck@suse.com (mailing list archive)
State Not Applicable, archived
Delegated to: christophe varoqui
Headers show
Series multipathd: service unit fixes | expand

Commit Message

Martin Wilck Dec. 7, 2021, 8:04 p.m. UTC
From: Martin Wilck <mwilck@suse.com>

The kernel has had an autoloading mechanism for SCSI device handlers
since v4.3. No need to force loading them here again.

Signed-off-by: Martin Wilck <mwilck@suse.com>
---
 multipathd/multipathd.service | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/multipathd/multipathd.service b/multipathd/multipathd.service
index 6d09768..5f2d637 100644
--- a/multipathd/multipathd.service
+++ b/multipathd/multipathd.service
@@ -14,7 +14,7 @@  ConditionVirtualization=!container
 [Service]
 Type=notify
 NotifyAccess=main
-ExecStartPre=-/sbin/modprobe -a scsi_dh_alua scsi_dh_emc scsi_dh_rdac dm-multipath
+ExecStartPre=-/sbin/modprobe dm-multipath
 ExecStart=/sbin/multipathd -d -s
 ExecReload=/sbin/multipathd reconfigure
 TasksMax=infinity