Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package systemd for openSUSE:Factory checked in at 2024-05-01 14:55:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/systemd (Old) and /work/SRC/openSUSE:Factory/.systemd.new.1880 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "systemd" Wed May 1 14:55:28 2024 rev:420 rq:1170821 version:255.4 Changes: -------- --- /work/SRC/openSUSE:Factory/systemd/systemd.changes 2024-04-04 22:24:10.418705270 +0200 +++ /work/SRC/openSUSE:Factory/.systemd.new.1880/systemd.changes 2024-05-01 14:55:41.488252185 +0200 @@ -1,0 +2,28 @@ +Thu Apr 25 09:08:21 UTC 2024 - Franck Bui <f...@suse.com> + +- Update 0008-sysv-generator-translate-Required-Start-into-a-Wants.patch to + adapt sysv-generator-test to the SUSE's specificity brought by this patch. + +------------------------------------------------------------------- +Thu Apr 25 08:57:30 UTC 2024 - Franck Bui <f...@suse.com> + +- systemd-testsuite: some of the integration tests depend on the bin, daemon, + games and nobody users/groups. + +------------------------------------------------------------------- +Mon Apr 22 09:20:36 UTC 2024 - Franck Bui <f...@suse.com> + +- Drop _FORTIFY_SOURCE=2 workaround. Since commit 7929e180aa (v253) it shouldn't + be needed anymore. + +------------------------------------------------------------------- +Mon Apr 8 15:45:46 UTC 2024 - Franck Bui <f...@suse.com> + +- systemd.spec: preparation for the next version of systemd (i.e. v256), libkmod2 + will be dlopened hence explicitly require it now as it doesn't hurt with the + current version. However don't recommend it from systemd by assuming that when + module loading from PID1 is needed, udev is installed. + +- Make systemd-doc subpackage noarch. + +------------------------------------------------------------------- @@ -1227,0 +1256,3 @@ + +- Force _FORTIFY_SOURCE=2 as systemd (ab)use of malloc_usable_size() leads to + build issues with FS=3 (bsc#1200819). ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ systemd.spec ++++++ --- /var/tmp/diff_new_pack.TZ4gKm/_old 2024-05-01 14:55:42.876302546 +0200 +++ /var/tmp/diff_new_pack.TZ4gKm/_new 2024-05-01 14:55:42.880302692 +0200 @@ -1,5 +1,5 @@ # -# spec file +# spec file for package systemd # # Copyright (c) 2024 SUSE LLC # @@ -328,7 +328,10 @@ %systemd_requires Requires: filesystem %if %{without bootstrap} +# kmod executable is needed by kmod-static-nodes.service Requires: kmod +# By v256 libkmod will be dlopen()ed. +Requires: libkmod2 %endif Requires: system-group-hardware Requires: group(kvm) @@ -338,7 +341,7 @@ Requires(pre): group(kvm) Requires(post): sed Requires(post): coreutils -Requires(postun):coreutils +Requires(postun): coreutils # 'regenerate_initrd_post' macro is expanded during build, hence this BR. BuildRequires: suse-module-tools %if %{without bootstrap} @@ -613,6 +616,15 @@ Recommends: selinux-policy-devel Recommends: selinux-policy-targeted %endif +# System users/groups that some tests rely on. +Requires: group(bin) +Requires: group(daemon) +Requires: group(games) +Requires: group(nobody) +Requires: user(bin) +Requires: user(daemon) +Requires: user(games) +Requires: user(nobody) # The following deps on libs are for test-dlopen-so whereas the pkgconfig ones # are used by test-funtions to find the libs on the host and install them in the # image, see install_missing_libraries() for details. @@ -729,6 +741,7 @@ %package doc Summary: Additional documentation or doc formats for systemd License: LGPL-2.1-or-later +BuildArch: noarch %description doc A HTML version of the systemd documentation, plus the manual pages @@ -739,11 +752,6 @@ %autosetup -p1 -n systemd-v%{version}%{archive_version} %build -# Disable _FORTIFY_SOURCE=3 as it get confused by the use of -# malloc_usable_size() (bsc#1200819). There used to be a workaround but it was -# reverted, see 2cfb790391958ada34284290af1f9ab863a515c7 for the details. -export CFLAGS="%{optflags} -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2" - %meson \ -Dmode=release \ -Dversion-tag=%{version}%{archive_version} \ ++++++ 0008-sysv-generator-translate-Required-Start-into-a-Wants.patch ++++++ --- /var/tmp/diff_new_pack.TZ4gKm/_old 2024-05-01 14:55:42.920304144 +0200 +++ /var/tmp/diff_new_pack.TZ4gKm/_new 2024-05-01 14:55:42.924304288 +0200 @@ -1,4 +1,4 @@ -From 2c821a6c31ce3e2af53274b26fc34648933f6574 Mon Sep 17 00:00:00 2001 +From 6eb24d1fcf8ea676bd0f0e32a9afda7431eafd77 Mon Sep 17 00:00:00 2001 From: Thomas Blume <thomas.bl...@suse.com> Date: Wed, 4 May 2016 17:40:04 +0200 Subject: [PATCH] sysv-generator: translate "Required-Start" into a "Wants" @@ -12,11 +12,13 @@ see the comments in bsc#857204. [tblume: Port of SLES12SP1 patch 0018-Make-LSB-Skripts-know-about-Required-and-Should.patch] +[fbui: patch sysv-generator-test.py to take this SUSE's specifity into account] [wfink: fixes bsc#857204] --- src/sysv-generator/sysv-generator.c | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) + test/sysv-generator-test.py | 2 +- + 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/sysv-generator/sysv-generator.c b/src/sysv-generator/sysv-generator.c index 4485e2e368..e0833a7179 100644 @@ -37,6 +39,19 @@ if (r < 0) return log_oom(); } +diff --git a/test/sysv-generator-test.py b/test/sysv-generator-test.py +index 24fafbaaa4..827d802a17 100755 +--- a/test/sysv-generator-test.py ++++ b/test/sysv-generator-test.py +@@ -224,7 +224,7 @@ class SysvGeneratorTest(unittest.TestCase): + self.add_sysv('foo', {'Required-Start': '$named $portmap'}) + s = self.run_generator()[1]['foo.service'] + self.assertEqual(set(s.options('Unit')), +- set(['Documentation', 'SourcePath', 'Description', 'After'])) ++ set(['Documentation', 'SourcePath', 'Description', 'After', 'Wants'])) + self.assertEqual(s.get('Unit', 'After').split(), ['nss-lookup.target', 'rpcbind.target']) + + def test_lsb_deps(self): -- 2.35.3