Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package systemd for openSUSE:Factory checked in at 2025-02-07 22:56:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/systemd (Old) and /work/SRC/openSUSE:Factory/.systemd.new.2316 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "systemd" Fri Feb 7 22:56:31 2025 rev:440 rq:1243303 version:257.2 Changes: -------- --- /work/SRC/openSUSE:Factory/systemd/systemd.changes 2025-01-31 16:02:21.698956729 +0100 +++ /work/SRC/openSUSE:Factory/.systemd.new.2316/systemd.changes 2025-02-07 22:58:39.897998760 +0100 @@ -1,0 +2,19 @@ +Tue Feb 4 17:12:46 UTC 2025 - Franck Bui <f...@suse.com> + +- triggers.systemd: convert posix.fork() and posix.exec() to rpm.execute() (bsc#1236741) + +------------------------------------------------------------------- +Tue Feb 4 10:51:41 UTC 2025 - Franck Bui <f...@suse.com> + +- Update 0009-pid1-handle-console-specificities-weirdness-for-s390.patch to not + warn when "conmode=" is not specified on s390x (bsc#1236725). + +------------------------------------------------------------------- +Tue Feb 4 09:05:34 UTC 2025 - Franck Bui <f...@suse.com> + +- Move systemd-userwork from the experimental sub-package to the main package (bsc#1236643) + + It is likely an oversight from when systemd-userdb was migrated from the + experimental package to the main one. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ systemd.spec ++++++ --- /var/tmp/diff_new_pack.ktg5hN/_old 2025-02-07 22:58:44.566191366 +0100 +++ /var/tmp/diff_new_pack.ktg5hN/_new 2025-02-07 22:58:44.578191861 +0100 @@ -1,5 +1,5 @@ # -# spec file for package systemd +# spec file # # Copyright (c) 2025 SUSE LLC # @@ -344,7 +344,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} ++++++ 0009-pid1-handle-console-specificities-weirdness-for-s390.patch ++++++ --- /var/tmp/diff_new_pack.ktg5hN/_old 2025-02-07 22:58:45.022210181 +0100 +++ /var/tmp/diff_new_pack.ktg5hN/_new 2025-02-07 22:58:45.078212492 +0100 @@ -1,4 +1,4 @@ -From b090866bc0e9192224acaeeec875ef4c8846b829 Mon Sep 17 00:00:00 2001 +From 09184a555aec3ef612425ba6fe596cf05383ca09 Mon Sep 17 00:00:00 2001 From: Franck Bui <f...@suse.com> Date: Fri, 10 Jun 2016 15:19:57 +0200 Subject: [PATCH 1/1] pid1: handle console specificities/weirdness for s390 @@ -14,26 +14,29 @@ The remaining bits are probably hackish but at least they are now minimal. -It was an attempt to address bnc#860937. And yes turning the console -color mode off by passing $TERM=dumb via the kernel command line would -have been much more easier and enough. - -This is actually implemented by recent systemd. There's also another -command line option: systemd.log_color=off. +It was an attempt to address bnc#860937 to automatically turn the console color +mode off by passing $TERM=dumb when the specified terminal device is other than +"3270". For more details, see +https://www.ibm.com/docs/en/linux-on-systems?topic=setup-kernel-parameters. See also a short discussion which happened on @systemd-maintainers whose $subject is "[PATCH] support conmode setting on command line". [fbui: fixes bsc#860937] + +Don't warn if "conmode=" is missing as this option should not be passed on +s390x KVM. + +[fbui: fixes bsc#1236725] --- - src/basic/terminal-util.c | 15 ++++++++++++++- - 1 file changed, 14 insertions(+), 1 deletion(-) + src/basic/terminal-util.c | 14 +++++++++++++- + 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/basic/terminal-util.c b/src/basic/terminal-util.c -index 878c1ec06a..355ecdc45f 100644 +index 409f2abb45..630fc81836 100644 --- a/src/basic/terminal-util.c +++ b/src/basic/terminal-util.c -@@ -923,7 +923,20 @@ bool tty_is_vc_resolve(const char *tty) { +@@ -912,7 +912,19 @@ bool tty_is_vc_resolve(const char *tty) { } const char* default_term_for_tty(const char *tty) { @@ -45,9 +48,8 @@ + if (tty && tty_is_console(tty)) { + _cleanup_free_ char *mode = NULL; + -+ /* Simply return "dumb" in case of OOM. */ ++ /* Returns "dumb" in case of OOM. */ + (void) proc_cmdline_get_key("conmode", 0, &mode); -+ (void) proc_cmdline_value_missing("conmode", mode); + return streq_ptr(mode, "3270") ? "ibm327x" : "dumb"; + } +#endif ++++++ files.experimental ++++++ --- /var/tmp/diff_new_pack.ktg5hN/_old 2025-02-07 22:58:45.690237743 +0100 +++ /var/tmp/diff_new_pack.ktg5hN/_new 2025-02-07 22:58:45.714238734 +0100 @@ -123,9 +123,6 @@ %{_systemd_util_dir}/systemd-sysupdate %if %{with sd_boot} %{_systemd_util_dir}/systemd-tpm2-setup -%endif -%{_systemd_util_dir}/systemd-userwork -%if %{with sd_boot} %{_systemd_util_dir}/ukify %endif # ssh-generator: in the futur to be moved to the main package ++++++ files.systemd ++++++ --- /var/tmp/diff_new_pack.ktg5hN/_old 2025-02-07 22:58:46.102254743 +0100 +++ /var/tmp/diff_new_pack.ktg5hN/_new 2025-02-07 22:58:46.118255403 +0100 @@ -373,11 +373,11 @@ %{_mandir}/man8/systemd-binfmt.service.8.gz %{_mandir}/man8/systemd-boot-check-no-failures.8.gz %{_mandir}/man8/systemd-boot-check-no-failures.service.8.gz -%{_mandir}/man8/systemd-confext.8.gz -%{_mandir}/man8/systemd-confext.service.8.gz %if %{with upstream} %{_mandir}/man8/systemd-confext-initrd.service.8.gz %endif +%{_mandir}/man8/systemd-confext.8.gz +%{_mandir}/man8/systemd-confext.service.8.gz %{_mandir}/man8/systemd-coredump.8.gz %{_mandir}/man8/systemd-coredump.socket.8.gz %{_mandir}/man8/systemd-cored...@.service.8.gz @@ -410,11 +410,11 @@ %{_mandir}/man8/systemd-soft-reboot.service.8.gz %{_mandir}/man8/systemd-sysctl.8.gz %{_mandir}/man8/systemd-sysctl.service.8.gz -%{_mandir}/man8/systemd-sysext.8.gz -%{_mandir}/man8/systemd-sysext.service.8.gz %if %{with upstream} %{_mandir}/man8/systemd-sysext-initrd.service.8.gz %endif +%{_mandir}/man8/systemd-sysext.8.gz +%{_mandir}/man8/systemd-sysext.service.8.gz %{_mandir}/man8/systemd-system-update-generator.8.gz %{_mandir}/man8/systemd-sysusers.8.gz %{_mandir}/man8/systemd-sysusers.service.8.gz @@ -491,6 +491,7 @@ %{_systemd_util_dir}/systemd-user-sessions %if %{without bootstrap} %{_systemd_util_dir}/systemd-userdbd +%{_systemd_util_dir}/systemd-userwork %endif %{_systemd_util_dir}/systemd-xdg-autostart-condition %{_systemd_util_dir}/user-preset/90-systemd.preset @@ -679,10 +680,10 @@ %endif %{_unitdir}/systemd-binfmt.service %{_unitdir}/systemd-boot-check-no-failures.service -%{_unitdir}/systemd-confext.service %if %{with upstream} %{_unitdir}/systemd-confext-initrd.service %endif +%{_unitdir}/systemd-confext.service %if %{without bootstrap} %{_unitdir}/systemd-coredump.socket %{_unitdir}/systemd-coredump@.service @@ -711,12 +712,12 @@ %{_unitdir}/systemd-reboot.service %{_unitdir}/systemd-soft-reboot.service %{_unitdir}/systemd-sysctl.service -%{_unitdir}/systemd-sysext.service -%{_unitdir}/systemd-sysext.socket -%{_unitdir}/systemd-sysext@.service %if %{with upstream} %{_unitdir}/systemd-sysext-initrd.service %endif +%{_unitdir}/systemd-sysext.service +%{_unitdir}/systemd-sysext.socket +%{_unitdir}/systemd-sysext@.service %{_unitdir}/systemd-sysusers.service %{_unitdir}/systemd-time-wait-sync.service %{_unitdir}/systemd-timedated.service ++++++ triggers.systemd ++++++ --- /var/tmp/diff_new_pack.ktg5hN/_old 2025-02-07 22:58:47.046293693 +0100 +++ /var/tmp/diff_new_pack.ktg5hN/_new 2025-02-07 22:58:47.046293693 +0100 @@ -6,27 +6,17 @@ # The contents of this are an example to be copied into systemd.spec. # -# Minimum rpm version supported: 4.14.0 +# Minimum rpm version supported: 4.15.0 %transfiletriggerin -P 900900 -p <lua> -- /usr/lib/systemd/system /etc/systemd/system -- This script will run after any package is initially installed or -- upgraded. We care about the case where a package is initially -- installed, because other cases are covered by the *un scriptlets, -- so sometimes we will reload needlessly. -pid = posix.fork() -if pid == 0 then - assert(posix.exec("/usr/lib/systemd/systemd-update-helper", "system-reload-restart")) -elseif pid > 0 then - posix.wait(pid) -end +assert(rpm.execute("/usr/lib/systemd/systemd-update-helper", "system-reload-restart")) %transfiletriggerin -P 900899 -p <lua> -- /usr/lib/systemd/user /etc/systemd/user -pid = posix.fork() -if pid == 0 then - assert(posix.exec("/usr/lib/systemd/systemd-update-helper", "user-reload-restart")) -elseif pid > 0 then - posix.wait(pid) -end +assert(rpm.execute("/usr/lib/systemd/systemd-update-helper", "user-reload-restart")) %transfiletriggerpostun -P 1000100 -p <lua> -- /usr/lib/systemd/system /etc/systemd/system -- On removal, we need to run daemon-reload after any units have been @@ -34,39 +24,19 @@ -- On upgrade, we need to run daemon-reload after any new unit files -- have been installed, but before %postun scripts in packages get -- executed. -pid = posix.fork() -if pid == 0 then - assert(posix.exec("/usr/lib/systemd/systemd-update-helper", "system-reload")) -elseif pid > 0 then - posix.wait(pid) -end +assert(rpm.execute("/usr/lib/systemd/systemd-update-helper", "system-reload")) %transfiletriggerpostun -P 1000100 -p <lua> -- /usr/lib/systemd/system /etc/systemd/system -- Execute daemon-reload in user managers. -pid = posix.fork() -if pid == 0 then - assert(posix.exec("/usr/lib/systemd/systemd-update-helper", "user-reload")) -elseif pid > 0 then - posix.wait(pid) -end +assert(rpm.execute("/usr/lib/systemd/systemd-update-helper", "user-reload")) %transfiletriggerpostun -P 10000 -p <lua> -- /usr/lib/systemd/system /etc/systemd/system -- We restart remaining system services that should be restarted here. -pid = posix.fork() -if pid == 0 then - assert(posix.exec("/usr/lib/systemd/systemd-update-helper", "system-restart")) -elseif pid > 0 then - posix.wait(pid) -end +assert(rpm.execute("/usr/lib/systemd/systemd-update-helper", "system-restart")) %transfiletriggerpostun -P 9999 -p <lua> -- /usr/lib/systemd/user /etc/systemd/user -- We restart remaining user services that should be restarted here. -pid = posix.fork() -if pid == 0 then - assert(posix.exec("/usr/lib/systemd/systemd-update-helper", "user-restart")) -elseif pid > 0 then - posix.wait(pid) -end +assert(rpm.execute("/usr/lib/systemd/systemd-update-helper", "user-restart")) %transfiletriggerin -P 1000700 -p <lua> -- /usr/lib/sysusers.d -- This script will process files installed in /usr/lib/sysusers.d to create @@ -93,12 +63,7 @@ -- This script will automatically apply binfmt rules if files have been -- installed or updated in /usr/lib/binfmt.d. if posix.access("/run/systemd/system") then - pid = posix.fork() - if pid == 0 then - assert(posix.exec("/usr/lib/systemd/systemd-binfmt")) - elseif pid > 0 then - posix.wait(pid) - end + assert(rpm.execute("/usr/lib/systemd/systemd-binfmt")) end %transfiletriggerin -P 1000600 -p <lua> -- /usr/lib/tmpfiles.d