Hello community,
here is the log from the commit of package systemd-presets-branding-openSUSE
for openSUSE:Factory checked in at 2017-12-13 11:58:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/systemd-presets-branding-openSUSE (Old)
and /work/SRC/openSUSE:Factory/.systemd-presets-branding-openSUSE.new
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "systemd-presets-branding-openSUSE"
Wed Dec 13 11:58:07 2017 rev:49 rq:556421 version:12.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/systemd-presets-branding-openSUSE/systemd-presets-branding-openSUSE.changes
2017-11-10 14:42:44.219885265 +0100
+++
/work/SRC/openSUSE:Factory/.systemd-presets-branding-openSUSE.new/systemd-presets-branding-openSUSE.changes
2017-12-13 11:58:09.205301203 +0100
@@ -1,0 +2,27 @@
+Tue Dec 12 10:05:57 CET 2017 - [email protected]
+
+- Don't disable services with preset-all in %posttrans, the network
+ is special and would be disabled.
+
+-------------------------------------------------------------------
+Mon Dec 11 16:17:30 CET 2017 - [email protected]
+
+- If we do a fresh installation, call systemctl preset-all in the
+ %posttrans section. Some services need to be installed before
+ systemd or do not strictly require systemd, so systemd would only
+ be installed after them and the systemd units of this package
+ never enabled.
+
+-------------------------------------------------------------------
+Mon Dec 11 16:02:43 CET 2017 - [email protected]
+
+- Enable klog.service and rsyslog.service by default, currently
+ they enable themself always in post install section.
+
+-------------------------------------------------------------------
+Wed Dec 6 13:47:02 CET 2017 - [email protected]
+
+- Enable btrfs-*.timer by default, switch from cron to systemd.timer
+- Enable btrfsmaintenance-refresh.service
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ systemd-presets-branding-openSUSE.spec ++++++
--- /var/tmp/diff_new_pack.pKuXvO/_old 2017-12-13 11:58:09.789273012 +0100
+++ /var/tmp/diff_new_pack.pKuXvO/_new 2017-12-13 11:58:09.793272820 +0100
@@ -71,6 +71,8 @@
# Note: the old version of the script is used here.
#
%{_prefix}/lib/%{generic_name}/branding-preset-states save
+elif [ $1 -eq 1 ]; then
+ touch /run/rpm-%{name}-preset-all
fi
%post
@@ -82,6 +84,15 @@
%{_prefix}/lib/%{generic_name}/branding-preset-states apply-changes
fi
+%posttrans
+if [ -f /run/rpm-%{name}-preset-all ]; then
+ # Enable all services, which were installed before systemd
+ # Don't disable services, since this would disable the
+ # complete network stack.
+ systemctl preset-all --preset-mode=enable-only
+fi
+rm -f /run/rpm-%{name}-preset-all
+
%files
%defattr(-,root,root)
%{_prefix}/lib/%{generic_name}/
++++++ default-SUSE.preset ++++++
--- /var/tmp/diff_new_pack.pKuXvO/_old 2017-12-13 11:58:09.829271082 +0100
+++ /var/tmp/diff_new_pack.pKuXvO/_new 2017-12-13 11:58:09.833270889 +0100
@@ -3,6 +3,11 @@
enable apparmor.service
enable auditd.service
enable avahi-daemon.service
+enable btrfs-balance.timer
+enable btrfs-defrag.timer
+enable btrfs-scrub.timer
+enable btrfs-trim.timer
+enable btrfsmaintenance-refresh.service
enable ca-certificates.path
enable ca-certificates.service
enable cron.service
@@ -16,6 +21,7 @@
enable iscsi.service
enable iscsid.socket
enable issue-generator.service
+enable klog.service
enable logrotate.timer
enable lvm2-lvmetad.socket
enable mcelog.service
@@ -24,6 +30,7 @@
enable postfix.service
enable purge-kernels.service
enable remote-fs.target
+enable rsyslog.service
enable shadow.timer
enable smartd.service
enable snapper-cleanup.timer