Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kdump for openSUSE:Factory checked 
in at 2025-07-30 11:41:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kdump (Old)
 and      /work/SRC/openSUSE:Factory/.kdump.new.13279 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kdump"

Wed Jul 30 11:41:25 2025 rev:161 rq:1295604 version:2.1.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/kdump/kdump.changes      2025-07-23 
16:33:49.840658065 +0200
+++ /work/SRC/openSUSE:Factory/.kdump.new.13279/kdump.changes   2025-07-30 
11:41:55.590143664 +0200
@@ -1,0 +2,9 @@
+Thu Jul 24 15:16:51 UTC 2025 - Jiri Bohac <jbo...@suse.com>
+
+- upgrade to version 2.1.5
+  * kdumptool calibrate: use kernel flavour from the 
+    kdump kernel (jsc#PED-12971)
+  * order kdump-commandline.service after kdump.service
+  * updated documentation (bsc#1246908)
+
+-------------------------------------------------------------------

Old:
----
  kdump-2.1.4.tar.xz

New:
----
  kdump-2.1.5.tar.xz

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

Other differences:
------------------
++++++ kdump.spec ++++++
--- /var/tmp/diff_new_pack.D26SXk/_old  2025-07-30 11:41:56.302173168 +0200
+++ /var/tmp/diff_new_pack.D26SXk/_new  2025-07-30 11:41:56.302173168 +0200
@@ -57,7 +57,7 @@
 %define dracutlibdir %{_prefix}/lib/dracut
 
 Name:           kdump
-Version:        2.1.4
+Version:        2.1.5
 Release:        0
 Summary:        Kernel crash dump scripts and utilities
 License:        GPL-2.0-or-later

++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.D26SXk/_old  2025-07-30 11:41:56.334174494 +0200
+++ /var/tmp/diff_new_pack.D26SXk/_new  2025-07-30 11:41:56.338174659 +0200
@@ -1,6 +1,6 @@
-mtime: 1752850341
-commit: a952b4f357cefa734b8b8079c0941489daf54ec7cdd0bd25bb53699e65133feb
+mtime: 1753370297
+commit: 2fb4cac28ef0902403fba1b196c857f5f80de9efa75b82a028dd62e4c55af245
 url: https://src.opensuse.org/kernel-kdump/kdump.git
-revision: a952b4f357cefa734b8b8079c0941489daf54ec7cdd0bd25bb53699e65133feb
+revision: 2fb4cac28ef0902403fba1b196c857f5f80de9efa75b82a028dd62e4c55af245
 projectscmsync: https://src.opensuse.org/kernel-kdump/_ObsPrj
 

++++++ build.specials.obscpio ++++++

++++++ kdump-2.1.4.tar.xz -> kdump-2.1.5.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdump-2.1.4/NEWS new/kdump-2.1.5/NEWS
--- old/kdump-2.1.4/NEWS        2025-07-18 13:52:43.000000000 +0200
+++ new/kdump-2.1.5/NEWS        2025-07-24 12:32:09.000000000 +0200
@@ -1,3 +1,9 @@
+2.1.5
+-----
+* kdumptool calibrate: use kernel flavour from the kdump kernel (jsc#PED-12971)
+* order kdump-commandline.service after kdump.service
+* updated documentation (bsc#1246908)
+
 2.1.4
 -----
 * use KDUMP_NET_TIMEOUT as sftp/ftp timeout
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdump-2.1.4/doc/man/kdump.5.txt.in 
new/kdump-2.1.5/doc/man/kdump.5.txt.in
--- old/kdump-2.1.4/doc/man/kdump.5.txt.in      2025-07-18 13:52:43.000000000 
+0200
+++ new/kdump-2.1.5/doc/man/kdump.5.txt.in      2025-07-24 12:32:09.000000000 
+0200
@@ -109,7 +109,9 @@
 parameter is not added to the kdump kernel command line and _--num-threads_ 
 is set to the number of CPUs.
 
-Decreasing the number of CPUs will lower the memory required by kdump.
+Decreasing the number of CPUs will lower the memory required by kdump,
+while increasing it can raise memory usage and may cause kdump failure
+if crashkernel memory is insufficient.
 
 Default is 32.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdump-2.1.4/init/kdump-commandline.service 
new/kdump-2.1.5/init/kdump-commandline.service
--- old/kdump-2.1.4/init/kdump-commandline.service      2025-07-18 
13:52:43.000000000 +0200
+++ new/kdump-2.1.5/init/kdump-commandline.service      2025-07-24 
12:32:09.000000000 +0200
@@ -1,6 +1,6 @@
 [Unit]
 Description=Check and update kdump options on the kernel command line
-After=local-fs.target kdump-early.service
+After=local-fs.target kdump-early.service kdump.service
 
 [Service]
 Type=simple
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdump-2.1.4/init/mkdumprd 
new/kdump-2.1.5/init/mkdumprd
--- old/kdump-2.1.4/init/mkdumprd       2025-07-18 13:52:43.000000000 +0200
+++ new/kdump-2.1.5/init/mkdumprd       2025-07-24 12:32:09.000000000 +0200
@@ -247,7 +247,7 @@
        done
        
        # remove the kernel symlink and $INITRD_DEFAULT, they are not used for 
FADUMP
-       rm -f /var/lib/kdump/kernel "$INITRD_DEFAULT"
+       rm -f /var/lib/kdump/kernel "$INITRD_DEFAULT" 
/var/lib/kdump/kernel-version
 
        exit "$RET"
 fi
@@ -353,5 +353,9 @@
 
 # if we're rebuilding the default INITRD, update the kernel symlink
 # to point to the kernel image the initrd was just built for
-[[ "$INITRD" == "$INITRD_DEFAULT" ]] && ln -sf "$KERNEL_REALPATH" 
/var/lib/kdump/kernel
+if [[ "$INITRD" == "$INITRD_DEFAULT" ]]; then
+       ln -sf "$KERNEL_REALPATH" /var/lib/kdump/kernel
+       echo "${KERNELVERSION}" > /var/lib/kdump/kernel-version
+fi
+
 exit 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdump-2.1.4/kdumptool/calibrate.cc 
new/kdump-2.1.5/kdumptool/calibrate.cc
--- old/kdump-2.1.4/kdumptool/calibrate.cc      2025-07-18 13:52:43.000000000 
+0200
+++ new/kdump-2.1.5/kdumptool/calibrate.cc      2025-07-24 12:32:09.000000000 
+0200
@@ -40,6 +40,7 @@
 bool needsNetwork;
 bool needsMakedumpfile;
 long long KDUMP_CPUS, KDUMP_LUKS_MEMORY;
+char *kernel_version = NULL;
 bool m_shrink = false;
 bool debug = false;
 
@@ -299,16 +300,20 @@
         { "USER_NET", &SizeConstants::m_user_net },
         { nullptr, nullptr }
     };
-    /* get the running kernel flavour
+    /* get the kernel flavour from KDUMP_KERNEL_VERSION or uname;
        if not default, try looking for the flavour-suffixed variable,
-       falling back to the defaul unsuffixed variable */
-    struct utsname uts;
-    char *flavour;
+       falling back to the default unsuffixed variable */
+    if (!kernel_version) {
+        struct utsname uts;
+        if (uname(&uts))
+            kernel_version = uts.release;
+    }
 
-    if (uname(&uts) >= 0 &&
-        (flavour = strrchr(uts.release, '-')) &&
-       *(++flavour) &&
-       strcmp(flavour, "default")) {
+    char *flavour;
+    if (kernel_version &&
+        (flavour = strrchr(kernel_version, '-')) &&
+        *(++flavour) &&
+           strcmp(flavour, "default")) {
         DEBUG("Kernel flavour: %s", flavour);
     }
     else {
@@ -1056,6 +1061,10 @@
                if (!val || !*val)
                        throw std::runtime_error("KDUMP_DUMPFORMAT not 
defined");
                needsMakedumpfile = strcmp(val, "none") && strcmp(val, "raw");
+
+               val = std::getenv("KDUMP_KERNEL_VERSION");
+               if (val && *val)
+            kernel_version = val;
        }
        catch(std::runtime_error &e) {
                cerr << "Error parsing config from environment variables: " << 
e.what() << endl;
@@ -1194,4 +1203,4 @@
                exit(1);
        }
 }
-
+// vim: set et ts=4 sw=4 :
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdump-2.1.4/kdumptool/kdumptool 
new/kdump-2.1.5/kdumptool/kdumptool
--- old/kdump-2.1.4/kdumptool/kdumptool 2025-07-18 13:52:43.000000000 +0200
+++ new/kdump-2.1.5/kdumptool/kdumptool 2025-07-24 12:32:09.000000000 +0200
@@ -50,7 +50,7 @@
                        done < <(cryptsetup luksDump "${CRYPTO_SOURCE}")
                fi
        fi
-
+       [[ -f /var/lib/kdump/kernel-version ]] && read KDUMP_KERNEL_VERSION < 
/var/lib/kdump/kernel-version
        # skip over the "calibrate" argument and pass the rest to the binary
        shift
        /usr/lib/kdump/calibrate "$@"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdump-2.1.4/sysconfig.kdump.in 
new/kdump-2.1.5/sysconfig.kdump.in
--- old/kdump-2.1.4/sysconfig.kdump.in  2025-07-18 13:52:43.000000000 +0200
+++ new/kdump-2.1.5/sysconfig.kdump.in  2025-07-24 12:32:09.000000000 +0200
@@ -56,6 +56,10 @@
 #
 # If the value is zero, use all available CPUs.
 #
+# Decreasing the number of CPUs lowers the memory required by kdump.
+# Increasing it raises memory usage and may cause failures if crashkernel
+# memory is insufficient.
+#
 # See also: kdump(5).
 #
 KDUMP_CPUS=32

Reply via email to