diff --git a/systemd.changes b/systemd.changes index 969c12d..7dc8998 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Wed Oct 19 07:23:51 UTC 2022 - Franck Bui + +- Don't create /var/lib/systemd/random-seed in %post (bsc#1181458) + + To make sure that the same seed is not replicated when installing from a + 'golden' image. + + For regular installations the random seed file is initialized by the installer + itself (bsc#1174964). Even if it didn't, the random seed file would be created + on first boot anyway. + ------------------------------------------------------------------- Wed Oct 12 18:35:47 UTC 2022 - Dirk Müller diff --git a/systemd.spec b/systemd.spec index 7fee794..0606f5b 100644 --- a/systemd.spec +++ b/systemd.spec @@ -987,9 +987,6 @@ pam-config --add --systemd || : %sysusers_create systemd-journal.conf %sysusers_create systemd-timesync.conf -[ -e %{_localstatedir}/lib/random-seed ] && mv %{_localstatedir}/lib/random-seed %{_localstatedir}/lib/systemd/ || : -/usr/lib/systemd/systemd-random-seed save || : - systemctl daemon-reexec || : # Reexecute user manager instances (if any). It is asynchronous but it