[dm-devel] [PATCH] multipathd: don't start in containers
Martin Wilck
mwilck at suse.com
Mon Jun 7 15:26:53 UTC 2021
On Mo, 2021-06-07 at 20:08 +0530, Utkarsh Gupta wrote:
> Do not attempt to start multipath-tools in containers,
> should switch for on-demand udev/socket based
> activation in the future.
>
> Originally reported as:
> https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1823093
>
> Author: Dimitri John Ledkov <xnox at ubuntu.com>
> Co-Author: Utkarsh Gupta <utkarsh at debian.org>
Reviewed-by: Martin Wilck <mwilck at suse.com>
>
> ---
> multipathd/multipathd.service | 1 +
> 1 file changed, 1 insertion(+)
>
> --- a/multipathd/multipathd.service
> +++ b/multipathd/multipathd.service
> @@ -8,6 +8,7 @@ DefaultDependencies=no
> Conflicts=shutdown.target
> ConditionKernelCommandLine=!nompath
> ConditionKernelCommandLine=!multipath=off
> +ConditionVirtualization=!container
>
> [Service]
> Type=notify
>
>
> - u
>
> --
> dm-devel mailing list
> dm-devel at redhat.com
> https://listman.redhat.com/mailman/listinfo/dm-devel
>
More information about the dm-devel
mailing list