All of lore.kernel.org
 help / color / mirror / Atom feed
* [dm-devel] [PATCH] multipathd: don't start in containers
@ 2021-06-07 14:38 Utkarsh Gupta
  2021-06-07 15:26 ` Martin Wilck
  0 siblings, 1 reply; 2+ messages in thread
From: Utkarsh Gupta @ 2021-06-07 14:38 UTC (permalink / raw)
  To: dm-devel

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@ubuntu.com>
Co-Author: Utkarsh Gupta <utkarsh@debian.org>

---
 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@redhat.com
https://listman.redhat.com/mailman/listinfo/dm-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dm-devel] [PATCH] multipathd: don't start in containers
  2021-06-07 14:38 [dm-devel] [PATCH] multipathd: don't start in containers Utkarsh Gupta
@ 2021-06-07 15:26 ` Martin Wilck
  0 siblings, 0 replies; 2+ messages in thread
From: Martin Wilck @ 2021-06-07 15:26 UTC (permalink / raw)
  To: Utkarsh Gupta, dm-devel

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@ubuntu.com>
> Co-Author: Utkarsh Gupta <utkarsh@debian.org>

Reviewed-by: Martin Wilck <mwilck@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@redhat.com
> https://listman.redhat.com/mailman/listinfo/dm-devel
> 



--
dm-devel mailing list
dm-devel@redhat.com
https://listman.redhat.com/mailman/listinfo/dm-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-07 15:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-07 14:38 [dm-devel] [PATCH] multipathd: don't start in containers Utkarsh Gupta
2021-06-07 15:26 ` Martin Wilck

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.