Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package systemd for openSUSE:Factory checked in at 2021-03-17 20:14:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/systemd (Old) and /work/SRC/openSUSE:Factory/.systemd.new.2401 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "systemd" Wed Mar 17 20:14:01 2021 rev:327 rq:879358 version:246.11 Changes: -------- --- /work/SRC/openSUSE:Factory/systemd/systemd-mini.changes 2021-03-02 15:32:22.182035565 +0100 +++ /work/SRC/openSUSE:Factory/.systemd.new.2401/systemd-mini.changes 2021-03-17 20:15:17.986935742 +0100 @@ -1,0 +2,42 @@ +Mon Mar 15 15:56:45 UTC 2021 - Franck Bui <f...@suse.com> + +- Import commit 9753d1c17545a5d46530696cb14254f5f12024f1 (merge of v246.11) + + For a complete list of changes, visit: + https://github.com/openSUSE/systemd/compare/134cf1c8bc3e361a2641161aa11ac2b5b990480b...9753d1c17545a5d46530696cb14254f5f12024f1 + +- Rebase 0001-conf-parser-introduce-early-drop-ins.patch + +------------------------------------------------------------------- +Mon Mar 15 11:06:54 UTC 2021 - Franck Bui <f...@suse.com> + +- Import commit 13bc08870147b35f87cefb074aec22e767b7ac04 + + 846d61e0a1 boot: Move console declarations to missing_efi.h + 171a37228b boot: Add startswith() and endswith() functions with no_case variants + 0fad9f309a boot: Drop unnecessary braces + c38bbb0874 boot: Fix void pointer arithmetic warning + 438210924b boot: Replace raw efivar gets with typed variants + e46cb3e4a0 boot: Add efivar_get/set_uint64_le() functions + e16bee35c8 boot: Rename efivar_get/set_int() to efivar_get/set_uint_string() + 2808d0e9a3 boot: Tighten scope of variables used in loops + d3f3d57743 boot: Add efivar_get_boolean_u8() + 0551ecce71 boot: Make all efivar util functions take the guid as an argument + 8376ba3b9f boot: Turn all guid constants into C99 compound initializers + 166fc2dad2 boot: Enable C99 + c87d66e261 boot: Move Secure Boot logic to new file + da7bba9438 udev: fix memleak + e06139117c nspawn: make rootfs relative to oci bundle path (bsc#1182598) + 8ba587d46c PATCH] Always free deserialized_subscribed on reload (bsc#1180020) + +------------------------------------------------------------------- +Thu Mar 11 09:51:53 UTC 2021 - Franck Bui <f...@suse.com> + +- Make sure the udev socket units are reloaded during udev package updates + +------------------------------------------------------------------- +Wed Mar 10 09:10:03 UTC 2021 - Franck Bui <f...@suse.com> + +- fix-machines-btrfs-subvol.sh is only shipped when machined is built + +------------------------------------------------------------------- systemd.changes: same change Old: ---- systemd-v246.10+suse.83.g134cf1c8bc.tar.xz New: ---- systemd-v246.11+suse.102.g9753d1c175.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ systemd-mini.spec ++++++ --- /var/tmp/diff_new_pack.5n7iID/_old 2021-03-17 20:15:36.978961701 +0100 +++ /var/tmp/diff_new_pack.5n7iID/_new 2021-03-17 20:15:36.982961707 +0100 @@ -26,7 +26,7 @@ ##### WARNING: please do not edit this auto generated spec file. Use the systemd.spec! ##### %define mini -mini %define min_kernel_version 4.5 -%define suse_version +suse.83.g134cf1c8bc +%define suse_version +suse.102.g9753d1c175 %bcond_with gnuefi %if 0%{?bootstrap} @@ -55,7 +55,7 @@ Name: systemd-mini URL: http://www.freedesktop.org/wiki/Software/systemd -Version: 246.10 +Version: 246.11 Release: 0 Summary: A System and Session Manager License: LGPL-2.1-or-later @@ -903,12 +903,17 @@ %postun -n udev%{?mini} %regenerate_initrd_post -# Restarting udevd sockets means also stopping the daemon. But we -# don't want the sockets and the daemon to be inactive at the same -# time because we might loose new events sent by the kernel during the -# package update otherwise. Hence we accept the fact that the socket -# properties might not be updated. They are unlikely changed anyway. -%systemd_postun_with_restart systemd-udevd.service +systemctl daemon-reload || : +# On package update, restarting the socket units will probably fail as +# udevd is most likely running. Therefore systemctl will refuse to +# start them again once stopped. It's not an issue since we are mostly +# interested to make PID1 use the updated unit files once the socket +# units wil be started again. And that will happen when systemd-udevd +# itself will be restarted. +if [ $1 -ge 1 ]; then + systemctl try-restart systemd-udevd-{control,kernel}.socket 2>/dev/null || : + systemctl try-restart systemd-udevd.service || : +fi %posttrans -n udev%{?mini} %regenerate_initrd_posttrans @@ -921,6 +926,7 @@ %post container %tmpfiles_create systemd-nspawn.conf +%if %{with machined} if [ $1 -gt 1 ]; then # Convert /var/lib/machines subvolume to make it suitable for # rollbacks, if needed. See bsc#992573. The installer has been fixed @@ -939,6 +945,7 @@ # shouldn't be any issues. %{_prefix}/lib/systemd/scripts/fix-machines-btrfs-subvol.sh || : fi +%endif %if ! 0%{?bootstrap} %post logger ++++++ systemd.spec ++++++ --- /var/tmp/diff_new_pack.5n7iID/_old 2021-03-17 20:15:37.030961772 +0100 +++ /var/tmp/diff_new_pack.5n7iID/_new 2021-03-17 20:15:37.034961778 +0100 @@ -24,7 +24,7 @@ %define bootstrap 0 %define mini %nil %define min_kernel_version 4.5 -%define suse_version +suse.83.g134cf1c8bc +%define suse_version +suse.102.g9753d1c175 %bcond_with gnuefi %if 0%{?bootstrap} @@ -53,7 +53,7 @@ Name: systemd URL: http://www.freedesktop.org/wiki/Software/systemd -Version: 246.10 +Version: 246.11 Release: 0 Summary: A System and Session Manager License: LGPL-2.1-or-later @@ -901,12 +901,17 @@ %postun -n udev%{?mini} %regenerate_initrd_post -# Restarting udevd sockets means also stopping the daemon. But we -# don't want the sockets and the daemon to be inactive at the same -# time because we might loose new events sent by the kernel during the -# package update otherwise. Hence we accept the fact that the socket -# properties might not be updated. They are unlikely changed anyway. -%systemd_postun_with_restart systemd-udevd.service +systemctl daemon-reload || : +# On package update, restarting the socket units will probably fail as +# udevd is most likely running. Therefore systemctl will refuse to +# start them again once stopped. It's not an issue since we are mostly +# interested to make PID1 use the updated unit files once the socket +# units wil be started again. And that will happen when systemd-udevd +# itself will be restarted. +if [ $1 -ge 1 ]; then + systemctl try-restart systemd-udevd-{control,kernel}.socket 2>/dev/null || : + systemctl try-restart systemd-udevd.service || : +fi %posttrans -n udev%{?mini} %regenerate_initrd_posttrans @@ -919,6 +924,7 @@ %post container %tmpfiles_create systemd-nspawn.conf +%if %{with machined} if [ $1 -gt 1 ]; then # Convert /var/lib/machines subvolume to make it suitable for # rollbacks, if needed. See bsc#992573. The installer has been fixed @@ -937,6 +943,7 @@ # shouldn't be any issues. %{_prefix}/lib/systemd/scripts/fix-machines-btrfs-subvol.sh || : fi +%endif %if ! 0%{?bootstrap} %post logger ++++++ 0001-conf-parser-introduce-early-drop-ins.patch ++++++ --- /var/tmp/diff_new_pack.5n7iID/_old 2021-03-17 20:15:37.062961816 +0100 +++ /var/tmp/diff_new_pack.5n7iID/_new 2021-03-17 20:15:37.062961816 +0100 @@ -1,4 +1,4 @@ -From 3709cf5ba88e1cb9c737e524168b83a0964ef5db Mon Sep 17 00:00:00 2001 +From 569f94a86a608fa7a47fef583f3f504ec8223967 Mon Sep 17 00:00:00 2001 From: Franck Bui <f...@suse.com> Date: Fri, 22 Jan 2021 14:57:08 +0100 Subject: [PATCH 1/1] conf-parser: introduce 'early' drop-ins @@ -61,15 +61,15 @@ Fixes: #2121 --- - src/shared/conf-parser.c | 57 ++++++++++++-- - src/test/test-conf-parser.c | 149 ++++++++++++++++++++++++++++++++++++ - 2 files changed, 198 insertions(+), 8 deletions(-) + src/shared/conf-parser.c | 47 ++++++++++- + src/test/test-conf-parser.c | 151 ++++++++++++++++++++++++++++++++++++ + 2 files changed, 194 insertions(+), 4 deletions(-) diff --git a/src/shared/conf-parser.c b/src/shared/conf-parser.c -index 0fec79f3d7..daf55d2358 100644 +index 7499b3b882..799026626c 100644 --- a/src/shared/conf-parser.c +++ b/src/shared/conf-parser.c -@@ -423,6 +423,7 @@ int config_parse(const char *unit, +@@ -426,6 +426,7 @@ int config_parse(const char *unit, static int config_parse_many_files( const char *conf_file, @@ -77,39 +77,20 @@ char **files, const char *sections, ConfigItemLookup lookup, -@@ -431,19 +432,27 @@ static int config_parse_many_files( - void *userdata, - usec_t *ret_mtime) { - -- usec_t mtime = 0; -+ usec_t t, mtime = 0; +@@ -438,6 +439,12 @@ static int config_parse_many_files( char **fn; int r; + STRV_FOREACH(fn, early_files) { -+ r = config_parse(NULL, *fn, NULL, sections, lookup, table, flags, userdata, &t); ++ r = config_parse(NULL, *fn, NULL, sections, lookup, table, flags, userdata, &mtime); + if (r < 0) + return r; -+ if (t > mtime) /* Find the newest */ -+ mtime = t; + } + if (conf_file) { -- r = config_parse(NULL, conf_file, NULL, sections, lookup, table, flags, userdata, &mtime); -+ r = config_parse(NULL, conf_file, NULL, sections, lookup, table, flags, userdata, &t); + r = config_parse(NULL, conf_file, NULL, sections, lookup, table, flags, userdata, &mtime); if (r < 0) - return r; -+ if (t > mtime) /* Find the newest */ -+ mtime = t; - } - - STRV_FOREACH(fn, files) { -- usec_t t; -- - r = config_parse(NULL, *fn, NULL, sections, lookup, table, flags, userdata, &t); - if (r < 0) - return r; -@@ -457,6 +466,28 @@ static int config_parse_many_files( +@@ -456,6 +463,28 @@ static int config_parse_many_files( return 0; } @@ -138,7 +119,7 @@ /* Parse each config file in the directories specified as nulstr. */ int config_parse_many_nulstr( const char *conf_file, -@@ -468,14 +499,19 @@ int config_parse_many_nulstr( +@@ -467,14 +496,19 @@ int config_parse_many_nulstr( void *userdata, usec_t *ret_mtime) { @@ -160,7 +141,7 @@ } /* Parse each config file in the directories specified as strv. */ -@@ -490,8 +526,8 @@ int config_parse_many( +@@ -489,8 +523,8 @@ int config_parse_many( void *userdata, usec_t *ret_mtime) { @@ -170,7 +151,7 @@ const char *suffix; int r; -@@ -504,7 +540,12 @@ int config_parse_many( +@@ -503,7 +537,12 @@ int config_parse_many( if (r < 0) return r; @@ -185,7 +166,7 @@ #define DEFINE_PARSER(type, vartype, conv_func) \ diff --git a/src/test/test-conf-parser.c b/src/test/test-conf-parser.c -index 07edc17f92..bb82923319 100644 +index 07edc17f92..2df4b073c5 100644 --- a/src/test/test-conf-parser.c +++ b/src/test/test-conf-parser.c @@ -5,6 +5,9 @@ @@ -198,7 +179,7 @@ #include "string-util.h" #include "strv.h" #include "tmpfile-util.h" -@@ -385,6 +388,149 @@ static void test_config_parse(unsigned i, const char *s) { +@@ -385,6 +388,151 @@ static void test_config_parse(unsigned i, const char *s) { } } @@ -299,6 +280,8 @@ +} + +static void test_config_parse_many(bool nulstr) { ++ log_info("== %s%s ==", __func__, nulstr ? "_nulstr" : ""); ++ + test_config_parse_many_one(nulstr, NULL, NULL, NULL, NULL, NULL); + + test_config_parse_many_one(nulstr, @@ -348,7 +331,7 @@ int main(int argc, char **argv) { unsigned i; -@@ -407,5 +553,8 @@ int main(int argc, char **argv) { +@@ -407,5 +555,8 @@ int main(int argc, char **argv) { for (i = 0; i < ELEMENTSOF(config_file); i++) test_config_parse(i, config_file[i]); ++++++ systemd-v246.10+suse.83.g134cf1c8bc.tar.xz -> systemd-v246.11+suse.102.g9753d1c175.tar.xz ++++++ /work/SRC/openSUSE:Factory/systemd/systemd-v246.10+suse.83.g134cf1c8bc.tar.xz /work/SRC/openSUSE:Factory/.systemd.new.2401/systemd-v246.11+suse.102.g9753d1c175.tar.xz differ: char 27, line 1