Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kexec-tools for openSUSE:Factory checked in at 2022-04-16 00:13:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kexec-tools (Old) and /work/SRC/openSUSE:Factory/.kexec-tools.new.1941 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kexec-tools" Sat Apr 16 00:13:47 2022 rev:141 rq:969705 version:2.0.22 Changes: -------- --- /work/SRC/openSUSE:Factory/kexec-tools/kexec-tools.changes 2021-05-10 15:38:09.561857606 +0200 +++ /work/SRC/openSUSE:Factory/.kexec-tools.new.1941/kexec-tools.changes 2022-04-16 00:14:02.561632553 +0200 @@ -1,0 +2,6 @@ +Wed Apr 13 07:10:02 UTC 2022 - Petr Tesa????k <ptesa...@suse.com> + +- kexec-tools-print-error-if-kexec_file_load-fails.patch: print + error if kexec_file_load fails (bsc#1197176). + +------------------------------------------------------------------- New: ---- kexec-tools-print-error-if-kexec_file_load-fails.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kexec-tools.spec ++++++ --- /var/tmp/diff_new_pack.JRdeRb/_old 2022-04-16 00:14:03.433633717 +0200 +++ /var/tmp/diff_new_pack.JRdeRb/_new 2022-04-16 00:14:03.437633722 +0200 @@ -1,7 +1,7 @@ # # spec file for package kexec-tools # -# 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 @@ -31,6 +31,7 @@ Patch4: %{name}-vmcoreinfo-in-xen.patch Patch10: %{name}-SYS_getrandom.patch Patch11: %{name}-remove-duplicate-ramdisk-definition.patch +Patch12: %{name}-print-error-if-kexec_file_load-fails.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: systemd-rpm-macros ++++++ kexec-tools-print-error-if-kexec_file_load-fails.patch ++++++ From: Hari Bathini <hbath...@linux.ibm.com> Date: Wed Mar 16 16:03:05 2022 +0530 Subject: kexec-tools: print error if kexec_file_load fails References: bsc#1197176 Git-commit: 1d7a308bf7349fcf1627e950159029dfccf85891 Upstream: merged Commit 4f77da634035 ("kexec-tools: Fix kexec_file_load(2) error handling") introduced EFALLBACK for scenarios where fallbacking back to kexec_load syscall is likely to work and dropped printing error message for these scenarios. But printing error message for other failure scenarios was inadvertently dropped. Restore printing error message for such cases. Fixes: 4f77da634035 ("kexec-tools: Fix kexec_file_load(2) error handling") Cc: Petr Tesarik <ptesa...@suse.com> Reported-by: Nageswara R Sastry <rnsas...@linux.ibm.com> Tested-by: Nageswara R Sastry <rnsas...@linux.ibm.com> Signed-off-by: Hari Bathini <hbath...@linux.ibm.com> Reviewed-by: Petr Tesarik <ptesa...@suse.com> Signed-off-by: Simon Horman <ho...@verge.net.au> --- kexec/kexec.c | 1 + 1 file changed, 1 insertion(+) --- a/kexec/kexec.c +++ b/kexec/kexec.c @@ -1294,6 +1294,7 @@ static int do_kexec_file_load(int filein case EMSGSIZE: /* Reject by default. */ default: + fprintf(stderr, "kexec_file_load failed: %s\n", strerror(errno)); ret = EFAILED; break;