[dm-devel] [PATCH 5/6] multipathd: Fix multipathd stopping on shutdown

Martin Wilck martin.wilck at suse.com
Fri Dec 18 23:31:25 UTC 2020


On Fri, 2020-12-18 at 17:06 -0600, Benjamin Marzinski wrote:
> According to man "systemd.special"
> 
> "shutdown.target: ... Services that shall be terminated on system
> shutdown shall add Conflicts= and Before= dependencies to this unit
> for
> their service unit, which is implicitly done when
> DefaultDependencies=yes is set (the default)."
> 
> multipathd.service sets DefaultDependencies=no and includes the
> Conflits= dependency, but not the Before= one. This can cause
> multipathd
> to continue running past when it is supposed to during shutdown.
> 
> Signed-off-by: Benjamin Marzinski <bmarzins at redhat.com>

Reviewed-by: Martin Wilck <mwilck at suse.com>

-- 
Dr. Martin Wilck <mwilck at suse.com>, Tel. +49 (0)911 74053 2107
SUSE  Software Solutions Germany GmbH
HRB 36809, AG Nürnberg GF: Felix
Imendörffer






More information about the dm-devel mailing list