[dm-devel] [RFC PATCH] multipath: fix systemd timers in the initramfs
Martin Wilck
martin.wilck at suse.com
Fri Aug 12 15:48:23 UTC 2022
On Fri, 2022-08-05 at 18:16 -0500, Benjamin Marzinski wrote:
> The systemd timers created for "find_multipaths smart" conflict with
> shutdown.target, but not with initrd-cleanup.service. This can make
> these timers trigger after the inirtd has started shutting down,
> restarting multipathd (which then stops initrd-cleanup.service, since
> it
> conflicts). To avoid this, make sure the timers and the unit they
> trigger conflict with inird-cleanup.service. Also don't make them
> start
> multipathd. "multipath -u" will not return "maybe" if multipathd
> isn't
> running or set to run, and since we no longer wait for udev-settle,
> multipathd starts up pretty quickly, so it shouldn't be a problem to
> not trigger it here.
>
> Signed-off-by: Benjamin Marzinski <bmarzins at redhat.com>
Reviewed-by: Martin Wilck <mwilck at suse.com>
More information about the dm-devel
mailing list