From 6f69568cff4e72bdb4f48452e04736af1a5b1d63 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 23 Jan 2025 14:47:10 +0100 Subject: [PATCH] units: mountfsd needs to pull DM and loop kmods mountfsd is supposed to be available during early boot aleady, before systemd-tmpfiles-setup-dev-early.service completes, hence make sure loopback devices and DM already work before that. As suggested by yuwata here: https://github.com/systemd/systemd/pull/35685#issuecomment-2608157569 --- units/systemd-mountfsd.service.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/units/systemd-mountfsd.service.in b/units/systemd-mountfsd.service.in index 20a9b425abd..ef413684c36 100644 --- a/units/systemd-mountfsd.service.in +++ b/units/systemd-mountfsd.service.in @@ -10,8 +10,9 @@ [Unit] Description=DDI File System Mounter Documentation=man:systemd-mountfsd.service(8) +Wants=modprobe@loop.service modprobe@dm_mod.service Requires=systemd-mountfsd.socket -After=systemd-mountfsd.socket +After=systemd-mountfsd.socket modprobe@loop.service modprobe@dm_mod.service Conflicts=shutdown.target Before=sysinit.target shutdown.target DefaultDependencies=no