]> git.ipfire.org Git - thirdparty/dracut.git/commit
fix(multipathd.service): remove dependency on systemd-udev-settle
authorMartin Wilck <mwilck@suse.com>
Tue, 7 Dec 2021 10:43:26 +0000 (11:43 +0100)
committerJóhann B. Guðmundsson <johannbg@gmail.com>
Wed, 2 Feb 2022 22:47:25 +0000 (22:47 +0000)
commit371b338a5f19d40ff4c3216dc0f27f9a00cf4e22
tree6c719e402f8fdd88baa36baf7f4cc3d9b68ed0f3
parent3f2c76bb1456941a28d3333569d2bf18f8624617
fix(multipathd.service): remove dependency on systemd-udev-settle

The dependency of multipathd on "udev settle" has recently been removed in
c9689b6 ("multipathd: Remove dependency on systemd-udev-settle.service").

But this dependency has never been necessary in the initramfs environment. It
was only required after switching root, because multipathd would potentially
tear down valid multipath maps after switching from initrd to root FS. This can
happen because dm devices "survive" the root FS switch in the udev data
base (they have the "db_persist" flag set), whereas their component devices
(SCSI etc) do not. But this can only happen after initrd-udevadm-cleanup-db.service
has been run, which happens after initrd processing.

The only dependency that's really needed is that on
systemd-udevd-kernel.socket, because multipathd depends on uevents for
devices being delivered via systemd-udevd.
modules.d/90multipath/multipathd.service