Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package sysuser-tools for openSUSE:Factory 
checked in at 2024-12-20 15:24:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sysuser-tools (Old)
 and      /work/SRC/openSUSE:Factory/.sysuser-tools.new.1881 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sysuser-tools"

Fri Dec 20 15:24:36 2024 rev:32 rq:1232687 version:3.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/sysuser-tools/sysuser-tools.changes      
2024-09-29 18:08:59.613554645 +0200
+++ /work/SRC/openSUSE:Factory/.sysuser-tools.new.1881/sysuser-tools.changes    
2024-12-20 15:24:54.317892153 +0100
@@ -1,0 +2,17 @@
+Wed Dec 11 11:05:25 UTC 2024 - Thorsten Kukuk <ku...@suse.com>
+
+- Directly check return value of systemd-sysusers 
+
+-------------------------------------------------------------------
+Mon Dec  9 06:30:23 UTC 2024 - Thorsten Kukuk <ku...@suse.com>
+
+- Drop SLE15 support and remove disable-systemd-sysusers.patch
+
+-------------------------------------------------------------------
+Mon Dec  9 05:59:25 UTC 2024 - Thorsten Kukuk <ku...@suse.com>
+
+- sysuser-shadow: remove systemd 238 dependency, this does not
+  work in a single RPM transaction [bsc#1234277]. Call
+  systemd-sysuser instead again without --replace.
+
+-------------------------------------------------------------------

Old:
----
  disable-systemd-sysusers.patch

BETA DEBUG BEGIN:
  Old:
- Drop SLE15 support and remove disable-systemd-sysusers.patch
BETA DEBUG END:

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

Other differences:
------------------
++++++ sysuser-tools.spec ++++++
--- /var/tmp/diff_new_pack.5doLH9/_old  2024-12-20 15:24:56.277972940 +0100
+++ /var/tmp/diff_new_pack.5doLH9/_new  2024-12-20 15:24:56.277972940 +0100
@@ -27,7 +27,6 @@
 Source2:        sysusers-generate-pre
 Source3:        macros.sysusers
 Source4:        sysusers2shadow.sh
-Patch0:         disable-systemd-sysusers.patch
 BuildArch:      noarch
 Requires:       sysuser-shadow
 #!BuildIgnore:  sysuser-shadow
@@ -43,12 +42,6 @@
 Requires(pre):  (/usr/sbin/useradd or busybox)
 # prefer original shadow over busybox by default
 Suggests:       shadow
-# sysusers2shdow uses sysusers2shadow uses systemd-sysusers if available. And 
we might pass --replace to it
-# --replace only appeared in systemd 238,so we want to ensure: if we have 
systemd, it must be recent enough
-# the Requires(pre) statement is to ensure we get it at any moment recent 
enough, not only at the end of
-# transactions, otherwise upgrades might randomly fail
-Requires(pre):  (systemd >= 238 if systemd)
-Requires:       (systemd >= 238 if systemd)
 
 %description -n sysuser-shadow
 This package contians a tool, which expects as input a sysusers.d
@@ -57,9 +50,6 @@
 
 %prep
 %setup -qcT
-%if 0%{?suse_version} <= 1500
-patch < %_sourcedir/disable-systemd-sysusers.patch 
%_sourcedir/sysusers2shadow.sh
-%endif
 
 %build
 

++++++ sysusers2shadow.sh ++++++
--- /var/tmp/diff_new_pack.5doLH9/_old  2024-12-20 15:24:56.337975414 +0100
+++ /var/tmp/diff_new_pack.5doLH9/_new  2024-12-20 15:24:56.341975578 +0100
@@ -13,7 +13,9 @@
                REPLACE_ARG="--replace=/usr/lib/sysusers.d/$1"
        fi
        # Use systemd-sysusers and let it read the input directly from stdin
-       run /usr/bin/systemd-sysusers $REPLACE_ARG -
+       if ! run /usr/bin/systemd-sysusers $REPLACE_ARG - ; then
+               run /usr/bin/systemd-sysusers -
+       fi
 else
        # Absolute path to busybox, if found
        busybox=

Reply via email to