* [PATCH] Tolerate modprobe failures in multipathd.service
@ 2017-01-05 13:33 Anthony Ryan
2017-01-05 15:30 ` Benjamin Marzinski
0 siblings, 1 reply; 3+ messages in thread
From: Anthony Ryan @ 2017-01-05 13:33 UTC (permalink / raw)
To: dm-devel
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.
---
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] Tolerate modprobe failures in multipathd.service
2017-01-05 13:33 [PATCH] Tolerate modprobe failures in multipathd.service Anthony Ryan
@ 2017-01-05 15:30 ` Benjamin Marzinski
2017-02-10 14:40 ` Christophe Varoqui
0 siblings, 1 reply; 3+ messages in thread
From: Benjamin Marzinski @ 2017-01-05 15:30 UTC (permalink / raw)
To: Anthony Ryan; +Cc: dm-devel
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@redhat.com
> https://www.redhat.com/mailman/listinfo/dm-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Tolerate modprobe failures in multipathd.service
2017-01-05 15:30 ` Benjamin Marzinski
@ 2017-02-10 14:40 ` Christophe Varoqui
0 siblings, 0 replies; 3+ messages in thread
From: Christophe Varoqui @ 2017-02-10 14:40 UTC (permalink / raw)
To: Benjamin Marzinski; +Cc: device-mapper development, Anthony Ryan
[-- Attachment #1.1: Type: text/plain, Size: 1327 bytes --]
Applied.
Thanks.
On Thu, Jan 5, 2017 at 4:30 PM, Benjamin Marzinski <bmarzins@redhat.com>
wrote:
> 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@redhat.com
> > https://www.redhat.com/mailman/listinfo/dm-devel
>
> --
> dm-devel mailing list
> dm-devel@redhat.com
> https://www.redhat.com/mailman/listinfo/dm-devel
>
[-- Attachment #1.2: Type: text/html, Size: 2224 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-02-10 14:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-05 13:33 [PATCH] Tolerate modprobe failures in multipathd.service Anthony Ryan
2017-01-05 15:30 ` Benjamin Marzinski
2017-02-10 14:40 ` Christophe Varoqui
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.