]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
fix(systemd-tmpfiles): do not include tmpfiles configured in /etc
authorAntonio Alvarez Feijoo <antonio.feijoo@suse.com>
Mon, 16 Feb 2026 07:30:15 +0000 (08:30 +0100)
committerdevkontrol <dev@kontrol.dev>
Thu, 30 Jul 2026 17:25:21 +0000 (13:25 -0400)
Users may have tmpfiles configured in /etc to be created after switching root,
always including this user configuration in the initrd may break their setups.

Fixes #1706

modules.d/11systemd-tmpfiles/module-setup.sh

index 0df22193627093a1f101aa14169429160c3d0592..1f008d073f08fd7a40d974891cb85279b3262638 100755 (executable)
@@ -50,7 +50,6 @@ install() {
     # Install the hosts local user configurations if enabled.
     if [[ $hostonly ]]; then
         inst_multiple -H -o \
-            "$tmpfilesconfdir/*.conf" \
             "$systemdsystemconfdir"/systemd-tmpfiles-clean.service \
             "$systemdsystemconfdir/systemd-tmpfiles-clean.service.d/*.conf" \
             "$systemdsystemconfdir"/systemd-tmpfiles-setup.service \