Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package systemd-presets-common-SUSE for 
openSUSE:Factory checked in at 2022-06-24 08:45:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/systemd-presets-common-SUSE (Old)
 and      /work/SRC/openSUSE:Factory/.systemd-presets-common-SUSE.new.1548 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "systemd-presets-common-SUSE"

Fri Jun 24 08:45:16 2022 rev:24 rq:984452 version:15

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/systemd-presets-common-SUSE/systemd-presets-common-SUSE.changes
  2022-06-17 21:22:38.254777428 +0200
+++ 
/work/SRC/openSUSE:Factory/.systemd-presets-common-SUSE.new.1548/systemd-presets-common-SUSE.changes
        2022-06-24 08:45:31.607153710 +0200
@@ -1,0 +2,14 @@
+Tue Jun 14 09:25:09 UTC 2022 - Antonio Larrosa <alarr...@suse.com>
+
+- Modify branding-preset-states to fix systemd-presets-common-SUSE
+  not enabling new user systemd service preset configuration just
+  as it handles system service presets. By passing an (optional)
+  second parameter "user", the save/apply-changes commands now
+  work with user services instead of system ones (boo#1200485)
+
+-------------------------------------------------------------------
+Mon May 23 12:37:54 UTC 2022 - Ignaz Forster <ifors...@suse.com>
+
+- enable ignition-delete-config by default (bsc#1199524)
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ systemd-presets-common-SUSE.spec ++++++
--- /var/tmp/diff_new_pack.F6hhHS/_old  2022-06-24 08:45:32.119154284 +0200
+++ /var/tmp/diff_new_pack.F6hhHS/_new  2022-06-24 08:45:32.127154293 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package systemd-presets-common-SUSE
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -68,6 +68,7 @@
        # Note: the old version of the script is used here.
        #
        %{_prefix}/lib/%{generic_name}/branding-preset-states save
+       %{_prefix}/lib/%{generic_name}/branding-preset-states save user
 elif [ $1 -eq 1 ]; then
   touch /run/rpm-%{name}-preset-all
 fi
@@ -79,6 +80,7 @@
        # that have been changed and apply "systemct preset" on them.
        #
        %{_prefix}/lib/%{generic_name}/branding-preset-states apply-changes
+       %{_prefix}/lib/%{generic_name}/branding-preset-states apply-changes user
 fi
 
 %posttrans

++++++ branding-preset-states ++++++
--- /var/tmp/diff_new_pack.F6hhHS/_old  2022-06-24 08:45:32.175154347 +0200
+++ /var/tmp/diff_new_pack.F6hhHS/_new  2022-06-24 08:45:32.179154351 +0200
@@ -69,7 +69,7 @@
                exec 3<&-
        done
        if test -x /usr/bin/systemctl ; then
-               /usr/bin/systemctl list-unit-files
+               /usr/bin/systemctl list-unit-files "$GLOBAL"
        fi >systemd_preset-states.rpm-tmp
        exec 3<systemd_preset-states.rpm-tmp
        read -u3 PAD
@@ -99,7 +99,7 @@
                fi
                if test "$ENABLE_OLD" != "$ENABLE_NEW" ; then
                        echo "Resetting $SERVICE to the new default: 
$ENABLE_NEW"
-                       /usr/bin/systemctl preset "$SERVICE" || :
+                       /usr/bin/systemctl preset "$GLOBAL" "$SERVICE" || :
                fi
        done
        exec 3<&-
@@ -107,7 +107,13 @@
 }
 
 
-cd /usr/lib/systemd/system-preset
+if test "$2" == "user" ; then
+  cd /usr/lib/systemd/user-preset
+  GLOBAL="--global"
+else
+  cd /usr/lib/systemd/system-preset
+  GLOBAL=""
+fi
 
 case $1 in
 apply-changes)

++++++ default-SUSE.preset ++++++
--- /var/tmp/diff_new_pack.F6hhHS/_old  2022-06-24 08:45:32.215154391 +0200
+++ /var/tmp/diff_new_pack.F6hhHS/_new  2022-06-24 08:45:32.223154400 +0200
@@ -22,6 +22,7 @@
 enable fstrim.timer
 enable getty@.service
 enable hcn-init.service
+enable ignition-delete-config.service
 enable ignition-firstboot-complete.service
 enable irqbalance.service
 enable iscsi.service

Reply via email to