[dm-devel] [PATCH] Tolerate modprobe failures in multipathd.service
Benjamin Marzinski
bmarzins at redhat.com
Thu Jan 5 15:30:10 UTC 2017
On Thu, Jan 05, 2017 at 08:33:10AM -0500, Anthony Ryan wrote:
> When these modules are built statically into the kernel, modprobe
> will fail and prevent the service from being started. By making this
> line non-fatal, on such systems the service is still able to be
> started.
ACK
-Ben
> ---
> multipathd/multipathd.service | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/multipathd/multipathd.service b/multipathd/multipathd.service
> index e3d6f91..d26577f 100644
> --- a/multipathd/multipathd.service
> +++ b/multipathd/multipathd.service
> @@ -11,7 +11,7 @@ Conflicts=shutdown.target
> Type=notify
> NotifyAccess=main
> LimitCORE=infinity
> -ExecStartPre=/sbin/modprobe -a scsi_dh_alua scsi_dh_emc scsi_dh_rdac
> dm-multipath
> +ExecStartPre=-/sbin/modprobe -a scsi_dh_alua scsi_dh_emc scsi_dh_rdac
> dm-multipath
> ExecStart=/sbin/multipathd -d -s
> ExecReload=/sbin/multipathd reconfigure
>
> --
> 2.11.0
>
> --
> dm-devel mailing list
> dm-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/dm-devel
More information about the dm-devel
mailing list