[dm-devel] [PATCH] multipathd: don't start in containers

Utkarsh Gupta utkarsh.gupta at canonical.com
Mon Jun 7 14:38:24 UTC 2021


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>

---
 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




More information about the dm-devel mailing list