From: Jo Zzsi Date: Sun, 15 Dec 2024 01:43:35 +0000 (-0500) Subject: fix(systemd-tmpfiles): passwd and group file management X-Git-Tag: 106~97 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e520c88d9826cc1ed7b759472f747de35fc0eee;p=thirdparty%2Fdracut-ng.git fix(systemd-tmpfiles): passwd and group file management Do not install full unmodified /etc/passwd and /etc/group form the host. This code is misleading as it is always a no-op since /etc/passwd would already exists and this line would be ignored. --- diff --git a/modules.d/01systemd-tmpfiles/module-setup.sh b/modules.d/01systemd-tmpfiles/module-setup.sh index 117568c7a..7976afa4f 100755 --- a/modules.d/01systemd-tmpfiles/module-setup.sh +++ b/modules.d/01systemd-tmpfiles/module-setup.sh @@ -45,8 +45,6 @@ install() { # Install the hosts local user configurations if enabled. if [[ $hostonly ]]; then inst_multiple -H -o \ - /etc/group \ - /etc/passwd \ "$tmpfilesconfdir/*.conf" \ "$systemdsystemconfdir"/systemd-tmpfiles-clean.service \ "$systemdsystemconfdir/systemd-tmpfiles-clean.service.d/*.conf" \