Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package systemd-presets-common-SUSE.16623 for openSUSE:Leap:15.2:Update checked in at 2021-07-02 00:06:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2:Update/systemd-presets-common-SUSE.16623 (Old) and /work/SRC/openSUSE:Leap:15.2:Update/.systemd-presets-common-SUSE.16623.new.2625 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "systemd-presets-common-SUSE.16623" Fri Jul 2 00:06:36 2021 rev:1 rq:902873 version:15 Changes: -------- New Changes file: --- /dev/null 2021-06-17 12:39:55.005330521 +0200 +++ /work/SRC/openSUSE:Leap:15.2:Update/.systemd-presets-common-SUSE.16623.new.2625/systemd-presets-common-SUSE.changes 2021-07-02 00:06:36.705778108 +0200 @@ -0,0 +1,532 @@ +------------------------------------------------------------------- +Thu May 27 15:40:48 UTC 2021 - Antonio Larrosa <[email protected]> + +- When installing the systemd-presets-common-SUSE package for the + first time in a new system, it might happen that some services + are installed before systemd so the %systemd_pre/post macros + would not work. This is handled by enabling all preset services + in this package's %posttrans section but it wasn't enabling + user services, just system services. Now it enables also the + user services installed before this package, thus fixing + boo#1186561 + +------------------------------------------------------------------- +Wed Apr 7 09:38:24 UTC 2021 - Michal Suchanek <[email protected]> + +- Enable hcn-init.service for HNV on POWER (bsc#1184136 ltc#192155). + +------------------------------------------------------------------- +Wed Mar 10 12:39:54 UTC 2021 - Frederic Crozat <[email protected]> + +- Enable user service pipewire-media-session.service (used with + pipewire >= 0.3.23). + +------------------------------------------------------------------- +Thu Mar 4 17:33:05 UTC 2021 - Antonio Larrosa <[email protected]> + +- Enable user services pipewire.socket and pipewire-pulse.socket + (boo#1183012). + +------------------------------------------------------------------- +Wed Aug 26 08:11:58 UTC 2020 - Fabian Vogt <[email protected]> + +- Enable btrfsmaintenance-refresh.path and disable + btrfsmaintenance-refresh.service to avoid needless refresh on boot + (boo#1165780) + +------------------------------------------------------------------- +Tue Aug 11 17:25:57 UTC 2020 - Neal Gompa <[email protected]> + +- Enable dnf-makecache.timer + +------------------------------------------------------------------- +Wed Jun 12 14:52:21 UTC 2019 - Dominique Leuenberger <[email protected]> + +- BuildRequire pkgconfig(systemd) instead of systemd: allow OBS to + shortcut the build queues by allowing usage of systemd-mini + +------------------------------------------------------------------- +Thu Jun 6 10:57:31 UTC 2019 - Ignaz Forster <[email protected]> + +- Enable ignition-firstboot-complete.service + +------------------------------------------------------------------- +Mon Apr 1 22:29:16 UTC 2019 - Andrew Daugherity <[email protected]> + +- Enable logwatch.timer (bsc#1112500). + +------------------------------------------------------------------- +Thu Mar 14 07:11:44 UTC 2019 - Simon Schricker <[email protected]> + +- enable nvmefc-boot-connections.service to discover + network-provided nvme drives on boot (bsc#1128428) + +------------------------------------------------------------------- +Wed Jan 23 12:07:56 CET 2019 - [email protected] + +- Recent versions of mlocate don't use updatedb.timer any more. + Instead, the unit is called mlocate.timer. [boo#1115408] + +------------------------------------------------------------------- +Fri Jan 18 23:01:47 CET 2019 - [email protected] + +- branding-preset-states: Apply preset to all unit types + (bsc#1121219). +- Rename 90-default-SUSE.preset to 95-default-SUSE.preset, so + product branding takes precedence over common presets. + +------------------------------------------------------------------- +Tue Jan 15 17:26:42 CET 2019 - [email protected] + +- Add default user preset: currently containing only the new + pulseaudio.socket (bsc#1083473) + +------------------------------------------------------------------- +Fri Jan 11 15:09:22 CET 2019 - [email protected] + +- Add issue-generator.path to make sure /etc/issue is really + regenerated if snippets change [bsc#1116825] + +------------------------------------------------------------------- +Wed Jan 9 16:20:10 UTC 2019 - Rub??n Torrero Marijnissen <[email protected]> + +- Enable new unbound-anchor timer to keep root.key updated + (bsc#1115417) + +------------------------------------------------------------------- +Thu Dec 13 03:58:53 UTC 2018 - Neil Brown <[email protected]> + +- Eanble new mdadm timers mdcheck_start.timer and mdmonitor-oneshot.timer + (bsc#1115407) + +------------------------------------------------------------------- +Mon Nov 12 15:34:38 UTC 2018 - [email protected] + +- mandb.timer: added as mandb moved from cron job to systemd + timer (bsc#1115406) + +------------------------------------------------------------------- +Tue Oct 30 15:29:28 UTC 2018 - [email protected] + +- disable ca-certificates.service as it needlessly slows down boot + (boo#1088378). update-ca-certificates will still be triggered by + the path when there are actual changes. + +------------------------------------------------------------------- +Tue Sep 11 15:11:31 UTC 2018 - [email protected] + +- enable machines.target for the systemd based containers (bsc#1107941) + +------------------------------------------------------------------- +Wed Jul 11 08:19:24 CEST 2018 - [email protected] + +- Eanble smartd_generate_opts.path: generate new smartd option + file if sysconfig variables changes. + +------------------------------------------------------------------- +Wed Feb 28 13:44:55 UTC 2018 - [email protected] + +- split out common service to be default enabled on all SUSE + distributions from the branding. FATE#322139 + +------------------------------------------------------------------- +Mon Feb 5 11:28:07 CET 2018 - [email protected] + +- Enable backup-rpmdb.timer, backup-sysconfig.timer and + check-battery.timer, previously cron.daily jobs. + +------------------------------------------------------------------- +Tue Jan 2 21:17:07 CET 2018 - [email protected] + +- Enable new kbdsettings.service (boo#1010880). + +------------------------------------------------------------------- +Mon Jan 1 11:27:23 UTC 2018 - [email protected] + +- enable pcscd socket activation by default to support smartcards + out of the box (boo#1063983) + +------------------------------------------------------------------- +Fri Dec 29 07:53:26 UTC 2017 - [email protected] + +- Enable lvm2-lvmpolld.socket by default (bsc#1074211) + +------------------------------------------------------------------- +Tue Dec 19 10:12:47 UTC 2017 - [email protected] + +- Enable lvm2-monitor.service by default (bsc#1072492) + +------------------------------------------------------------------- +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 + +------------------------------------------------------------------- +Thu Nov 9 02:08:17 UTC 2017 - [email protected] + +- Enable ModemManager.service by default (bsc#1038402). + +------------------------------------------------------------------- +Fri Nov 3 09:12:26 UTC 2017 - [email protected] + +- Move common entries into default-SUSE.preset (bsc#1060676) + +------------------------------------------------------------------- +Tue Oct 17 06:11:39 UTC 2017 - [email protected] ++++ 335 more lines (skipped) ++++ between /dev/null ++++ and /work/SRC/openSUSE:Leap:15.2:Update/.systemd-presets-common-SUSE.16623.new.2625/systemd-presets-common-SUSE.changes New: ---- 99-default-disable.preset branding-preset-states default-SUSE-user.preset default-SUSE.preset systemd-presets-common-SUSE.changes systemd-presets-common-SUSE.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ systemd-presets-common-SUSE.spec ++++++ # # spec file for package systemd-presets-common-SUSE # # Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define generic_name systemd-presets-branding Name: systemd-presets-common-SUSE Version: 15 Release: 0 Summary: Systemd default presets for SUSE distributions License: GPL-2.0-or-later Group: System/Base Source0: default-SUSE.preset Source2: 99-default-disable.preset Source3: branding-preset-states Source4: default-SUSE-user.preset BuildRequires: pkgconfig(systemd) #!BuildIgnore: systemd-presets-branding PreReq: coreutils Supplements: systemd BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch Requires(pre): bash Requires(post): bash %description Default presets for systemd on SUSE based distributions. %prep %setup -q -T -c %build %install mkdir -p %{buildroot}%{_prefix}/lib/%{generic_name} mkdir -p %{buildroot}%{_prefix}/lib/systemd/system-preset mkdir -p %{buildroot}%{_prefix}/lib/systemd/user-preset # everything that must be enabled to have a working system. # shared across all brands install -m644 %{SOURCE0} %{buildroot}%{_prefix}/lib/systemd/system-preset/95-default-SUSE.preset install -m644 %{SOURCE2} %{buildroot}%{_prefix}/lib/systemd/system-preset/ install -m755 %{SOURCE3} %{buildroot}%{_prefix}/lib/%{generic_name}/ install -m644 %{SOURCE4} %{buildroot}%{_prefix}/lib/systemd/user-preset/95-default-SUSE.preset %pre # On initial installation, branding-preset-states does not yet exist, # which is why we also check for the file to be present/executable if [ $1 -gt 1 -a -x %{_prefix}/lib/%{generic_name}/branding-preset-states ] ; then # # Save the old state so we can detect which package have its # default changed later. # # 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 if [ $1 -gt 1 ] ; then # # Now that the updated presets are installed, find the ones # that have been changed and apply "systemct preset" on them. # %{_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 systemctl preset-all --preset-mode=enable-only --global fi rm -f /run/rpm-%{name}-preset-all %files %defattr(-,root,root) %{_prefix}/lib/%{generic_name}/ %{_prefix}/lib/systemd/system-preset/* %{_prefix}/lib/systemd/user-preset/* %changelog ++++++ 99-default-disable.preset ++++++ disable * ++++++ branding-preset-states ++++++ #! /bin/bash # # Written by [email protected] # declare -a PRESET_FILES declare -A PRESETS declare -A PRESETS_OLD declare -A PRESETS_OLD_WILDCARD declare -A PRESETS_WILDCARD save_preset_states () { PRESET_FILES=(*.preset) for ((i=${#PRESET_FILES[@]}-1 ; i>= 0 ; i-- )) ; do FILE=${PRESET_FILES[i]} exec 3<"$FILE" while read -u3 ENABLE SERVICE PAD ; do if test -z "$SERVICE" ; then continue; fi case "$ENABLE" in enable|disable) PRESETS[$SERVICE]=$ENABLE;; esac done exec 3<&- done exec 3>systemd_preset-old.rpm-tmp for PRESET in "${!PRESETS[@]}" ; do echo >&3 "${PRESETS[$PRESET]} $PRESET" done exec 3>&- } apply_preset_state_changes () { if ! test -f systemd_preset-old.rpm-tmp ; then return fi exec 3<systemd_preset-old.rpm-tmp while read -u3 ENABLE SERVICE PAD ; do if test -z "$SERVICE" ; then continue fi case "$ENABLE" in enable|disable) case $SERVICE in *"*"*|*"?"*) PRESETS_OLD_WILDCARD[$SERVICE]=$ENABLE;; *) PRESETS_OLD[$SERVICE]=$ENABLE;; esac esac done exec 3<&- PRESET_FILES=(*.preset) for ((i=${#PRESET_FILES[@]}-1 ; i>= 0 ; i-- )) ; do FILE=${PRESET_FILES[i]} exec 3<"$FILE" while read -u3 ENABLE SERVICE PAD ; do if test -z "$SERVICE" ; then continue fi case "$ENABLE" in enable|disable) case $SERVICE in *"*"*|*"?"*) PRESETS_WILDCARD[$SERVICE]=$ENABLE;; *) PRESETS[$SERVICE]=$ENABLE;; esac esac done exec 3<&- done if test -x /usr/bin/systemctl ; then /usr/bin/systemctl list-unit-files fi >systemd_preset-states.rpm-tmp exec 3<systemd_preset-states.rpm-tmp read -u3 PAD while read -u3 SERVICE ENABLE PAD ; do if test -z "$SERVICE" ; then break fi # FIXME: This is not strictly correct as associative # arrays are not ordered. ENABLE_OLD=enable for PRESET in "${!PRESETS_OLD_WILDCARD[@]}" ; do case "$SERVICE" in $PRESET) ENABLE_OLD=${PRESETS_OLD_WILDCARD[$PRESET]};; esac done if test -n "${PRESETS_OLD[$SERVICE]}" ; then ENABLE_OLD="${PRESETS_OLD[$SERVICE]}" fi ENABLE_NEW=enable for PRESET in "${!PRESETS_WILDCARD[@]}" ; do case "$SERVICE" in $PRESET) ENABLE_NEW=${PRESETS_WILDCARD[$PRESET]};; esac done if test -n "${PRESETS[$SERVICE]}" ; then ENABLE_NEW="${PRESETS[$SERVICE]}" fi if test "$ENABLE_OLD" != "$ENABLE_NEW" ; then echo "Resetting $SERVICE to the new default: $ENABLE_NEW" /usr/bin/systemctl preset "$SERVICE" || : fi done exec 3<&- rm -f systemd_preset-{old,states}.rpm-tmp } cd /usr/lib/systemd/system-preset case $1 in apply-changes) apply_preset_state_changes ;; save) save_preset_states ;; *) echo >&2 "Unkown command '$1'" exit 1 esac ++++++ default-SUSE-user.preset ++++++ enable pulseaudio.socket enable pipewire.socket enable pipewire-pulse.socket enable pipewire-media-session.service ++++++ default-SUSE.preset ++++++ enable YaST2-Firstboot.service enable YaST2-Second-Stage.service enable apparmor.service enable auditd.service enable avahi-daemon.service enable backup-rpmdb.timer enable backup-sysconfig.timer enable btrfs-balance.timer enable btrfs-defrag.timer enable btrfs-scrub.timer enable btrfs-trim.timer disable btrfsmaintenance-refresh.service enable btrfsmaintenance-refresh.path enable ca-certificates.path enable check-battery.timer enable cron.service enable display-manager.service enable dm-event.socket enable dnf-makecache.timer disable fstrim.service enable fstrim.timer enable [email protected] enable haveged.service enable hcn-init.service enable ignition-firstboot-complete.service enable irqbalance.service enable iscsi.service enable iscsid.socket enable issue-generator.path enable issue-generator.service enable kbdsettings.service enable klog.service enable logrotate.timer enable logwatch.timer enable lvm2-lvmetad.socket enable lvm2-monitor.service enable lvm2-lvmpolld.socket enable mcelog.service enable mlocate.timer enable ModemManager.service enable nscd.service enable nvmefc-boot-connections.service enable postfix.service enable purge-kernels.service enable remote-fs.target enable rsyslog.service enable shadow.timer enable smartd.service enable smartd_generate_opts.path enable snapper-cleanup.timer enable snapper-timeline.timer enable storage-fixup.service enable uuidd.socket enable vmblock-fuse.service enable vmtoolsd.service enable xencommons.service enable pcscd.socket enable mandb.timer enable mdcheck_start.timer enable mdmonitor-oneshot.timer enable unbound-anchor.timer
