From: Antonio Alvarez Feijoo Date: Mon, 16 Feb 2026 07:30:15 +0000 (+0100) Subject: fix(systemd-tmpfiles): do not include tmpfiles configured in /etc X-Git-Tag: 112~21 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=73e9b64;p=thirdparty%2Fdracut-ng.git fix(systemd-tmpfiles): do not include tmpfiles configured in /etc 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 --- diff --git a/modules.d/11systemd-tmpfiles/module-setup.sh b/modules.d/11systemd-tmpfiles/module-setup.sh index 0df221936..1f008d073 100755 --- a/modules.d/11systemd-tmpfiles/module-setup.sh +++ b/modules.d/11systemd-tmpfiles/module-setup.sh @@ -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 \