From 73e9b649f525217c779abd71723b979fc385165b Mon Sep 17 00:00:00 2001 From: Antonio Alvarez Feijoo Date: Mon, 16 Feb 2026 08:30:15 +0100 Subject: [PATCH] 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 --- modules.d/11systemd-tmpfiles/module-setup.sh | 1 - 1 file changed, 1 deletion(-) 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 \ -- 2.47.3