From: Lennart Poettering Date: Thu, 23 Jan 2025 13:47:10 +0000 (+0100) Subject: units: mountfsd needs to pull DM and loop kmods X-Git-Tag: v258-rc1~1509^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f69568cff4e72bdb4f48452e04736af1a5b1d63;p=thirdparty%2Fsystemd.git 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 --- 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