Hello community, here is the log from the commit of package systemd for openSUSE:Factory checked in at 2017-03-17 14:59:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/systemd (Old) and /work/SRC/openSUSE:Factory/.systemd.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "systemd" Fri Mar 17 14:59:32 2017 rev:252 rq:479432 version:232 Changes: -------- --- /work/SRC/openSUSE:Factory/systemd/systemd-mini.changes 2017-03-15 01:59:36.282188781 +0100 +++ /work/SRC/openSUSE:Factory/.systemd.new/systemd-mini.changes 2017-03-17 14:59:34.940813003 +0100 @@ -1,0 +2,8 @@ +Tue Mar 14 14:13:56 UTC 2017 - [email protected] + +- Initialize /etc/machine-id during the first boot (bsc#1024740) + + Previously that was done at package installation but it didn't fit + well for appliance builds. + +------------------------------------------------------------------- systemd.changes: same change ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ systemd-mini.spec ++++++ --- /var/tmp/diff_new_pack.WiLl89/_old 2017-03-17 14:59:38.512309039 +0100 +++ /var/tmp/diff_new_pack.WiLl89/_new 2017-03-17 14:59:38.516308475 +0100 @@ -646,13 +646,23 @@ exit 0 %post +# Make /etc/machine-id an empty file during package installation. On +# the first boot, machine-id is initialized and either committed (if +# /etc/ is writable) or the system/image runs with a transient machine +# ID, that changes on each boot (if the image is read-only). This is +# especially important for appliance builds to avoid an identical +# machine ID in all images. +if [ $1 -eq 1 ]; then + touch %{_sysconfdir}/machine-id + chmod 666 %{_sysconfdir}/machine-id +fi + %sysusers_create /usr/lib/sysusers.d/systemd.conf %if ! 0%{?bootstrap} pam-config -a --systemd || : %endif ldconfig [ -e %{_localstatedir}/lib/random-seed ] && mv %{_localstatedir}/lib/random-seed %{_localstatedir}/lib/systemd/ || : -systemd-machine-id-setup || : /usr/lib/systemd/systemd-random-seed save || : systemctl daemon-reexec || : %journal_catalog_update ++++++ systemd.spec ++++++ --- /var/tmp/diff_new_pack.WiLl89/_old 2017-03-17 14:59:38.540305089 +0100 +++ /var/tmp/diff_new_pack.WiLl89/_new 2017-03-17 14:59:38.544304525 +0100 @@ -644,13 +644,23 @@ exit 0 %post +# Make /etc/machine-id an empty file during package installation. On +# the first boot, machine-id is initialized and either committed (if +# /etc/ is writable) or the system/image runs with a transient machine +# ID, that changes on each boot (if the image is read-only). This is +# especially important for appliance builds to avoid an identical +# machine ID in all images. +if [ $1 -eq 1 ]; then + touch %{_sysconfdir}/machine-id + chmod 666 %{_sysconfdir}/machine-id +fi + %sysusers_create /usr/lib/sysusers.d/systemd.conf %if ! 0%{?bootstrap} pam-config -a --systemd || : %endif ldconfig [ -e %{_localstatedir}/lib/random-seed ] && mv %{_localstatedir}/lib/random-seed %{_localstatedir}/lib/systemd/ || : -systemd-machine-id-setup || : /usr/lib/systemd/systemd-random-seed save || : systemctl daemon-reexec || : %journal_catalog_update
