Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package systemd for openSUSE:Factory checked 
in at 2023-09-26 22:00:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/systemd (Old)
 and      /work/SRC/openSUSE:Factory/.systemd.new.1770 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "systemd"

Tue Sep 26 22:00:41 2023 rev:402 rq:1113047 version:254.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/systemd/systemd.changes  2023-09-14 
16:27:02.937547139 +0200
+++ /work/SRC/openSUSE:Factory/.systemd.new.1770/systemd.changes        
2023-09-26 22:14:33.104331659 +0200
@@ -1,0 +2,13 @@
+Fri Sep 22 15:04:54 UTC 2023 - Franck Bui <f...@suse.com>
+
+- systemd.spec: during package updates, restart localed, timedated and 
hostnamed
+  if they're running.
+
+-------------------------------------------------------------------
+Fri Sep 22 14:23:38 UTC 2023 - Franck Bui <f...@suse.com>
+
+- systemd.spec: when enabling units prefer enabling service units over socket
+  ones for socket activable services. The services shipped by systemd
+  automatically redirect the enablement request to the socket unit.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ systemd.spec ++++++
--- /var/tmp/diff_new_pack.W8TsSE/_old  2023-09-26 22:14:36.120440825 +0200
+++ /var/tmp/diff_new_pack.W8TsSE/_new  2023-09-26 22:14:36.124440969 +0200
@@ -782,6 +782,7 @@
         -Doomd=%{when experimental} \
         -Drepart=%{when experimental} \
         -Dsysupdate=%{when experimental} \
+        -Dukify=%{when experimental} \
         \
         -Dtests=%{when testsuite unsafe} \
         -Dinstall-tests=%{when testsuite}
@@ -932,8 +933,8 @@
 
 %fdupes -s %{buildroot}%{_mandir}
 
-# Make sure to disable all services by default. The SUSE branding presets
-# package takes care of defining the right policies.
+# Make sure to disable all services by default. The branding presets package
+# takes care of defining the SUSE policies.
 rm -f %{buildroot}%{_presetdir}/*.preset
 echo 'disable *' >%{buildroot}%{_presetdir}/99-default.preset
 echo 'disable *' >%{buildroot}%{_userpresetdir}/99-default.preset
@@ -1007,17 +1008,15 @@
 # installation images uses a hardcoded list of packages with a %%pre that needs
 # to be run during the build and complains if it can't find one.
 %pre
-if [ $1 -gt 1 ]; then
-        # We keep these just in case we're upgrading from an old version that
-        # was missing one of these units. During package installation, these
-        # macros are NOPs for the main package (the branding preset package
-        # takes care of applying the presets in its %%posttrans in this case).
-        %systemd_pre remote-fs.target
-        %systemd_pre getty@.service
-        %systemd_pre systemd-timesyncd.service
-        %systemd_pre systemd-journald-audit.socket
-        %systemd_pre systemd-userdbd.socket
-fi
+# We don't really need to enable these units explicitely since during
+# installation `systemctl preset-all` is executed at the end of the install
+# transaction by the branding preset package. However it might be needed when
+# upgrading from a previous version of systemd that didn't ship one of these
+# units.
+%systemd_pre remote-fs.target
+%systemd_pre getty@.service
+%systemd_pre systemd-journald-audit.socket
+%systemd_pre systemd-userdbd.service
 
 %post
 if [ $1 -eq 1 ]; then
@@ -1054,14 +1053,11 @@
 journalctl --update-catalog || :
 %endif
 
-if [ $1 -gt 1 ]; then
-        # See comments for %%systemd_pre in %%pre.
-        %systemd_post remote-fs.target
-        %systemd_post getty@.service
-        %systemd_post systemd-timesyncd.service
-        %systemd_post systemd-journald-audit.socket
-        %systemd_post systemd-userdbd.socket
-fi
+# See the comment in %%pre about why we need to call %%systemd_pre.
+%systemd_post remote-fs.target
+%systemd_post getty@.service
+%systemd_post systemd-journald-audit.socket
+%systemd_post systemd-userdbd.service
 
 # Run the hacks/fixups to clean up the old stuff left by (very) old versions of
 # systemd.
@@ -1069,8 +1065,10 @@
 
 %postun
 # Avoid restarting logind until fixed upstream (issue #1163)
+%systemd_postun_with_restart systemd-hostnamed.service
 %systemd_postun_with_restart systemd-journald.service
-%systemd_postun_with_restart systemd-timesyncd.service
+%systemd_postun_with_restart systemd-localed.service
+%systemd_postun_with_restart systemd-timedated.service
 %systemd_postun_with_restart systemd-userdbd.service
 
 %pre -n udev%{?mini}
@@ -1078,6 +1076,7 @@
 # setting.
 %systemd_pre remote-cryptsetup.target
 %systemd_pre systemd-pstore.service
+%systemd_pre systemd-timesyncd.service
 
 # New installations uses the last compat symlink generation number (currently 
at
 # 2), which basically disables all compat symlinks. On old systems, the file
@@ -1096,10 +1095,12 @@
 %endif
 %systemd_post remote-cryptsetup.target
 %systemd_post systemd-pstore.service
+%systemd_post systemd-timesyncd.service
 
 %preun -n udev%{?mini}
 %systemd_preun systemd-udevd.service systemd-udevd-{control,kernel}.socket
 %systemd_preun systemd-pstore.service
+%systemd_preun systemd-timesyncd.service
 
 %postun -n udev%{?mini}
 %regenerate_initrd_post
@@ -1119,6 +1120,7 @@
 # frame where no socket will be listening to the events sent by the kernel, no
 # matter if the socket unit is restarted in first or not.
 %systemd_postun_with_restart systemd-udevd.service 
systemd-udevd-{control,kernel}.socket
+%systemd_postun_with_restart systemd-timesyncd.service
 %systemd_postun systemd-pstore.service
 
 %posttrans -n udev%{?mini}
@@ -1159,26 +1161,26 @@
 
 %if %{with journal_remote}
 %pre journal-remote
-%systemd_pre systemd-journal-gatewayd.socket systemd-journal-gatewayd.service
-%systemd_pre systemd-journal-remote.socket systemd-journal-remote.service
+%systemd_pre systemd-journal-gatewayd.service
+%systemd_pre systemd-journal-remote.service
 %systemd_pre systemd-journal-upload.service
 
 %post journal-remote
 # Assume that all files shipped by systemd-journal-remove are owned by root.
 %sysusers_create systemd-remote.conf
-%systemd_post systemd-journal-gatewayd.socket systemd-journal-gatewayd.service
-%systemd_post systemd-journal-remote.socket systemd-journal-remote.service
+%systemd_post systemd-journal-gatewayd.service
+%systemd_post systemd-journal-remote.service
 %systemd_post systemd-journal-upload.service
 
 %preun journal-remote
-%systemd_preun systemd-journal-gatewayd.socket systemd-journal-gatewayd.service
-%systemd_preun systemd-journal-remote.socket systemd-journal-remote.service
+%systemd_preun systemd-journal-gatewayd.service
+%systemd_preun systemd-journal-remote.service
 %systemd_preun systemd-journal-upload.service
 
 %postun journal-remote
-%systemd_postun systemd-journal-gatewayd.socket 
systemd-journal-gatewayd.service
-%systemd_postun systemd-journal-remote.socket systemd-journal-remote.service
-%systemd_postun systemd-journal-upload.service
+%systemd_postun_with_restart systemd-journal-gatewayd.service
+%systemd_postun_with_restart systemd-journal-remote.service
+%systemd_postun_with_restart systemd-journal-upload.service
 %endif
 
 %if %{with networkd} || %{with resolved}

Reply via email to