From 35fb9319ff8a699caf56c2268a8b319810d977d5 Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Wed, 17 Jul 2024 15:15:36 -0700 Subject: [PATCH] runtime-cleanup: Fix gshadow typo "Drop non-determinism from default templates") made an attempt to ensure /etc/gshadow is reproducible by sorting it. However, there was a typo causing the sorted version to be saved as /etc/gschadow, leaving the original intact. (from upstream lorax commit 33f1877dd6fa5659b42b89195a1795c837b89904) Resolves: RHEL-35396 --- 80-rhel/runtime-cleanup.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/80-rhel/runtime-cleanup.tmpl b/80-rhel/runtime-cleanup.tmpl index 3ec2e6c..bdbd1ea 100644 --- a/80-rhel/runtime-cleanup.tmpl +++ b/80-rhel/runtime-cleanup.tmpl @@ -367,4 +367,4 @@ remove /etc/pki/ca-trust/extracted/java/cacerts ## sort groups runcmd chroot ${root} /bin/sh -c "LC_ALL=C sort /etc/group > /etc/group- && mv /etc/group- /etc/group" -runcmd chroot ${root} /bin/sh -c "LC_ALL=C sort /etc/gshadow > /etc/gshadow- && mv /etc/gshadow- /etc/gschadow" +runcmd chroot ${root} /bin/sh -c "LC_ALL=C sort /etc/gshadow > /etc/gshadow- && mv /etc/gshadow- /etc/gshadow"