commit kdump for openSUSE:Factory

2024-05-20 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kdump for openSUSE:Factory checked 
in at 2024-05-20 18:09:41

Comparing /work/SRC/openSUSE:Factory/kdump (Old)
 and  /work/SRC/openSUSE:Factory/.kdump.new.1880 (New)


Package is "kdump"

Mon May 20 18:09:41 2024 rev:146 rq:1174881 version:2.0.5

Changes:

--- /work/SRC/openSUSE:Factory/kdump/kdump.changes  2024-01-19 
23:00:11.513631277 +0100
+++ /work/SRC/openSUSE:Factory/.kdump.new.1880/kdump.changes2024-05-20 
18:09:55.898638048 +0200
@@ -1,0 +2,13 @@
+Fri May 17 12:27:09 UTC 2024 - Jiri Bohac 
+
+- upgrade to version 2.0.5
+  * spec: differentiate between uninstall and upgrade in postun/preun 
(bsc#1191410)
+  * spec: return success from pre, post, preun and postun scriplets 
(bsc#128)
+  * add a note to README.txt about the flattened format (bsc#1221374)
+  * use the same persistent device links as dracut (bsc#1222009, bsc#1219471)
+  * remove dracut parse-root.sh hook (bsc#1221288)
+  * always use nr_cpus, not maxcpus (bsc#1218180)
+  * prevent mounting root in fadump (bsc#1219958)
+  * update calibrate values
+
+---

Old:

  kdump-2.0.1.tar.xz

New:

  kdump-2.0.5.tar.xz



Other differences:
--
++ kdump.spec ++
--- /var/tmp/diff_new_pack.CnbTcD/_old  2024-05-20 18:09:56.578662806 +0200
+++ /var/tmp/diff_new_pack.CnbTcD/_new  2024-05-20 18:09:56.582662951 +0200
@@ -57,7 +57,7 @@
 %define dracutlibdir %{_prefix}/lib/dracut
 
 Name:   kdump
-Version:2.0.1
+Version:2.0.5
 Release:0
 Summary:Kernel crash dump scripts and utilities
 License:GPL-2.0-or-later
@@ -89,8 +89,6 @@
 BuildRequires:  qemu-ipxe
 BuildRequires:  qemu-vgabios
 %endif
-BuildRequires:  systemd-sysvinit
-BuildRequires:  util-linux-systemd
 %endif
 Requires:   /usr/bin/sed
 Requires:   dracut >= 047
@@ -184,6 +182,7 @@
 %service_add_pre kdump.service
 %service_add_pre kdump-early.service
 %service_add_pre kdump-notify.service
+exit 0
 
 %post
 # change only permission if the file exists before /etc/sysconfig/kdump
@@ -212,24 +211,35 @@
 servicelog_notify --remove --command=/usr/lib/kdump/kdump-migrate-action.sh
 servicelog_notify --add --command=/usr/lib/kdump/kdump-migrate-action.sh 
--match='refcode="#MIGRATE" and serviceable=0' --type=EVENT --method=pairs_stdin
 %endif
+exit 0
 
 %preun
 %ifarch ppc64 ppc64le
-servicelog_notify --remove --command=/usr/lib/kdump/kdump-migrate-action.sh
+if [ $1 -eq 0 ]; then
+   # removal, not upgrade
+   servicelog_notify --remove 
--command=/usr/lib/kdump/kdump-migrate-action.sh
+fi
 %endif
 echo "Stopping kdump ..."
 %service_del_preun kdump.service
 %service_del_preun kdump-early.service
 %service_del_preun kdump-notify.service
+exit 0
 
 %postun
-# force regeneration of kdumprd
-touch %{_sysconfdir}/sysconfig/kdump
-# delete symbolic link
-rm %{_localstatedir}/log/dump >/dev/null 2>&1 || true
+if [ $1 -gt 0 ]; then
+   # upgrade
+   # force regeneration of kdumprd
+   touch %{_sysconfdir}/sysconfig/kdump
+else
+   # removal
+   # delete symbolic link
+   rm %{_localstatedir}/log/dump >/dev/null 2>&1 || true
+fi
 %service_del_postun kdump.service
 %service_del_postun kdump-early.service
 %service_del_postun kdump-notify.service
+exit 0
 
 %files
 %defattr(-,root,root)

++ calibrate.conf.all ++
--- /var/tmp/diff_new_pack.CnbTcD/_old  2024-05-20 18:09:56.634664845 +0200
+++ /var/tmp/diff_new_pack.CnbTcD/_new  2024-05-20 18:09:56.638664990 +0200
@@ -1,12 +1,12 @@
-alp1600.aarch64:INIT_CACHED=35308
-alp1600.aarch64:INIT_CACHED_NET=13196
-alp1600.aarch64:INIT_NET=
-alp1600.aarch64:KERNEL_BASE=93832
-alp1600.aarch64:KERNEL_INIT=23264
+alp1600.aarch64:INIT_CACHED=38920
+alp1600.aarch64:INIT_CACHED_NET=13580
+alp1600.aarch64:INIT_NET=4656
+alp1600.aarch64:KERNEL_BASE=79844
+alp1600.aarch64:KERNEL_INIT=25660
 alp1600.aarch64:PAGESIZE=4096
-alp1600.aarch64:PERCPU=152
+alp1600.aarch64:PERCPU=144
 alp1600.aarch64:SIZEOFPAGE=64
-alp1600.aarch64:USER_BASE=12132
+alp1600.aarch64:USER_BASE=14172
 alp1600.aarch64:USER_NET=0
 alp1600.i386:INIT_CACHED=42804
 alp1600.i386:INIT_CACHED_NET=12916
@@ -18,46 +18,56 @@
 alp1600.i386:SIZEOFPAGE=40
 alp1600.i386:USER_BASE=13064
 alp1600.i386:USER_NET=1868
-alp1600.ppc64:INIT_CACHED=92096
-alp1600.ppc64:INIT_CACHED_NET=20928
-alp1600.ppc64:INIT_NET=5056
-alp1600.ppc64:KERNEL_BASE=147840
-alp1600.ppc64:KERNEL_INIT=22208
+alp1600.ppc64:INIT_CACHED=85312
+alp1600.ppc64:INIT_CACHED_NET=21056
+alp1600.ppc64:INIT_NET=5184
+alp1600.ppc64:KERNEL_BASE=149184
+alp1600.ppc64:KERNEL_INIT=20544
 alp1600.ppc64:PAGESIZE=65536
 alp1600.ppc64:PERCPU=896
 

commit kdump for openSUSE:Factory

2024-01-19 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kdump for openSUSE:Factory checked 
in at 2024-01-19 23:00:07

Comparing /work/SRC/openSUSE:Factory/kdump (Old)
 and  /work/SRC/openSUSE:Factory/.kdump.new.16006 (New)


Package is "kdump"

Fri Jan 19 23:00:07 2024 rev:145 rq:1139721 version:2.0.1

Changes:

--- /work/SRC/openSUSE:Factory/kdump/kdump.changes  2023-12-20 
21:01:22.316536354 +0100
+++ /work/SRC/openSUSE:Factory/.kdump.new.16006/kdump.changes   2024-01-19 
23:00:11.513631277 +0100
@@ -1,0 +2,6 @@
+Thu Jan 18 13:42:32 UTC 2024 - Jiri Bohac 
+
+- upgrade to version 2.0.1
+  * load.sh: fix fadump (bsc#1218589)
+
+---

Old:

  kdump-2.0.0.tar.xz

New:

  kdump-2.0.1.tar.xz



Other differences:
--
++ kdump.spec ++
--- /var/tmp/diff_new_pack.fWTWNo/_old  2024-01-19 23:00:12.537668709 +0100
+++ /var/tmp/diff_new_pack.fWTWNo/_new  2024-01-19 23:00:12.541668856 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package kdump
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -57,7 +57,7 @@
 %define dracutlibdir %{_prefix}/lib/dracut
 
 Name:   kdump
-Version:2.0.0
+Version:2.0.1
 Release:0
 Summary:Kernel crash dump scripts and utilities
 License:GPL-2.0-or-later

++ kdump-2.0.0.tar.xz -> kdump-2.0.1.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdump-2.0.0/NEWS new/kdump-2.0.1/NEWS
--- old/kdump-2.0.0/NEWS2023-12-13 17:34:59.0 +0100
+++ new/kdump-2.0.1/NEWS2024-01-18 14:45:37.0 +0100
@@ -1,3 +1,6 @@
+2.0.1
+-
+  * load.sh: fix fadump (bsc#1218589)
 2.0.0
 -
   * add support for riscv64 (bsc#1204214)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdump-2.0.0/init/load.sh new/kdump-2.0.1/init/load.sh
--- old/kdump-2.0.0/init/load.sh2023-12-13 17:34:59.0 +0100
+++ new/kdump-2.0.1/init/load.sh2024-01-18 14:45:37.0 +0100
@@ -160,11 +160,6 @@
 local result
 local output
 
-if [ ! -f "$kdump_initrd" ] ; then
-echo "No kdump initial ramdisk found. Tried to locate $kdump_initrd."
-   return 6
-fi
-
 local kdump_commandline=$(build_kdump_commandline "$kdump_kernel")
 
 KEXEC_CALL="$KEXEC -p $kdump_kernel --append=\"$kdump_commandline\" 
--initrd=$kdump_initrd $KEXEC_OPTIONS -a"
@@ -303,19 +298,6 @@
 rebuild_kdumprd || exit 1
 fi
 
-# check if initrd and the kernel it was built for exist
-# return 6 if not, which is treated as success by 
-# the kdump-early service
-
-# FIXME: This is a fragile SELinux workaround: use /bin/test instead of [[ ]] 
-# because it runs with a different label which by coincidence
-# is allowed to dereference the symlink
-# see bsc#1213721
-#[[ -f "${kdump_initrd}" ]] || exit 6
-#[[ -f "${kdump_kernel}" ]] || exit 6
-/usr/bin/test -f "${kdump_initrd}" || exit 6
-/usr/bin/test -f "${kdump_kernel}" || exit 6
-
 if [ "$shrink" = yes ] ; then
 kdumptool calibrate --shrink > /dev/null
 fi
@@ -324,6 +306,19 @@
 load_kdump_fadump
 else
 fadump_bootloader off
+
+# check if initrd and the kernel it was built for exist
+# return 6 if not, which is treated as success by 
+# the kdump-early service
+# FIXME: This is a fragile SELinux workaround: use /bin/test instead of [[ 
]] 
+# because it runs with a different label which by coincidence
+# is allowed to dereference the symlink
+# see bsc#1213721
+#[[ -f "${kdump_initrd}" ]] || exit 6
+#[[ -f "${kdump_kernel}" ]] || exit 6
+/usr/bin/test -f "${kdump_initrd}" || exit 6
+/usr/bin/test -f "${kdump_kernel}" || exit 6
+
 load_kdump_kexec
 fi
 result=$?


commit kdump for openSUSE:Factory

2023-12-20 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kdump for openSUSE:Factory checked 
in at 2023-12-20 21:01:11

Comparing /work/SRC/openSUSE:Factory/kdump (Old)
 and  /work/SRC/openSUSE:Factory/.kdump.new.9037 (New)


Package is "kdump"

Wed Dec 20 21:01:11 2023 rev:144 rq:1134051 version:2.0.0

Changes:

--- /work/SRC/openSUSE:Factory/kdump/kdump.changes  2023-12-14 
22:02:44.931219632 +0100
+++ /work/SRC/openSUSE:Factory/.kdump.new.9037/kdump.changes2023-12-20 
21:01:22.316536354 +0100
@@ -1,0 +2,5 @@
+Sat Dec 16 10:08:54 UTC 2023 - Andreas Schwab 
+
+- Update calibrate values for riscv64
+
+---



Other differences:
--
++ calibrate.conf.all ++
--- /var/tmp/diff_new_pack.YoJMeL/_old  2023-12-20 21:01:22.852555855 +0100
+++ /var/tmp/diff_new_pack.YoJMeL/_new  2023-12-20 21:01:22.852555855 +0100
@@ -368,6 +368,16 @@
 tumbleweed.ppc64le:SIZEOFPAGE=64
 tumbleweed.ppc64le:USER_BASE=40832
 tumbleweed.ppc64le:USER_NET=5184
+tumbleweed.riscv64:INIT_CACHED=32504
+tumbleweed.riscv64:INIT_CACHED_NET=11580
+tumbleweed.riscv64:INIT_NET=5320
+tumbleweed.riscv64:KERNEL_BASE=107252
+tumbleweed.riscv64:KERNEL_INIT=23588
+tumbleweed.riscv64:PAGESIZE=4096
+tumbleweed.riscv64:PERCPU=144
+tumbleweed.riscv64:SIZEOFPAGE=64
+tumbleweed.riscv64:USER_BASE=12092
+tumbleweed.riscv64:USER_NET=1928
 tumbleweed.s390x:INIT_CACHED=28560
 tumbleweed.s390x:INIT_CACHED_NET=12480
 tumbleweed.s390x:INIT_NET=4512


commit kdump for openSUSE:Factory

2023-12-14 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kdump for openSUSE:Factory checked 
in at 2023-12-14 22:02:44

Comparing /work/SRC/openSUSE:Factory/kdump (Old)
 and  /work/SRC/openSUSE:Factory/.kdump.new.25432 (New)


Package is "kdump"

Thu Dec 14 22:02:44 2023 rev:143 rq:1132926 version:2.0.0

Changes:

--- /work/SRC/openSUSE:Factory/kdump/kdump.changes  2023-11-02 
20:20:45.890279051 +0100
+++ /work/SRC/openSUSE:Factory/.kdump.new.25432/kdump.changes   2023-12-14 
22:02:44.931219632 +0100
@@ -1,0 +2,9 @@
+Wed Dec 13 16:44:48 UTC 2023 - Jiri Bohac 
+
+- upgrade to version 2.0.0
+  * add support for riscv64 (bsc#1204214)
+  * mkdumprd: fix the check for updated SSH keys
+  * prefer by-path and device-mapper aliases (bsc#1217617)
+  * udev: don't reload kdump if kernel handles hotplug (jsc#PED-5077)
+
+---

Old:

  kdump-1.9.8.tar.xz

New:

  kdump-2.0.0.tar.xz



Other differences:
--
++ kdump.spec ++
--- /var/tmp/diff_new_pack.QS58fm/_old  2023-12-14 22:02:45.751249209 +0100
+++ /var/tmp/diff_new_pack.QS58fm/_new  2023-12-14 22:02:45.751249209 +0100
@@ -44,16 +44,20 @@
 %ifarch %power64
 %define qemu qemu-ppc
 %else
+%ifarch riscv64
+%define qemu qemu-extra
+%else
 %define qemu qemu-%{_target_cpu}
 %endif
 %endif
 %endif
 %endif
+%endif
 
 %define dracutlibdir %{_prefix}/lib/dracut
 
 Name:   kdump
-Version:1.9.8
+Version:2.0.0
 Release:0
 Summary:Kernel crash dump scripts and utilities
 License:GPL-2.0-or-later

++ kdump-1.9.8.tar.xz -> kdump-2.0.0.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdump-1.9.8/70-kdump.rules.in 
new/kdump-2.0.0/70-kdump.rules.in
--- old/kdump-1.9.8/70-kdump.rules.in   2023-10-31 14:48:03.0 +0100
+++ new/kdump-2.0.0/70-kdump.rules.in   2023-12-13 17:34:59.0 +0100
@@ -4,13 +4,13 @@
 # no kdump udev rules are required.
 #
 @else
-#
+
+# Do nothing if kernel itself updates vmcoreinfo on hotplug 
+SUBSYSTEM=="cpu", ATTRS{crash_hotplug}=="1", GOTO="kdump_end"
+SUBSYSTEM=="memory", ATTRS{crash_hotplug}=="1", GOTO="kdump_end"
+
 # Kdump core headers needs to be regnerated if the CPUs or memory changes.
 # For this, reload kdump.
-#
-# Novell Bug #389658
-#
-
 SUBSYSTEM=="memory", ACTION=="add|remove", GOTO="kdump_try_restart"
 @if @ARCH@ ppc ppc64 ppc64le
 SUBSYSTEM=="cpu", ACTION=="online", GOTO="kdump_try_restart"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdump-1.9.8/NEWS new/kdump-2.0.0/NEWS
--- old/kdump-1.9.8/NEWS2023-10-31 14:48:03.0 +0100
+++ new/kdump-2.0.0/NEWS2023-12-13 17:34:59.0 +0100
@@ -1,3 +1,10 @@
+2.0.0
+-
+  * add support for riscv64 (bsc#1204214)
+  * mkdumprd: fix the check for updated SSH keys
+  * prefer by-path and device-mapper aliases (bsc#1217617)
+  * udev: don't reload kdump if kernel handles hotplug (jsc#PED-5077)
+
 1.9.8
 -
   * drop obsolete dependency on systemd-sysvinit
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdump-1.9.8/calibrate/mkelfcorehdr.c 
new/kdump-2.0.0/calibrate/mkelfcorehdr.c
--- old/kdump-1.9.8/calibrate/mkelfcorehdr.c2023-10-31 14:48:03.0 
+0100
+++ new/kdump-2.0.0/calibrate/mkelfcorehdr.c2023-12-13 17:34:59.0 
+0100
@@ -46,6 +46,8 @@
 # define ELF_MACHINE   EM_ARM
 #elif defined(__alpha__)
 # define ELF_MACHINE   EM_ALPHA
+#elif defined(__riscv)
+# define ELF_MACHINE   EM_RISCV
 #else
 # error "Unimplemented architecture!"
 #endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdump-1.9.8/calibrate/run-qemu.py 
new/kdump-2.0.0/calibrate/run-qemu.py
--- old/kdump-1.9.8/calibrate/run-qemu.py   2023-10-31 14:48:03.0 
+0100
+++ new/kdump-2.0.0/calibrate/run-qemu.py   2023-12-13 17:34:59.0 
+0100
@@ -34,7 +34,7 @@
 image="vmlinuz"
 elif arch.startswith("s390"):
 image="image"
-elif arch == "aarch64":
+elif arch == "aarch64" or arch == "riscv64":
 image="Image"
 else:
 image="vmlinux"
@@ -48,6 +48,9 @@
 if params['ARCH'] == 'aarch64':
 # QEMU defines all RAM at 1G physical for AArch64
 ADDR_ELFCOREHDR = (1024 * 1024 * 1024) + (256 * 1024 * 1024)
+elif params['ARCH'] == 'riscv64':
+# QEMU defines all RAM at 2G physical for RISC-V
+ADDR_ELFCOREHDR = 0x8000 + (256 * 1024 * 1024)
 else:
 # For other platforms, the region at 768M should be reasonably safe,
 # because it is high enough to avoid conflicts with special-purpose
@@ -179,6 +182,9 @@
 elif 

commit kdump for openSUSE:Factory

2023-11-02 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kdump for openSUSE:Factory checked 
in at 2023-11-02 20:20:42

Comparing /work/SRC/openSUSE:Factory/kdump (Old)
 and  /work/SRC/openSUSE:Factory/.kdump.new.17445 (New)


Package is "kdump"

Thu Nov  2 20:20:42 2023 rev:142 rq:1121458 version:1.9.8

Changes:

--- /work/SRC/openSUSE:Factory/kdump/kdump.changes  2023-10-26 
17:12:19.759664089 +0200
+++ /work/SRC/openSUSE:Factory/.kdump.new.17445/kdump.changes   2023-11-02 
20:20:45.890279051 +0100
@@ -1,0 +2,6 @@
+Tue Oct 31 14:30:30 UTC 2023 - Jiri Bohac 
+
+- upgrade to version 1.9.8
+  * drop obsolete dependency on systemd-sysvinit (bsc#1216745)
+
+---

Old:

  kdump-1.9.7.tar.xz

New:

  kdump-1.9.8.tar.xz



Other differences:
--
++ kdump.spec ++
--- /var/tmp/diff_new_pack.crei5D/_old  2023-11-02 20:20:46.830313641 +0100
+++ /var/tmp/diff_new_pack.crei5D/_new  2023-11-02 20:20:46.830313641 +0100
@@ -53,7 +53,7 @@
 %define dracutlibdir %{_prefix}/lib/dracut
 
 Name:   kdump
-Version:1.9.7
+Version:1.9.8
 Release:0
 Summary:Kernel crash dump scripts and utilities
 License:GPL-2.0-or-later
@@ -65,7 +65,6 @@
 BuildRequires:  cmake >= 3.7
 BuildRequires:  gcc-c++
 BuildRequires:  pkgconfig
-BuildRequires:  systemd-sysvinit
 BuildRequires:  util-linux-systemd
 BuildRequires:  pkgconfig(systemd)
 BuildRequires:  pkgconfig(udev)

++ kdump-1.9.7.tar.xz -> kdump-1.9.8.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdump-1.9.7/NEWS new/kdump-1.9.8/NEWS
--- old/kdump-1.9.7/NEWS2023-10-17 15:31:22.0 +0200
+++ new/kdump-1.9.8/NEWS2023-10-31 14:48:03.0 +0100
@@ -1,3 +1,7 @@
+1.9.8
+-
+  * drop obsolete dependency on systemd-sysvinit
+
 1.9.7
 -
   * prevent dracut emergency shell
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdump-1.9.7/packaging/suse/kdump.spec 
new/kdump-1.9.8/packaging/suse/kdump.spec
--- old/kdump-1.9.7/packaging/suse/kdump.spec   2023-10-17 15:31:22.0 
+0200
+++ new/kdump-1.9.8/packaging/suse/kdump.spec   2023-10-31 14:48:03.0 
+0100
@@ -64,7 +64,6 @@
 BuildRequires:  cmake >= 3.7
 BuildRequires:  gcc-c++
 BuildRequires:  pkgconfig
-BuildRequires:  systemd-sysvinit
 BuildRequires:  util-linux-systemd
 BuildRequires:  pkgconfig(systemd)
 BuildRequires:  pkgconfig(udev)


commit kdump for openSUSE:Factory

2023-10-26 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kdump for openSUSE:Factory checked 
in at 2023-10-26 17:12:02

Comparing /work/SRC/openSUSE:Factory/kdump (Old)
 and  /work/SRC/openSUSE:Factory/.kdump.new.24901 (New)


Package is "kdump"

Thu Oct 26 17:12:02 2023 rev:141 rq:1120116 version:1.9.7

Changes:

--- /work/SRC/openSUSE:Factory/kdump/kdump.changes  2023-09-08 
21:14:58.973273717 +0200
+++ /work/SRC/openSUSE:Factory/.kdump.new.24901/kdump.changes   2023-10-26 
17:12:19.759664089 +0200
@@ -1,0 +2,9 @@
+Tue Oct 17 16:22:16 UTC 2023 - Jiri Bohac 
+
+- upgrade to version 1.9.7
+  * prevent dracut emergency shell
+  * s390: consolidate low-level network configuration with zdev
+  * s390: Explicitly request zFCP devices
+ 
+
+---

Old:

  kdump-1.9.6.tar.xz

New:

  kdump-1.9.7.tar.xz



Other differences:
--
++ kdump.spec ++
--- /var/tmp/diff_new_pack.TC7SVk/_old  2023-10-26 17:12:20.327684951 +0200
+++ /var/tmp/diff_new_pack.TC7SVk/_new  2023-10-26 17:12:20.331685098 +0200
@@ -53,7 +53,7 @@
 %define dracutlibdir %{_prefix}/lib/dracut
 
 Name:   kdump
-Version:1.9.6
+Version:1.9.7
 Release:0
 Summary:Kernel crash dump scripts and utilities
 License:GPL-2.0-or-later

++ kdump-1.9.6.tar.xz -> kdump-1.9.7.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdump-1.9.6/NEWS new/kdump-1.9.7/NEWS
--- old/kdump-1.9.6/NEWS2023-08-25 17:54:25.0 +0200
+++ new/kdump-1.9.7/NEWS2023-10-17 15:31:22.0 +0200
@@ -1,3 +1,9 @@
+1.9.7
+-
+  * prevent dracut emergency shell
+  * s390: consolidate low-level network configuration with zdev
+  * s390: Explicitly request zFCP devices
+
 1.9.6
 -
   * use newer /sys/kernel/fadump/ instead of /sys/kernel/fadump_
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdump-1.9.6/dracut/module-setup.sh 
new/kdump-1.9.7/dracut/module-setup.sh
--- old/kdump-1.9.6/dracut/module-setup.sh  2023-08-25 17:54:25.0 
+0200
+++ new/kdump-1.9.7/dracut/module-setup.sh  2023-10-17 15:31:22.0 
+0200
@@ -136,10 +136,18 @@
 }
 
 install() {
+   local _arch=$(uname -m)
+
# generate command line for network configuration
kdump_cmdline_ip > "${initdir}/etc/cmdline.d/99kdump-net.conf"
[[ -s "${initdir}/etc/cmdline.d/99kdump-net.conf" ]] || rm 
"${initdir}/etc/cmdline.d/99kdump-net.conf"
 
+   # prevent dracut emergency shell unless kdump-save would run a shell 
anyway
+   kdump_save_may_run_shell || echo "rd.emergency=reboot rd.shell=0" > 
"${initdir}/etc/cmdline.d/99no-emerg.conf"
+
+   # S390: Explicitly request zFCP devices 
+   [ "$_arch" = "s390" -o "$_arch" = "s390x" ] && kdump_cmdline_zfcp > 
"${initdir}/etc/cmdline.d/99kdump-zfcp.conf"
+
# parse the configuration, check values and initialize defaults 
"$KDUMP_LIBDIR"/kdump-read-config.sh --print > ${initdir}/etc/kdump.conf
# remember the host name
@@ -244,3 +252,40 @@
done
popd >/dev/null
 }
+
+# mimic the logic of kdump-save determining if an interactive shell may be run
+function kdump_save_may_run_shell
+{
+   # without KDUMP_CONTINUE_ON_ERROR user explicitly wants a shell on 
errors
+   $KDUMP_CONTINUE_ON_ERROR || return 0
+
+   $KDUMP_IMMEDIATE_REBOOT && return 1
+
+   if $KDUMP_FADUMP; then
+   $KDUMP_FADUMP_SHELL && return 0
+   else
+   return 0
+   fi
+
+   return 1
+}
+
+function kdump_cmdline_zfcp() {
+   is_zfcp() {
+   local _dev=$1
+   local _devpath=$(cd -P /sys/dev/block/$_dev ; echo $PWD)
+   local _sdev _lun _wwpn _ccw
+
+   [ "${_devpath#*/sd}" == "$_devpath" ] && return 1
+   _sdev="${_devpath%%/block/*}"
+   [ -e ${_sdev}/fcp_lun ] || return 1
+   _ccw=$(cat ${_sdev}/hba_id)
+   _lun=$(cat ${_sdev}/fcp_lun)
+   _wwpn=$(cat ${_sdev}/wwpn)
+   echo "rd.zfcp=${_ccw},${_wwpn},${_lun}"
+   }
+   [[ $hostonly ]] || [[ $mount_needs ]] && {
+   for_each_host_dev_and_slaves_all is_zfcp
+   } | sort -u
+}
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdump-1.9.6/dracut/setup-kdump.functions 
new/kdump-1.9.7/dracut/setup-kdump.functions
--- old/kdump-1.9.6/dracut/setup-kdump.functions2023-08-25 
17:54:25.0 +0200
+++ new/kdump-1.9.7/dracut/setup-kdump.functions2023-10-17 
15:31:22.0 +0200
@@ -723,7 

commit kdump for openSUSE:Factory

2023-09-08 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kdump for openSUSE:Factory checked 
in at 2023-09-08 21:14:54

Comparing /work/SRC/openSUSE:Factory/kdump (Old)
 and  /work/SRC/openSUSE:Factory/.kdump.new.1766 (New)


Package is "kdump"

Fri Sep  8 21:14:54 2023 rev:140 rq:1109265 version:1.9.6

Changes:

--- /work/SRC/openSUSE:Factory/kdump/kdump.changes  2023-08-30 
10:17:36.461990501 +0200
+++ /work/SRC/openSUSE:Factory/.kdump.new.1766/kdump.changes2023-09-08 
21:14:58.973273717 +0200
@@ -1,0 +2,5 @@
+Wed Sep  6 12:20:14 UTC 2023 - Jiri Bohac 
+
+- update calibrate values, newly added SLE15-SP6 values
+
+---



Other differences:
--
++ calibrate.conf.all ++
--- /var/tmp/diff_new_pack.PSTOjF/_old  2023-09-08 21:15:00.349322896 +0200
+++ /var/tmp/diff_new_pack.PSTOjF/_new  2023-09-08 21:15:00.357323182 +0200
@@ -1,3 +1,63 @@
+alp1600.aarch64:INIT_CACHED=35308
+alp1600.aarch64:INIT_CACHED_NET=13196
+alp1600.aarch64:INIT_NET=
+alp1600.aarch64:KERNEL_BASE=93832
+alp1600.aarch64:KERNEL_INIT=23264
+alp1600.aarch64:PAGESIZE=4096
+alp1600.aarch64:PERCPU=152
+alp1600.aarch64:SIZEOFPAGE=64
+alp1600.aarch64:USER_BASE=12132
+alp1600.aarch64:USER_NET=0
+alp1600.i386:INIT_CACHED=42804
+alp1600.i386:INIT_CACHED_NET=12916
+alp1600.i386:INIT_NET=4748
+alp1600.i386:KERNEL_BASE=58004
+alp1600.i386:KERNEL_INIT=14864
+alp1600.i386:PAGESIZE=4096
+alp1600.i386:PERCPU=136
+alp1600.i386:SIZEOFPAGE=40
+alp1600.i386:USER_BASE=13064
+alp1600.i386:USER_NET=1868
+alp1600.ppc64:INIT_CACHED=92096
+alp1600.ppc64:INIT_CACHED_NET=20928
+alp1600.ppc64:INIT_NET=5056
+alp1600.ppc64:KERNEL_BASE=147840
+alp1600.ppc64:KERNEL_INIT=22208
+alp1600.ppc64:PAGESIZE=65536
+alp1600.ppc64:PERCPU=896
+alp1600.ppc64:SIZEOFPAGE=64
+alp1600.ppc64:USER_BASE=87552
+alp1600.ppc64:USER_NET=4032
+alp1600.ppc64le:INIT_CACHED=81216
+alp1600.ppc64le:INIT_CACHED_NET=23616
+alp1600.ppc64le:INIT_NET=6336
+alp1600.ppc64le:KERNEL_BASE=146240
+alp1600.ppc64le:KERNEL_INIT=20224
+alp1600.ppc64le:PAGESIZE=65536
+alp1600.ppc64le:PERCPU=896
+alp1600.ppc64le:SIZEOFPAGE=64
+alp1600.ppc64le:USER_BASE=40960
+alp1600.ppc64le:USER_NET=2112
+alp1600.s390x:INIT_CACHED=28560
+alp1600.s390x:INIT_CACHED_NET=12480
+alp1600.s390x:INIT_NET=4512
+alp1600.s390x:KERNEL_BASE=50036
+alp1600.s390x:KERNEL_INIT=14624
+alp1600.s390x:PAGESIZE=4096
+alp1600.s390x:PERCPU=148
+alp1600.s390x:SIZEOFPAGE=64
+alp1600.s390x:USER_BASE=10280
+alp1600.s390x:USER_NET=1352
+alp1600.x86_64:INIT_CACHED=37336
+alp1600.x86_64:INIT_CACHED_NET=12928
+alp1600.x86_64:INIT_NET=5040
+alp1600.x86_64:KERNEL_BASE=108796
+alp1600.x86_64:KERNEL_INIT=23568
+alp1600.x86_64:PAGESIZE=4096
+alp1600.x86_64:PERCPU=292
+alp1600.x86_64:SIZEOFPAGE=64
+alp1600.x86_64:USER_BASE=9232
+alp1600.x86_64:USER_NET=14408
 leap150300.aarch64:INIT_CACHED=34920
 leap150300.aarch64:INIT_CACHED_NET=9524
 leap150300.aarch64:INIT_NET=3340
@@ -108,26 +168,26 @@
 sle150200.x86_64:SIZEOFPAGE=64
 sle150200.x86_64:USER_BASE=11176
 sle150200.x86_64:USER_NET=2372
-sle150300.aarch64:INIT_CACHED=28648
+sle150300.aarch64:INIT_CACHED=28572
 sle150300.aarch64:INIT_CACHED_NET=10940
-sle150300.aarch64:INIT_NET=3524
-sle150300.aarch64:KERNEL_BASE=57784
-sle150300.aarch64:KERNEL_INIT=15544
+sle150300.aarch64:INIT_NET=3528
+sle150300.aarch64:KERNEL_BASE=58452
+sle150300.aarch64:KERNEL_INIT=15536
 sle150300.aarch64:PAGESIZE=4096
 sle150300.aarch64:PERCPU=140
 sle150300.aarch64:SIZEOFPAGE=64
-sle150300.aarch64:USER_BASE=1496
-sle150300.aarch64:USER_NET=21356
-sle150300.ppc64le:INIT_CACHED=64192
+sle150300.aarch64:USER_BASE=16168
+sle150300.aarch64:USER_NET=7636
+sle150300.ppc64le:INIT_CACHED=64000
 sle150300.ppc64le:INIT_CACHED_NET=17472
 sle150300.ppc64le:INIT_NET=4032
-sle150300.ppc64le:KERNEL_BASE=76224
+sle150300.ppc64le:KERNEL_BASE=77632
 sle150300.ppc64le:KERNEL_INIT=16192
 sle150300.ppc64le:PAGESIZE=65536
 sle150300.ppc64le:PERCPU=896
 sle150300.ppc64le:SIZEOFPAGE=64
-sle150300.ppc64le:USER_BASE=61312
-sle150300.ppc64le:USER_NET=4160
+sle150300.ppc64le:USER_BASE=62592
+sle150300.ppc64le:USER_NET=6336
 sle150300.s390x:INIT_CACHED=25308
 sle150300.s390x:INIT_CACHED_NET=10080
 sle150300.s390x:INIT_NET=3224
@@ -138,35 +198,35 @@
 sle150300.s390x:SIZEOFPAGE=64
 sle150300.s390x:USER_BASE=7140
 sle150300.s390x:USER_NET=15608
-sle150300.x86_64:INIT_CACHED=26368
-sle150300.x86_64:INIT_CACHED_NET=9816
-sle150300.x86_64:INIT_NET=3556
-sle150300.x86_64:KERNEL_BASE=56612
-sle150300.x86_64:KERNEL_INIT=18192
+sle150300.x86_64:INIT_CACHED=27012
+sle150300.x86_64:INIT_CACHED_NET=9820
+sle150300.x86_64:INIT_NET=3560
+sle150300.x86_64:KERNEL_BASE=55852
+sle150300.x86_64:KERNEL_INIT=18440
 

commit kdump for openSUSE:Factory

2023-08-30 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kdump for openSUSE:Factory checked 
in at 2023-08-30 10:17:34

Comparing /work/SRC/openSUSE:Factory/kdump (Old)
 and  /work/SRC/openSUSE:Factory/.kdump.new.1766 (New)


Package is "kdump"

Wed Aug 30 10:17:34 2023 rev:139 rq:1105935 version:1.9.6

Changes:

--- /work/SRC/openSUSE:Factory/kdump/kdump.changes  2023-08-17 
19:43:53.590828393 +0200
+++ /work/SRC/openSUSE:Factory/.kdump.new.1766/kdump.changes2023-08-30 
10:17:36.461990501 +0200
@@ -1,0 +2,9 @@
+Fri Aug 25 16:08:41 UTC 2023 - Jiri Bohac 
+
+- upgrade to version 1.9.6
+  * use newer /sys/kernel/fadump/ instead of /sys/kernel/fadump_
+  * use kexec -a which falls back to kexec_load(2) automatically
+  * update s390 udev rules
+  * drop systemd device timeout generator
+
+---

Old:

  kdump-1.9.5.tar.xz

New:

  kdump-1.9.6.tar.xz



Other differences:
--
++ kdump.spec ++
--- /var/tmp/diff_new_pack.ABiYcT/_old  2023-08-30 10:17:41.822181790 +0200
+++ /var/tmp/diff_new_pack.ABiYcT/_new  2023-08-30 10:17:41.826181933 +0200
@@ -53,7 +53,7 @@
 %define dracutlibdir %{_prefix}/lib/dracut
 
 Name:   kdump
-Version:1.9.5
+Version:1.9.6
 Release:0
 Summary:Kernel crash dump scripts and utilities
 License:GPL-2.0-or-later
@@ -64,7 +64,6 @@
 BuildRequires:  asciidoc
 BuildRequires:  cmake >= 3.7
 BuildRequires:  gcc-c++
-BuildRequires:  libblkid-devel
 BuildRequires:  pkgconfig
 BuildRequires:  systemd-sysvinit
 BuildRequires:  util-linux-systemd

++ kdump-1.9.5.tar.xz -> kdump-1.9.6.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdump-1.9.5/.gitignore new/kdump-1.9.6/.gitignore
--- old/kdump-1.9.5/.gitignore  2023-07-28 16:37:45.0 +0200
+++ new/kdump-1.9.6/.gitignore  2023-08-25 17:54:25.0 +0200
@@ -22,7 +22,6 @@
 # resulting binaries
 calibrate/mkelfcorehdr
 calibrate/trackrss
-dracut/device-timeout-generator
 dracut/init-fadump
 kdumptool/calibrate
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdump-1.9.5/70-kdump.rules.in 
new/kdump-1.9.6/70-kdump.rules.in
--- old/kdump-1.9.5/70-kdump.rules.in   2023-07-28 16:37:45.0 +0200
+++ new/kdump-1.9.6/70-kdump.rules.in   2023-08-25 17:54:25.0 +0200
@@ -22,7 +22,7 @@
 LABEL="kdump_try_restart"
 PROGRAM="/bin/cat /sys/kernel/kexec_crash_loaded", RESULT!="0", 
RUN+="/usr/lib/kdump/load-once.sh"
 @if @ARCH@ ppc64 ppc64le
-SUBSYSTEM=="memory", TEST=="/sys/kernel/fadump_registered", PROGRAM="/bin/cat 
/sys/kernel/fadump_registered", RESULT!="0", RUN+="/usr/lib/kdump/load-once.sh"
+SUBSYSTEM=="memory", TEST=="/sys/kernel/fadump/registered", PROGRAM="/bin/cat 
/sys/kernel/fadump/registered", RESULT!="0", RUN+="/usr/lib/kdump/load-once.sh"
 @endif
 
 LABEL="kdump_end"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdump-1.9.5/CMakeLists.txt 
new/kdump-1.9.6/CMakeLists.txt
--- old/kdump-1.9.5/CMakeLists.txt  2023-07-28 16:37:45.0 +0200
+++ new/kdump-1.9.6/CMakeLists.txt  2023-08-25 17:54:25.0 +0200
@@ -72,11 +72,6 @@
 #
 set (CMAKE_LIBRARY_PATH /usr/lib64 ${CMAKE_LIBRARY_PATH})
 
-
-# libblkid
-pkg_check_modules(BLKID REQUIRED blkid)
-
-
 #
 # Check for FADUMP
 #
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdump-1.9.5/NEWS new/kdump-1.9.6/NEWS
--- old/kdump-1.9.5/NEWS2023-07-28 16:37:45.0 +0200
+++ new/kdump-1.9.6/NEWS2023-08-25 17:54:25.0 +0200
@@ -1,3 +1,10 @@
+1.9.6
+-
+  * use newer /sys/kernel/fadump/ instead of /sys/kernel/fadump_
+  * use kexec -a which falls back to kexec_load(2) automatically
+  * update s390 udev rules
+  * drop systemd device timeout generator
+
 1.9.5
 -
   * SELinux: temporary hack for bsc#1213721
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdump-1.9.5/README new/kdump-1.9.6/README
--- old/kdump-1.9.5/README  2023-07-28 16:37:45.0 +0200
+++ new/kdump-1.9.6/README  2023-08-25 17:54:25.0 +0200
@@ -15,7 +15,6 @@
 
   - asciidoc (http://www.methods.co.nz/asciidoc/),
   - cmake (http://www.cmake.org/).
-  - libblkid (libblkid-devel)
 
 It's maintained in a git tree at https://github.com/opensuse/kdump/
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdump-1.9.5/calibrate/mkelfcorehdr.c 
new/kdump-1.9.6/calibrate/mkelfcorehdr.c
--- old/kdump-1.9.5/calibrate/mkelfcorehdr.c2023-07-28 16:37:45.0 

commit kdump for openSUSE:Factory

2023-08-17 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kdump for openSUSE:Factory checked 
in at 2023-08-17 19:43:06

Comparing /work/SRC/openSUSE:Factory/kdump (Old)
 and  /work/SRC/openSUSE:Factory/.kdump.new.1766 (New)


Package is "kdump"

Thu Aug 17 19:43:06 2023 rev:138 rq:1104196 version:1.9.5

Changes:

--- /work/SRC/openSUSE:Factory/kdump/kdump.changes  2023-07-28 
22:19:56.345043651 +0200
+++ /work/SRC/openSUSE:Factory/.kdump.new.1766/kdump.changes2023-08-17 
19:43:53.590828393 +0200
@@ -4 +4 @@
-upgrade to version 1.9.5
+- upgrade to version 1.9.5



Other differences:
--


commit kdump for openSUSE:Factory

2023-07-28 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kdump for openSUSE:Factory checked 
in at 2023-07-28 22:19:52

Comparing /work/SRC/openSUSE:Factory/kdump (Old)
 and  /work/SRC/openSUSE:Factory/.kdump.new.32662 (New)


Package is "kdump"

Fri Jul 28 22:19:52 2023 rev:137 rq:1101210 version:1.9.5

Changes:

--- /work/SRC/openSUSE:Factory/kdump/kdump.changes  2023-07-04 
15:22:07.666114702 +0200
+++ /work/SRC/openSUSE:Factory/.kdump.new.32662/kdump.changes   2023-07-28 
22:19:56.345043651 +0200
@@ -1,0 +2,16 @@
+Fri Jul 28 14:39:14 UTC 2023 - Jiri Bohac 
+
+upgrade to version 1.9.5
+  * SELinux: temporary hack for bsc#1213721
+
+---
+Thu Jul 27 17:59:54 UTC 2023 - Jiri Bohac 
+
+- upgrade to version 1.9.4
+  * fix FADUMP initramfs when not created by mkdumprd
+  * FADUMP: let dracut de-duplicate initrd by preserving modification times
+  * mkdumprd: only regenerate FADUMP initrds when needed
+  * mkdumprd: exit when destination not writable (transactional updates)
+  * mkdumprd: don't call update-bootloader
+
+---

Old:

  kdump-1.9.3.tar.xz

New:

  kdump-1.9.5.tar.xz



Other differences:
--
++ kdump.spec ++
--- /var/tmp/diff_new_pack.zccFLf/_old  2023-07-28 22:19:57.113048320 +0200
+++ /var/tmp/diff_new_pack.zccFLf/_new  2023-07-28 22:19:57.117048344 +0200
@@ -53,7 +53,7 @@
 %define dracutlibdir %{_prefix}/lib/dracut
 
 Name:   kdump
-Version:1.9.3
+Version:1.9.5
 Release:0
 Summary:Kernel crash dump scripts and utilities
 License:GPL-2.0-or-later

++ kdump-1.9.3.tar.xz -> kdump-1.9.5.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdump-1.9.3/NEWS new/kdump-1.9.5/NEWS
--- old/kdump-1.9.3/NEWS2023-06-28 11:58:24.0 +0200
+++ new/kdump-1.9.5/NEWS2023-07-28 16:37:45.0 +0200
@@ -1,3 +1,15 @@
+1.9.5
+-
+  * SELinux: temporary hack for bsc#1213721
+
+1.9.4
+-
+  * fix FADUMP initramfs when not created by mkdumprd
+  * FADUMP: let dracut de-duplicate initrd by preserving modification times
+  * mkdumprd: only regenerate FADUMP initrds when needed
+  * mkdumprd: exit when destination not writable (transactional updates)
+  * mkdumprd: don't call update-bootloader
+
 1.9.3
 -
   * fix calibrate
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdump-1.9.3/calibrate/dummy-net.conf 
new/kdump-1.9.5/calibrate/dummy-net.conf
--- old/kdump-1.9.3/calibrate/dummy-net.conf2023-06-28 11:58:24.0 
+0200
+++ new/kdump-1.9.5/calibrate/dummy-net.conf2023-07-28 16:37:45.0 
+0200
@@ -3,3 +3,4 @@
 KDUMP_POSTSCRIPT="poweroff"
 KDUMP_COMMANDLINE_APPEND="ip=eth0:dhcp"
 KDUMP_NET_TIMEOUT=1
+KDUMP_HOST_KEY="*"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdump-1.9.3/dracut/fadump-module-setup.sh 
new/kdump-1.9.5/dracut/fadump-module-setup.sh
--- old/kdump-1.9.3/dracut/fadump-module-setup.sh   2023-06-28 
11:58:24.0 +0200
+++ new/kdump-1.9.5/dracut/fadump-module-setup.sh   2023-07-28 
16:37:45.0 +0200
@@ -1,5 +1,10 @@
 #!/bin/bash
 
+# this module is part of kdump
+# for FADUMP, the kdump initrd is embedded in every system initrd
+# A modified /init program determines whether to run the standard init
+# or the one from the embedded kdump initrd
+
 test -n "$KDUMP_LIBDIR" || KDUMP_LIBDIR=/usr/lib/kdump
 . "$KDUMP_LIBDIR"/kdump-read-config.sh || return 1
 
@@ -21,24 +26,11 @@
 mkdir -p "$_fadumpdir" || return 1
 
 dinfo "** Generating FADUMP initrd ***"
-local _initrd="$_fadumpdir/initrd"
-local -a _dracut_args=(
-"--force"
-"--hostonly"
-"--add" "kdump"
-"--omit" "plymouth resume usrmount zz-fadumpinit"
-"--no-compress"
-"--no-early-microcode"
-)
-
-[[ -n "${KDUMP_DRACUT_MOUNT_OPTION}" ]] && _dracut_args+=("--mount" 
"${KDUMP_DRACUT_MOUNT_OPTION}")
-
-local _dracut="${dracut_cmd:-dracut}"
-"$_dracut" "${_dracut_args[@]}" "$_initrd" "$kernel" || return 1
+mkdumprd -F -I "$_fadumpdir/initrd" -K "$kernel" || return 1
 pushd "$_fadumpdir" || return 1
-lsinitrd --unpack "$_initrd" || return 1
+cpio -id --preserve-modification-time --quiet < initrd || return 1
+rm -f initrd
 popd
-rm -f "$_initrd"
 dinfo "** Generating FADUMP initrd done ***"
 
 mv -f "$initdir/init" "$initdir/init.dracut"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 

commit kdump for openSUSE:Factory

2023-07-04 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kdump for openSUSE:Factory checked 
in at 2023-07-04 15:21:53

Comparing /work/SRC/openSUSE:Factory/kdump (Old)
 and  /work/SRC/openSUSE:Factory/.kdump.new.23466 (New)


Package is "kdump"

Tue Jul  4 15:21:53 2023 rev:136 rq:1096604 version:1.9.3

Changes:

--- /work/SRC/openSUSE:Factory/kdump/kdump.changes  2023-06-27 
23:16:19.255269531 +0200
+++ /work/SRC/openSUSE:Factory/.kdump.new.23466/kdump.changes   2023-07-04 
15:22:07.666114702 +0200
@@ -1,0 +2,10 @@
+Wed Jun 28 10:00:07 UTC 2023 - Jiri Bohac 
+
+- upgrade to version 1.9.3
+  * fix calibrate
+  * update kdump(7) manpage
+  * turn missing ssh, lftp or host key into a fatal error
+  * depend on openssh-clients not openssh
+- refreshed calibrate values
+
+---

Old:

  kdump-1.9.2.tar.xz
  kdump-rpmlintrc

New:

  kdump-1.9.3.tar.xz



Other differences:
--
++ kdump.spec ++
--- /var/tmp/diff_new_pack.eQxQA1/_old  2023-07-04 15:22:10.422131265 +0200
+++ /var/tmp/diff_new_pack.eQxQA1/_new  2023-07-04 15:22:10.426131289 +0200
@@ -53,7 +53,7 @@
 %define dracutlibdir %{_prefix}/lib/dracut
 
 Name:   kdump
-Version:1.9.2
+Version:1.9.3
 Release:0
 Summary:Kernel crash dump scripts and utilities
 License:GPL-2.0-or-later
@@ -61,7 +61,6 @@
 URL:https://github.com/openSUSE/kdump
 Source: %{name}-%{version}.tar.xz
 Source1:calibrate.conf.all
-Source2:%{name}-rpmlintrc
 BuildRequires:  asciidoc
 BuildRequires:  cmake >= 3.7
 BuildRequires:  gcc-c++
@@ -78,7 +77,10 @@
 BuildRequires:  dracut >= 047
 BuildRequires:  iputils
 BuildRequires:  kernel-default
+BuildRequires:  lftp
 BuildRequires:  makedumpfile
+BuildRequires:  openssh-clients
+BuildRequires:  pciutils
 BuildRequires:  procps
 BuildRequires:  python3
 %ifnarch s390x
@@ -105,7 +107,7 @@
 Recommends: cifs-utils
 Recommends: lftp
 Recommends: nfs-client
-Recommends: openssh
+Recommends: openssh-clients
 Suggests:   mailx
 # update should detect the split-off from kexec-tools
 Provides:   kexec-tools:%{_initddir}/kdump

++ calibrate.conf.all ++
--- /var/tmp/diff_new_pack.eQxQA1/_old  2023-07-04 15:22:10.498131722 +0200
+++ /var/tmp/diff_new_pack.eQxQA1/_new  2023-07-04 15:22:10.502131746 +0200
@@ -38,314 +38,314 @@
 leap150300.x86_64:SIZEOFPAGE=64
 leap150300.x86_64:USER_BASE=17076
 leap150300.x86_64:USER_NET=4420
-leap150500.aarch64:INIT_CACHED=38312
-leap150500.aarch64:INIT_CACHED_NET=4104
-leap150500.aarch64:INIT_NET=1592
-leap150500.aarch64:KERNEL_BASE=83580
-leap150500.aarch64:KERNEL_INIT=19300
+leap150500.aarch64:INIT_CACHED=31912
+leap150500.aarch64:INIT_CACHED_NET=10384
+leap150500.aarch64:INIT_NET=3424
+leap150500.aarch64:KERNEL_BASE=75432
+leap150500.aarch64:KERNEL_INIT=17340
 leap150500.aarch64:PAGESIZE=4096
 leap150500.aarch64:PERCPU=144
 leap150500.aarch64:SIZEOFPAGE=64
-leap150500.aarch64:USER_BASE=14256
-leap150500.aarch64:USER_NET=6848
-leap150500.ppc64le:INIT_CACHED=83264
-leap150500.ppc64le:INIT_CACHED_NET=8064
-leap150500.ppc64le:INIT_NET=1856
-leap150500.ppc64le:KERNEL_BASE=189440
-leap150500.ppc64le:KERNEL_INIT=19200
+leap150500.aarch64:USER_BASE=14516
+leap150500.aarch64:USER_NET=7040
+leap150500.ppc64le:INIT_CACHED=72960
+leap150500.ppc64le:INIT_CACHED_NET=17216
+leap150500.ppc64le:INIT_NET=3968
+leap150500.ppc64le:KERNEL_BASE=183360
+leap150500.ppc64le:KERNEL_INIT=16960
 leap150500.ppc64le:PAGESIZE=65536
 leap150500.ppc64le:PERCPU=896
 leap150500.ppc64le:SIZEOFPAGE=64
-leap150500.ppc64le:USER_BASE=67968
-leap150500.ppc64le:USER_NET=0
-leap150500.s390x:INIT_CACHED=34440
-leap150500.s390x:INIT_CACHED_NET=3584
-leap150500.s390x:INIT_NET=1300
-leap150500.s390x:KERNEL_BASE=44868
-leap150500.s390x:KERNEL_INIT=14668
+leap150500.ppc64le:USER_BASE=62336
+leap150500.ppc64le:USER_NET=4864
+leap150500.s390x:INIT_CACHED=28264
+leap150500.s390x:INIT_CACHED_NET=9596
+leap150500.s390x:INIT_NET=3112
+leap150500.s390x:KERNEL_BASE=45020
+leap150500.s390x:KERNEL_INIT=12728
 leap150500.s390x:PAGESIZE=4096
 leap150500.s390x:PERCPU=140
 leap150500.s390x:SIZEOFPAGE=64
-leap150500.s390x:USER_BASE=19508
-leap150500.s390x:USER_NET=0
-leap150500.x86_64:INIT_CACHED=37124
-leap150500.x86_64:INIT_CACHED_NET=3900
-leap150500.x86_64:INIT_NET=1784
-leap150500.x86_64:KERNEL_BASE=89488
-leap150500.x86_64:KERNEL_INIT=22076
+leap150500.s390x:USER_BASE=21256
+leap150500.s390x:USER_NET=1212
+leap150500.x86_64:INIT_CACHED=31084
+leap150500.x86_64:INIT_CACHED_NET=9700
+leap150500.x86_64:INIT_NET=3672
+leap150500.x86_64:KERNEL_BASE=87692
+leap150500.x86_64:KERNEL_INIT=20032
 

commit kdump for openSUSE:Factory

2023-06-27 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kdump for openSUSE:Factory checked 
in at 2023-06-27 23:16:14

Comparing /work/SRC/openSUSE:Factory/kdump (Old)
 and  /work/SRC/openSUSE:Factory/.kdump.new.15902 (New)


Package is "kdump"

Tue Jun 27 23:16:14 2023 rev:135 rq:1093182 version:1.9.2

Changes:

--- /work/SRC/openSUSE:Factory/kdump/kdump.changes  2023-06-08 
21:41:59.849791387 +0200
+++ /work/SRC/openSUSE:Factory/.kdump.new.15902/kdump.changes   2023-06-27 
23:16:19.255269531 +0200
@@ -1,0 +2,40 @@
+Wed Jun 14 22:42:43 UTC 2023 - Jiri Bohac 
+
+- upgrade to version 1.9.2
+  * adapt kdumptool to work with YaST
+  * wait for SMTP server to become reachable
+
+---
+Wed Jun 14 11:13:51 UTC 2023 - Jiri Bohac 
+
+- upgrade to version 1.9.1
+  * reimplement e-mail notifications
+
+---
+Thu Jun  8 16:43:28 UTC 2023 - Jiri Bohac 
+
+- upgrade to version 1.9
+  * complete rewrite of kdump-save and parts of initrd generation
+* mounts are now entirely handled by dracut
+* deprecated: split dumps (saving to more than one targets at once)
+* deprecated: KDUMPTOOL_FLAGS option removed; original XENALLDOMAINS is now
+  the default, disable with MAKEDUMPFILE_OPTIONS=-X
+* deprecated: notification e-mails
+* deprecated: copying of the kernel image (KDUMP_COPY_KERNEL)
+* FTP and SFTP are now handled by lftp, added to the spec file as 
Recommends:
+* SSH and SFTP now support passwords provided in the URL
+* fixed KDUMP_SSH_HOST_KEY, now needs to include the key type
+* new KDUMP_DUMPFORMAT=raw, will save an unmodified /proc/vmcore
+* the output directory name is now -MM-DD-HH-MM, i.e. the separator 
between
+  HH and MM changed 
+* unified default KDUMP_SAVEDIR across config, code and man to /var/crash
+* ping is now used to detect network is up; disable with 
KDUMP_NET_TIMEOUT=0
+* all the yes/no options changed to true/false; yes/no/1/0 still accepted
+  * put the kdump initrd in /var/lib/kdump/initrd
+  * use default kernel symlink (/boot/vmlinuz) instead of kernel autodetection
+  * KDUMP_KERNELVER can specify an absolute path to a kernel image
+  * improved mkdumprd detection of changed settings
+  * removed all of kdumptool except the calibrate subcommand
+  * cleaned up dependencies (ssh now only Recommended)
+
+---

Old:

  kdump-1.0.3.tar.xz

New:

  kdump-1.9.2.tar.xz



Other differences:
--
++ kdump.spec ++
--- /var/tmp/diff_new_pack.WgDsEY/_old  2023-06-27 23:16:20.027274074 +0200
+++ /var/tmp/diff_new_pack.WgDsEY/_new  2023-06-27 23:16:20.031274097 +0200
@@ -53,7 +53,7 @@
 %define dracutlibdir %{_prefix}/lib/dracut
 
 Name:   kdump
-Version:1.0.3
+Version:1.9.2
 Release:0
 Summary:Kernel crash dump scripts and utilities
 License:GPL-2.0-or-later
@@ -66,15 +66,9 @@
 BuildRequires:  cmake >= 3.7
 BuildRequires:  gcc-c++
 BuildRequires:  libblkid-devel
-BuildRequires:  libcurl-devel
-BuildRequires:  libelf-devel
-BuildRequires:  libesmtp-devel
-BuildRequires:  libmount-devel
-BuildRequires:  libxslt
 BuildRequires:  pkgconfig
 BuildRequires:  systemd-sysvinit
 BuildRequires:  util-linux-systemd
-BuildRequires:  zlib-devel
 BuildRequires:  pkgconfig(systemd)
 BuildRequires:  pkgconfig(udev)
 #!BuildIgnore:  fop
@@ -95,11 +89,9 @@
 BuildRequires:  util-linux-systemd
 %endif
 Requires:   /usr/bin/sed
-Requires:   curl
 Requires:   dracut >= 047
 Requires:   kexec-tools
 Requires:   makedumpfile
-Requires:   openssh
 %ifarch ppc64 ppc64le
 Requires:   servicelog
 BuildRequires:  servicelog
@@ -111,7 +103,10 @@
 PreReq: /usr/bin/rm
 PreReq: /usr/bin/touch
 Recommends: cifs-utils
+Recommends: lftp
 Recommends: nfs-client
+Recommends: openssh
+Suggests:   mailx
 # update should detect the split-off from kexec-tools
 Provides:   kexec-tools:%{_initddir}/kdump
 ExcludeArch:s390 ppc %arm32
@@ -162,6 +157,7 @@
 %cmake_install
 # empty directory
 mkdir -p %{buildroot}%{_localstatedir}/crash
+mkdir -p %{buildroot}%{_localstatedir}/lib/kdump
 
 %if !%{with calibrate}
 # get distro_prefix-prefixed lines from calibrate.conf.all
@@ -178,12 +174,12 @@
 %endif
 
 # symlink for init script
-rm %{buildroot}%{_initddir}/boot.kdump
 ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rckdump
 
 %pre
 %service_add_pre kdump.service
 %service_add_pre kdump-early.service
+%service_add_pre kdump-notify.service
 
 %post
 # change only permission 

commit kdump for openSUSE:Factory

2023-06-08 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kdump for openSUSE:Factory checked 
in at 2023-06-08 21:41:57

Comparing /work/SRC/openSUSE:Factory/kdump (Old)
 and  /work/SRC/openSUSE:Factory/.kdump.new.15902 (New)


Package is "kdump"

Thu Jun  8 21:41:57 2023 rev:134 rq:1091281 version:1.0.3

Changes:

--- /work/SRC/openSUSE:Factory/kdump/kdump.changes  2023-03-06 
18:54:03.144205814 +0100
+++ /work/SRC/openSUSE:Factory/.kdump.new.15902/kdump.changes   2023-06-08 
21:41:59.849791387 +0200
@@ -1,0 +2,12 @@
+Wed May 31 08:10:21 UTC 2023 - Jiri Bohac 
+
+- bumped version update to v1.0.3
+
+---
+Wed May 24 16:43:24 UTC 2023 - Jiri Bohac 
+
+- Honor the KDUMP_VERBOSE setting in kdump-save
+- fix distro prefix for ALP
+- add calibrate values for ALP (copied from TW)
+
+---

Old:

  kdump-1.0.2+git50.g4b01402.tar.xz

New:

  kdump-1.0.3.tar.xz



Other differences:
--
++ kdump.spec ++
--- /var/tmp/diff_new_pack.iGg1sq/_old  2023-06-08 21:42:00.713796478 +0200
+++ /var/tmp/diff_new_pack.iGg1sq/_new  2023-06-08 21:42:00.717796502 +0200
@@ -25,8 +25,12 @@
 %define distro_prefix leap%{sle_version}.%{_arch}
 %endif
 %else
+%if 0%{suse_version} >= 1600
+%define distro_prefix alp%{suse_version}.%{_arch}
+%else
 %define distro_prefix sle%{sle_version}.%{_arch}
 %endif
+%endif
 
 %ifarch aarch64
 %define qemu qemu-arm qemu-uefi-aarch64
@@ -49,7 +53,7 @@
 %define dracutlibdir %{_prefix}/lib/dracut
 
 Name:   kdump
-Version:1.0.2+git50.g4b01402
+Version:1.0.3
 Release:0
 Summary:Kernel crash dump scripts and utilities
 License:GPL-2.0-or-later
@@ -227,7 +231,7 @@
 %files
 %defattr(-,root,root)
 %license COPYING
-%doc ChangeLog README NEWS
+%doc README NEWS
 %{_sbindir}/kdumptool
 %{_sbindir}/mkdumprd
 %{_mandir}/man5/kdump.5%{?ext_man}

++ calibrate.conf.all ++
--- /var/tmp/diff_new_pack.iGg1sq/_old  2023-06-08 21:42:00.765796784 +0200
+++ /var/tmp/diff_new_pack.iGg1sq/_new  2023-06-08 21:42:00.769796808 +0200
@@ -288,4 +288,64 @@
 tumbleweed.x86_64:SIZEOFPAGE=64
 tumbleweed.x86_64:USER_BASE=16872
 tumbleweed.x86_64:USER_NET=9076
+alp1600.aarch64:INIT_CACHED=40224
+alp1600.aarch64:INIT_CACHED_NET=7000
+alp1600.aarch64:INIT_NET=2616
+alp1600.aarch64:KERNEL_BASE=86304
+alp1600.aarch64:KERNEL_INIT=24404
+alp1600.aarch64:PAGESIZE=4096
+alp1600.aarch64:PERCPU=136
+alp1600.aarch64:SIZEOFPAGE=64
+alp1600.aarch64:USER_BASE=10916
+alp1600.aarch64:USER_NET=652
+alp1600.i386:INIT_CACHED=49168
+alp1600.i386:INIT_CACHED_NET=8732
+alp1600.i386:INIT_NET=3144
+alp1600.i386:KERNEL_BASE=59032
+alp1600.i386:KERNEL_INIT=16652
+alp1600.i386:PAGESIZE=4096
+alp1600.i386:PERCPU=132
+alp1600.i386:SIZEOFPAGE=40
+alp1600.i386:USER_BASE=13732
+alp1600.i386:USER_NET=1692
+alp1600.ppc64:INIT_CACHED=91392
+alp1600.ppc64:INIT_CACHED_NET=11712
+alp1600.ppc64:INIT_NET=3136
+alp1600.ppc64:KERNEL_BASE=144960
+alp1600.ppc64:KERNEL_INIT=24192
+alp1600.ppc64:PAGESIZE=65536
+alp1600.ppc64:PERCPU=896
+alp1600.ppc64:SIZEOFPAGE=64
+alp1600.ppc64:USER_BASE=48064
+alp1600.ppc64:USER_NET=192
+alp1600.ppc64le:INIT_CACHED=90496
+alp1600.ppc64le:INIT_CACHED_NET=11456
+alp1600.ppc64le:INIT_NET=3136
+alp1600.ppc64le:KERNEL_BASE=143360
+alp1600.ppc64le:KERNEL_INIT=22208
+alp1600.ppc64le:PAGESIZE=65536
+alp1600.ppc64le:PERCPU=896
+alp1600.ppc64le:SIZEOFPAGE=64
+alp1600.ppc64le:USER_BASE=43456
+alp1600.ppc64le:USER_NET=0
+alp1600.s390x:INIT_CACHED=34276
+alp1600.s390x:INIT_CACHED_NET=7268
+alp1600.s390x:INIT_NET=2756
+alp1600.s390x:KERNEL_BASE=49004
+alp1600.s390x:KERNEL_INIT=15804
+alp1600.s390x:PAGESIZE=4096
+alp1600.s390x:PERCPU=140
+alp1600.s390x:SIZEOFPAGE=64
+alp1600.s390x:USER_BASE=9376
+alp1600.s390x:USER_NET=2244
+alp1600.x86_64:INIT_CACHED=42628
+alp1600.x86_64:INIT_CACHED_NET=7292
+alp1600.x86_64:INIT_NET=3308
+alp1600.x86_64:KERNEL_BASE=94808
+alp1600.x86_64:KERNEL_INIT=25424
+alp1600.x86_64:PAGESIZE=4096
+alp1600.x86_64:PERCPU=268
+alp1600.x86_64:SIZEOFPAGE=64
+alp1600.x86_64:USER_BASE=16872
+alp1600.x86_64:USER_NET=9076
 

++ kdump-1.0.2+git50.g4b01402.tar.xz -> kdump-1.0.3.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdump-1.0.2+git50.g4b01402/ChangeLog 
new/kdump-1.0.3/ChangeLog
--- old/kdump-1.0.2+git50.g4b01402/ChangeLog2023-02-24 17:05:18.0 
+0100
+++ new/kdump-1.0.3/ChangeLog   1970-01-01 01:00:00.0 +0100
@@ -1,215 +0,0 @@
-2009-02-06  Bernhard Walle 
-
-   * Improve error message in Debuglink::openCompressed().
-   * Fix invalid call of mkstemp() in 

commit kdump for openSUSE:Factory

2023-03-07 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kdump for openSUSE:Factory checked 
in at 2023-03-06 18:54:01

Comparing /work/SRC/openSUSE:Factory/kdump (Old)
 and  /work/SRC/openSUSE:Factory/.kdump.new.31432 (New)


Package is "kdump"

Mon Mar  6 18:54:01 2023 rev:133 rq:1069416 version:1.0.2+git50.g4b01402

Changes:

--- /work/SRC/openSUSE:Factory/kdump/kdump.changes  2023-01-29 
14:30:21.117411404 +0100
+++ /work/SRC/openSUSE:Factory/.kdump.new.31432/kdump.changes   2023-03-06 
18:54:03.144205814 +0100
@@ -1,0 +2,14 @@
+Sat Feb 25 17:40:59 UTC 2023 - Petr Tesařík 
+
+- add calibrate values for Leap 15.5
+
+---
+Fri Feb 24 16:32:40 UTC 2023 - Jiri Bohac 
+
+- revert back to using rd.neednet=1 to enable network (bsc#1206015)
+- kdumptool calibrate: add even more margin to reservation 
+  calculations (bsc#1207061)
+- don't skip infiniband interfaces (bsc#1186745)
+  (not a complete fix, requires a patch in dracut as well)
+
+---

Old:

  kdump-1.0.2+git46.g755f3a3.tar.xz

New:

  kdump-1.0.2+git50.g4b01402.tar.xz



Other differences:
--
++ kdump.spec ++
--- /var/tmp/diff_new_pack.Jx42hM/_old  2023-03-06 18:54:04.064210507 +0100
+++ /var/tmp/diff_new_pack.Jx42hM/_new  2023-03-06 18:54:04.068210528 +0100
@@ -49,7 +49,7 @@
 %define dracutlibdir %{_prefix}/lib/dracut
 
 Name:   kdump
-Version:1.0.2+git46.g755f3a3
+Version:1.0.2+git50.g4b01402
 Release:0
 Summary:Kernel crash dump scripts and utilities
 License:GPL-2.0-or-later

++ calibrate.conf.all ++
--- /var/tmp/diff_new_pack.Jx42hM/_old  2023-03-06 18:54:04.140210895 +0100
+++ /var/tmp/diff_new_pack.Jx42hM/_new  2023-03-06 18:54:04.144210915 +0100
@@ -38,6 +38,46 @@
 leap150300.x86_64:SIZEOFPAGE=64
 leap150300.x86_64:USER_BASE=17076
 leap150300.x86_64:USER_NET=4420
+leap150500.aarch64:INIT_CACHED=38312
+leap150500.aarch64:INIT_CACHED_NET=4104
+leap150500.aarch64:INIT_NET=1592
+leap150500.aarch64:KERNEL_BASE=83580
+leap150500.aarch64:KERNEL_INIT=19300
+leap150500.aarch64:PAGESIZE=4096
+leap150500.aarch64:PERCPU=144
+leap150500.aarch64:SIZEOFPAGE=64
+leap150500.aarch64:USER_BASE=14256
+leap150500.aarch64:USER_NET=6848
+leap150500.ppc64le:INIT_CACHED=83264
+leap150500.ppc64le:INIT_CACHED_NET=8064
+leap150500.ppc64le:INIT_NET=1856
+leap150500.ppc64le:KERNEL_BASE=189440
+leap150500.ppc64le:KERNEL_INIT=19200
+leap150500.ppc64le:PAGESIZE=65536
+leap150500.ppc64le:PERCPU=896
+leap150500.ppc64le:SIZEOFPAGE=64
+leap150500.ppc64le:USER_BASE=67968
+leap150500.ppc64le:USER_NET=0
+leap150500.s390x:INIT_CACHED=34440
+leap150500.s390x:INIT_CACHED_NET=3584
+leap150500.s390x:INIT_NET=1300
+leap150500.s390x:KERNEL_BASE=44868
+leap150500.s390x:KERNEL_INIT=14668
+leap150500.s390x:PAGESIZE=4096
+leap150500.s390x:PERCPU=140
+leap150500.s390x:SIZEOFPAGE=64
+leap150500.s390x:USER_BASE=19508
+leap150500.s390x:USER_NET=0
+leap150500.x86_64:INIT_CACHED=37124
+leap150500.x86_64:INIT_CACHED_NET=3900
+leap150500.x86_64:INIT_NET=1784
+leap150500.x86_64:KERNEL_BASE=89488
+leap150500.x86_64:KERNEL_INIT=22076
+leap150500.x86_64:PAGESIZE=4096
+leap150500.x86_64:PERCPU=264
+leap150500.x86_64:SIZEOFPAGE=64
+leap150500.x86_64:USER_BASE=16200
+leap150500.x86_64:USER_NET=10036
 sle150200.aarch64:INIT_CACHED=39152
 sle150200.aarch64:INIT_CACHED_NET=5088
 sle150200.aarch64:INIT_NET=1652

++ kdump-1.0.2+git46.g755f3a3.tar.xz -> kdump-1.0.2+git50.g4b01402.tar.xz 
++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdump-1.0.2+git46.g755f3a3/dracut/module-setup.sh 
new/kdump-1.0.2+git50.g4b01402/dracut/module-setup.sh
--- old/kdump-1.0.2+git46.g755f3a3/dracut/module-setup.sh   2023-01-21 
08:55:43.0 +0100
+++ new/kdump-1.0.2+git50.g4b01402/dracut/module-setup.sh   2023-02-24 
17:05:18.0 +0100
@@ -225,7 +225,7 @@
 
 kdump_ifname_config "$kdump_host_if"
 
-echo -n "bootdev=$kdump_iface"
+echo -n "rd.neednet=1"
 echo -n "$kdump_netif"
 
 case "$kdump_net_mode" in
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/kdump-1.0.2+git46.g755f3a3/dracut/setup-kdump.functions 
new/kdump-1.0.2+git50.g4b01402/dracut/setup-kdump.functions
--- old/kdump-1.0.2+git46.g755f3a3/dracut/setup-kdump.functions 2023-01-21 
08:55:43.0 +0100
+++ new/kdump-1.0.2+git50.g4b01402/dracut/setup-kdump.functions 2023-02-24 
17:05:18.0 +0100
@@ -485,47 +485,45 @@
 #   kdump_ifmap  hardware network interface map updated
 function kdump_ifname_config()  

commit kdump for openSUSE:Factory

2023-01-29 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kdump for openSUSE:Factory checked 
in at 2023-01-29 14:10:24

Comparing /work/SRC/openSUSE:Factory/kdump (Old)
 and  /work/SRC/openSUSE:Factory/.kdump.new.32243 (New)


Package is "kdump"

Sun Jan 29 14:10:24 2023 rev:132 rq:1061728 version:1.0.2+git46.g755f3a3

Changes:

--- /work/SRC/openSUSE:Factory/kdump/kdump.changes  2023-01-11 
17:14:21.755585335 +0100
+++ /work/SRC/openSUSE:Factory/.kdump.new.32243/kdump.changes   2023-01-29 
14:30:21.117411404 +0100
@@ -1,0 +2,8 @@
+Sat Jan 21 11:01:22 UTC 2023 - Jiri Bohac 
+
+- Run kdump.service only after kdump-early.service is done 
+  (boo#1196335)
+- fixed calibrate build on s390
+- minor fixes
+
+---

Old:

  kdump-1.0.2+git39.g8c819fe.tar.xz

New:

  kdump-1.0.2+git46.g755f3a3.tar.xz



Other differences:
--
++ kdump.spec ++
--- /var/tmp/diff_new_pack.Yrlavg/_old  2023-01-29 14:30:21.621414171 +0100
+++ /var/tmp/diff_new_pack.Yrlavg/_new  2023-01-29 14:30:21.625414193 +0100
@@ -49,7 +49,7 @@
 %define dracutlibdir %{_prefix}/lib/dracut
 
 Name:   kdump
-Version:1.0.2+git39.g8c819fe
+Version:1.0.2+git46.g755f3a3
 Release:0
 Summary:Kernel crash dump scripts and utilities
 License:GPL-2.0-or-later

++ calibrate.conf.all ++
--- /var/tmp/diff_new_pack.Yrlavg/_old  2023-01-29 14:30:21.681414500 +0100
+++ /var/tmp/diff_new_pack.Yrlavg/_new  2023-01-29 14:30:21.685414522 +0100
@@ -41,13 +41,13 @@
 sle150200.aarch64:INIT_CACHED=39152
 sle150200.aarch64:INIT_CACHED_NET=5088
 sle150200.aarch64:INIT_NET=1652
-sle150200.aarch64:KERNEL_BASE=58776
+sle150200.aarch64:KERNEL_BASE=59184
 sle150200.aarch64:KERNEL_INIT=16884
 sle150200.aarch64:PAGESIZE=4096
 sle150200.aarch64:PERCPU=140
 sle150200.aarch64:SIZEOFPAGE=64
-sle150200.aarch64:USER_BASE=9476
-sle150200.aarch64:USER_NET=416
+sle150200.aarch64:USER_BASE=7868
+sle150200.aarch64:USER_NET=4288
 sle150200.ppc64le:INIT_CACHED=77184
 sle150200.ppc64le:INIT_CACHED_NET=8768
 sle150200.ppc64le:INIT_NET=1920
@@ -56,196 +56,196 @@
 sle150200.ppc64le:PAGESIZE=65536
 sle150200.ppc64le:PERCPU=896
 sle150200.ppc64le:SIZEOFPAGE=64
-sle150200.ppc64le:USER_BASE=39552
-sle150200.ppc64le:USER_NET=2880
-sle150200.x86_64:INIT_CACHED=38860
-sle150200.x86_64:INIT_CACHED_NET=4536
+sle150200.ppc64le:USER_BASE=28672
+sle150200.ppc64le:USER_NET=12736
+sle150200.x86_64:INIT_CACHED=38884
+sle150200.x86_64:INIT_CACHED_NET=4512
 sle150200.x86_64:INIT_NET=1640
-sle150200.x86_64:KERNEL_BASE=57052
+sle150200.x86_64:KERNEL_BASE=57020
 sle150200.x86_64:KERNEL_INIT=20232
 sle150200.x86_64:PAGESIZE=4096
 sle150200.x86_64:PERCPU=236
 sle150200.x86_64:SIZEOFPAGE=64
-sle150200.x86_64:USER_BASE=5368
-sle150200.x86_64:USER_NET=9352
+sle150200.x86_64:USER_BASE=5588
+sle150200.x86_64:USER_NET=9024
 sle150300.aarch64:INIT_CACHED=35248
 sle150300.aarch64:INIT_CACHED_NET=4368
 sle150300.aarch64:INIT_NET=1640
-sle150300.aarch64:KERNEL_BASE=58104
+sle150300.aarch64:KERNEL_BASE=58544
 sle150300.aarch64:KERNEL_INIT=17500
 sle150300.aarch64:PAGESIZE=4096
 sle150300.aarch64:PERCPU=140
 sle150300.aarch64:SIZEOFPAGE=64
-sle150300.aarch64:USER_BASE=15240
-sle150300.aarch64:USER_NET=7732
+sle150300.aarch64:USER_BASE=15656
+sle150300.aarch64:USER_NET=6368
 sle150300.ppc64le:INIT_CACHED=74496
 sle150300.ppc64le:INIT_CACHED_NET=7808
 sle150300.ppc64le:INIT_NET=1920
-sle150300.ppc64le:KERNEL_BASE=77248
+sle150300.ppc64le:KERNEL_BASE=76672
 sle150300.ppc64le:KERNEL_INIT=18368
 sle150300.ppc64le:PAGESIZE=65536
 sle150300.ppc64le:PERCPU=896
 sle150300.ppc64le:SIZEOFPAGE=64
-sle150300.ppc64le:USER_BASE=65024
-sle150300.ppc64le:USER_NET=3136
+sle150300.ppc64le:USER_BASE=58496
+sle150300.ppc64le:USER_NET=11072
 sle150300.s390x:INIT_CACHED=31520
 sle150300.s390x:INIT_CACHED_NET=3852
 sle150300.s390x:INIT_NET=1360
-sle150300.s390x:KERNEL_BASE=43436
+sle150300.s390x:KERNEL_BASE=43348
 sle150300.s390x:KERNEL_INIT=13116
 sle150300.s390x:PAGESIZE=4096
 sle150300.s390x:PERCPU=144
 sle150300.s390x:SIZEOFPAGE=64
-sle150300.s390x:USER_BASE=6208
-sle150300.s390x:USER_NET=2408
+sle150300.s390x:USER_BASE=19532
+sle150300.s390x:USER_NET=0
 sle150300.x86_64:INIT_CACHED=32308
 sle150300.x86_64:INIT_CACHED_NET=3948
 sle150300.x86_64:INIT_NET=1628
-sle150300.x86_64:KERNEL_BASE=58304
+sle150300.x86_64:KERNEL_BASE=58840
 sle150300.x86_64:KERNEL_INIT=20188
 sle150300.x86_64:PAGESIZE=4096
 sle150300.x86_64:PERCPU=236
 sle150300.x86_64:SIZEOFPAGE=64
-sle150300.x86_64:USER_BASE=8840
-sle150300.x86_64:USER_NET=14524
-sle150400.aarch64:INIT_CACHED=38100
-sle150400.aarch64:INIT_CACHED_NET=4072
+sle150300.x86_64:USER_BASE=19064

commit kdump for openSUSE:Factory

2023-01-11 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kdump for openSUSE:Factory checked 
in at 2023-01-11 17:14:18

Comparing /work/SRC/openSUSE:Factory/kdump (Old)
 and  /work/SRC/openSUSE:Factory/.kdump.new.32243 (New)


Package is "kdump"

Wed Jan 11 17:14:18 2023 rev:131 rq:1057680 version:1.0.2+git39.g8c819fe

Changes:

--- /work/SRC/openSUSE:Factory/kdump/kdump.changes  2022-12-14 
14:11:09.455542419 +0100
+++ /work/SRC/openSUSE:Factory/.kdump.new.32243/kdump.changes   2023-01-11 
17:14:21.755585335 +0100
@@ -1,0 +2,17 @@
+Tue Jan 10 17:13:22 UTC 2023 - Jiri Bohac 
+
+- improve the generation of calibrate.conf
+  * print the qemu messages and trackrss log during calibrate
+  * use static IP address for calibration
+  * all calibrate.conf variants now stored in a single file
+  * added a README and a helper script for updating calibrate.conf
+  * prevent dracut from running emergency shell
+  * fix s390x build dependencies
+
+- fix deleting of a temporary file in dracut/module-setup.sh
+- look for nsswitch.conf in /etc and /usr/etc
+- never run a debugging shell when KDUMP_CONTINUE_ON_ERROR is set
+- remove build dependency for wicked 
+- fix package summary in the spec file
+
+---

Old:

  kdump-1.0.2+git27.gb9718ae.tar.xz
  kdump-calibrate.tar.bz2

New:

  calibrate.conf.all
  kdump-1.0.2+git39.g8c819fe.tar.xz



Other differences:
--
++ kdump.spec ++
--- /var/tmp/diff_new_pack.tP48FB/_old  2023-01-11 17:14:22.519589780 +0100
+++ /var/tmp/diff_new_pack.tP48FB/_new  2023-01-11 17:14:22.523589803 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package kdump
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,12 +20,12 @@
 
 %if 0%{?is_opensuse}
 %if 0%{suse_version} > 1500
-%define distro_suffix tumbleweed.%{_arch}
+%define distro_prefix tumbleweed.%{_arch}
 %else
-%define distro_suffix leap%{sle_version}.%{_arch}
+%define distro_prefix leap%{sle_version}.%{_arch}
 %endif
 %else
-%define distro_suffix sle%{sle_version}.%{_arch}
+%define distro_prefix sle%{sle_version}.%{_arch}
 %endif
 
 %ifarch aarch64
@@ -49,14 +49,14 @@
 %define dracutlibdir %{_prefix}/lib/dracut
 
 Name:   kdump
-Version:1.0.2+git27.gb9718ae
+Version:1.0.2+git39.g8c819fe
 Release:0
-Summary:Script for kdump
+Summary:Kernel crash dump scripts and utilities
 License:GPL-2.0-or-later
 Group:  System/Kernel
 URL:https://github.com/openSUSE/kdump
 Source: %{name}-%{version}.tar.xz
-Source1:%{name}-calibrate.tar.bz2
+Source1:calibrate.conf.all
 Source2:%{name}-rpmlintrc
 BuildRequires:  asciidoc
 BuildRequires:  cmake >= 3.7
@@ -70,7 +70,6 @@
 BuildRequires:  pkgconfig
 BuildRequires:  systemd-sysvinit
 BuildRequires:  util-linux-systemd
-BuildRequires:  wicked
 BuildRequires:  zlib-devel
 BuildRequires:  pkgconfig(systemd)
 BuildRequires:  pkgconfig(udev)
@@ -84,11 +83,12 @@
 BuildRequires:  makedumpfile
 BuildRequires:  procps
 BuildRequires:  python3
+%ifnarch s390x
 BuildRequires:  qemu-ipxe
 BuildRequires:  qemu-vgabios
+%endif
 BuildRequires:  systemd-sysvinit
 BuildRequires:  util-linux-systemd
-BuildRequires:  wicked
 %endif
 Requires:   /usr/bin/sed
 Requires:   curl
@@ -135,7 +135,7 @@
 
 %prep
 %setup -q
-%setup -q -D -T -a 1
+cp %{SOURCE1} calibrate.conf.all
 
 %build
 export CXXFLAGS="%{optflags} -std=c++11"
@@ -146,7 +146,10 @@
-DCALIBRATE=OFF
 %endif
 
-%cmake_build
+# run make directly instead of cmake_build, which would run make in parallel
+# and try to group output, preventing any debugging output from qemu if it
+# fails to exit
+make VERBOSE=1
 
 %check
 %ctest
@@ -156,9 +159,18 @@
 # empty directory
 mkdir -p %{buildroot}%{_localstatedir}/crash
 
-# Install pre-built calibrate.conf
 %if !%{with calibrate}
-cp calibrate/calibrate.conf.%{distro_suffix} 
%{buildroot}/usr/lib/kdump/calibrate.conf
+# get distro_prefix-prefixed lines from calibrate.conf.all
+grep "^%distro_prefix:" calibrate.conf.all | cut -f 2- -d: > 
%{buildroot}/usr/lib/kdump/calibrate.conf
+if ! test -s %{buildroot}/usr/lib/kdump/calibrate.conf; then
+echo "no calibration data for %distro_prefix in calibrate.conf.all, see 
packaging/suse/calibrate/README"
+false
+fi
+%else
+# save the distro_prefix
+echo "GENERATED_ON=%{distro_prefix}" >> 
%{buildroot}/usr/lib/kdump/calibrate.conf
+echo "generated calibrate.conf:"
+cat  %{buildroot}/usr/lib/kdump/calibrate.conf
 %endif
 
 # symlink for init script

commit kdump for openSUSE:Factory

2022-12-14 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kdump for openSUSE:Factory checked 
in at 2022-12-14 14:10:55

Comparing /work/SRC/openSUSE:Factory/kdump (Old)
 and  /work/SRC/openSUSE:Factory/.kdump.new.1835 (New)


Package is "kdump"

Wed Dec 14 14:10:55 2022 rev:130 rq:1042730 version:1.0.2+git27.gb9718ae

Changes:

--- /work/SRC/openSUSE:Factory/kdump/kdump.changes  2022-11-27 
12:53:07.151238288 +0100
+++ /work/SRC/openSUSE:Factory/.kdump.new.1835/kdump.changes2022-12-14 
14:11:09.455542419 +0100
@@ -1,0 +2,5 @@
+Tue Dec  6 15:17:08 UTC 2022 - Jiri Bohac 
+
+- maintain the spec file in git
+
+---

Old:

  kdump-1.0.2+git26.gc6fab38.tar.xz

New:

  kdump-1.0.2+git27.gb9718ae.tar.xz



Other differences:
--
++ kdump.spec ++
--- /var/tmp/diff_new_pack.FZm5Rk/_old  2022-12-14 14:11:10.091545690 +0100
+++ /var/tmp/diff_new_pack.FZm5Rk/_new  2022-12-14 14:11:10.099545731 +0100
@@ -49,7 +49,7 @@
 %define dracutlibdir %{_prefix}/lib/dracut
 
 Name:   kdump
-Version:1.0.2+git26.gc6fab38
+Version:1.0.2+git27.gb9718ae
 Release:0
 Summary:Script for kdump
 License:GPL-2.0-or-later

++ _service ++
--- /var/tmp/diff_new_pack.FZm5Rk/_old  2022-12-14 14:11:10.139545937 +0100
+++ /var/tmp/diff_new_pack.FZm5Rk/_new  2022-12-14 14:11:10.143545957 +0100
@@ -8,6 +8,10 @@
 \1\2
   
   
+  
+*.tar
+*/packaging/suse/kdump.spec
+  
   
 *.tar
 xz

++ kdump-1.0.2+git26.gc6fab38.tar.xz -> kdump-1.0.2+git27.gb9718ae.tar.xz 
++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdump-1.0.2+git26.gc6fab38/packaging/suse/kdump.spec 
new/kdump-1.0.2+git27.gb9718ae/packaging/suse/kdump.spec
--- old/kdump-1.0.2+git26.gc6fab38/packaging/suse/kdump.spec1970-01-01 
01:00:00.0 +0100
+++ new/kdump-1.0.2+git27.gb9718ae/packaging/suse/kdump.spec2022-12-06 
15:44:22.0 +0100
@@ -0,0 +1,234 @@
+#
+# spec file for package kdump
+#
+# 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
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
+#
+
+%bcond_with calibrate
+
+%if 0%{?is_opensuse}
+%if 0%{suse_version} > 1500
+%define distro_suffix tumbleweed.%{_arch}
+%else
+%define distro_suffix leap%{sle_version}.%{_arch}
+%endif
+%else
+%define distro_suffix sle%{sle_version}.%{_arch}
+%endif
+
+%ifarch aarch64
+%define qemu qemu-arm qemu-uefi-aarch64
+%else
+%ifarch %arm
+%define qemu qemu-arm
+%else
+%ifarch %ix86 x86_64
+%define qemu qemu-x86
+%else
+%ifarch %power64
+%define qemu qemu-ppc
+%else
+%define qemu qemu-%{_target_cpu}
+%endif
+%endif
+%endif
+%endif
+
+%define dracutlibdir %{_prefix}/lib/dracut
+
+Name:   kdump
+Version:1.0.2+git26.gc6fab38
+Release:0
+Summary:Script for kdump
+License:GPL-2.0-or-later
+Group:  System/Kernel
+URL:https://github.com/openSUSE/kdump
+Source: %{name}-%{version}.tar.xz
+Source1:%{name}-calibrate.tar.bz2
+Source2:%{name}-rpmlintrc
+BuildRequires:  asciidoc
+BuildRequires:  cmake >= 3.7
+BuildRequires:  gcc-c++
+BuildRequires:  libblkid-devel
+BuildRequires:  libcurl-devel
+BuildRequires:  libelf-devel
+BuildRequires:  libesmtp-devel
+BuildRequires:  libmount-devel
+BuildRequires:  libxslt
+BuildRequires:  pkgconfig
+BuildRequires:  systemd-sysvinit
+BuildRequires:  util-linux-systemd
+BuildRequires:  wicked
+BuildRequires:  zlib-devel
+BuildRequires:  pkgconfig(systemd)
+BuildRequires:  pkgconfig(udev)
+#!BuildIgnore:  fop
+%if %{with calibrate}
+BuildRequires:  %qemu
+BuildRequires:  dhcp-client
+BuildRequires:  dracut >= 047
+BuildRequires:  iputils
+BuildRequires:  kernel-default
+BuildRequires:  makedumpfile
+BuildRequires:  procps
+BuildRequires:  python3
+BuildRequires:  qemu-ipxe
+BuildRequires:  qemu-vgabios
+BuildRequires:  systemd-sysvinit
+BuildRequires:  util-linux-systemd
+BuildRequires:  wicked
+%endif
+Requires:   /usr/bin/sed
+Requires:   curl
+Requires:   dracut >= 047
+Requires:   kexec-tools
+Requires:   makedumpfile

commit kdump for openSUSE:Factory

2022-11-27 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kdump for openSUSE:Factory checked 
in at 2022-11-27 12:52:53

Comparing /work/SRC/openSUSE:Factory/kdump (Old)
 and  /work/SRC/openSUSE:Factory/.kdump.new.1597 (New)


Package is "kdump"

Sun Nov 27 12:52:53 2022 rev:129 rq:1038255 version:1.0.2+git26.gc6fab38

Changes:

--- /work/SRC/openSUSE:Factory/kdump/kdump.changes  2022-11-19 
18:08:57.790317185 +0100
+++ /work/SRC/openSUSE:Factory/.kdump.new.1597/kdump.changes2022-11-27 
12:53:07.151238288 +0100
@@ -1,0 +2,13 @@
+Fri Nov 25 17:54:45 UTC 2022 - Jiri Bohac 
+
+- Make the kdump-save.service reboot after kdump-save is finished
+  (bsc#1204000)
+
+---
+Tue Nov 22 17:32:31 UTC 2022 - Jiri Bohac 
+
+- fix renaming of qeth interfaces (bsc#1204743, bsc#1144337)
+- ppc64: rebuild initrd image after migration (bsc#1191410)
+- kdumptool calibrate: modify fadump suggestions (jsc#IBM-1027)
+
+---

Old:

  kdump-1.0.2+git20.gcb129d0.tar.xz

New:

  kdump-1.0.2+git26.gc6fab38.tar.xz



Other differences:
--
++ kdump.spec ++
--- /var/tmp/diff_new_pack.RUDHr5/_old  2022-11-27 12:53:07.711241537 +0100
+++ /var/tmp/diff_new_pack.RUDHr5/_new  2022-11-27 12:53:07.715241561 +0100
@@ -49,7 +49,7 @@
 %define dracutlibdir %{_prefix}/lib/dracut
 
 Name:   kdump
-Version:1.0.2+git20.gcb129d0
+Version:1.0.2+git26.gc6fab38
 Release:0
 Summary:Script for kdump
 License:GPL-2.0-or-later
@@ -96,6 +96,11 @@
 Requires:   kexec-tools
 Requires:   makedumpfile
 Requires:   openssh
+%ifarch ppc64 ppc64le
+Requires:   servicelog
+BuildRequires:  servicelog
+%endif
+
 # FIXME: use proper Requires(pre/post/preun/...)
 PreReq: %fillup_prereq
 PreReq: /usr/bin/mkdir
@@ -186,8 +191,15 @@
 ! test -d %{_localstatedir}/log/dump ; then
 ln -snf %{_localstatedir}/crash %{_localstatedir}/log/dump
 fi
+%ifarch ppc64 ppc64le
+servicelog_notify --remove --command=/usr/lib/kdump/kdump-migrate-action.sh
+servicelog_notify --add --command=/usr/lib/kdump/kdump-migrate-action.sh 
--match='refcode="#MIGRATE" and serviceable=0' --type=EVENT --method=pairs_stdin
+%endif
 
 %preun
+%ifarch ppc64 ppc64le
+servicelog_notify --remove --command=/usr/lib/kdump/kdump-migrate-action.sh
+%endif
 echo "Stopping kdump ..."
 %service_del_preun kdump.service
 %service_del_preun kdump-early.service

++ kdump-1.0.2+git20.gcb129d0.tar.xz -> kdump-1.0.2+git26.gc6fab38.tar.xz 
++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdump-1.0.2+git20.gcb129d0/CMakeLists.txt 
new/kdump-1.0.2+git26.gc6fab38/CMakeLists.txt
--- old/kdump-1.0.2+git20.gcb129d0/CMakeLists.txt   2022-09-09 
16:48:19.0 +0200
+++ new/kdump-1.0.2+git26.gc6fab38/CMakeLists.txt   2022-11-25 
17:51:00.0 +0100
@@ -202,6 +202,19 @@
 /usr/lib/kdump
 )
 
+IF("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "ppc64(le)?")
+INSTALL(
+FILES
+${CMAKE_CURRENT_SOURCE_DIR}/kdump-migrate-action.sh
+DESTINATION
+/usr/lib/kdump
+PERMISSIONS
+OWNER_READ OWNER_WRITE OWNER_EXECUTE
+GROUP_READ GROUP_EXECUTE
+WORLD_READ WORLD_EXECUTE
+)
+ENDIF()
+
 #
 # Source Packages
 #
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdump-1.0.2+git20.gcb129d0/doc/man/kdump.7.txt.in 
new/kdump-1.0.2+git26.gc6fab38/doc/man/kdump.7.txt.in
--- old/kdump-1.0.2+git20.gcb129d0/doc/man/kdump.7.txt.in   2022-09-09 
16:48:19.0 +0200
+++ new/kdump-1.0.2+git26.gc6fab38/doc/man/kdump.7.txt.in   2022-11-25 
17:51:00.0 +0100
@@ -429,8 +429,8 @@
 
 See also
 
-*kexec*(8), *kdump*(5), *makedumpfile*(8), *crash*(8)
-http://en.opensuse.org/Kdump[_http://en.opensuse.org/Kdump_]
+*kexec*(8), *kdump*(5), *makedumpfile*(8), *crash*(8),
+The Kexec and Kdump chapter in the SUSE System Analysis and Tuning Guide
 
 
 // vim: set sw=4 ts=4 et tw=80 fdm=marker: :collapseFolds=1:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/kdump-1.0.2+git20.gcb129d0/dracut/kdump-save.service.in 
new/kdump-1.0.2+git26.gc6fab38/dracut/kdump-save.service.in
--- old/kdump-1.0.2+git20.gcb129d0/dracut/kdump-save.service.in 2022-09-09 
16:48:19.0 +0200
+++ new/kdump-1.0.2+git26.gc6fab38/dracut/kdump-save.service.in 2022-11-25 
17:51:00.0 +0100
@@ -18,7 +18,9 @@
 
 [Service]
 Type=oneshot
-ExecStart=/kdump/kdump-save
+ExecStart=-/kdump/kdump-save

commit kdump for openSUSE:Factory

2022-11-19 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kdump for openSUSE:Factory checked 
in at 2022-11-19 18:08:50

Comparing /work/SRC/openSUSE:Factory/kdump (Old)
 and  /work/SRC/openSUSE:Factory/.kdump.new.1597 (New)


Package is "kdump"

Sat Nov 19 18:08:50 2022 rev:128 rq:1036635 version:1.0.2+git20.gcb129d0

Changes:

--- /work/SRC/openSUSE:Factory/kdump/kdump.changes  2022-09-01 
22:10:33.092142498 +0200
+++ /work/SRC/openSUSE:Factory/.kdump.new.1597/kdump.changes2022-11-19 
18:08:57.790317185 +0100
@@ -1,0 +2,11 @@
+Thu Sep 29 12:42:21 UTC 2022 - Dirk Müller 
+
+- update to kdump-1.0.2+git20:
+  * Use inst_binary to install kdump-save
+
+---
+Thu Sep 29 12:37:22 UTC 2022 - Dirk Müller 
+
+- disable build on arm 32bit (bsc#1203888)
+
+---

Old:

  kdump-1.0.2+git19.g0c60ffb.tar.xz

New:

  kdump-1.0.2+git20.gcb129d0.tar.xz



Other differences:
--
++ kdump.spec ++
--- /var/tmp/diff_new_pack.GDQGxR/_old  2022-11-19 18:08:58.334320261 +0100
+++ /var/tmp/diff_new_pack.GDQGxR/_new  2022-11-19 18:08:58.338320283 +0100
@@ -49,7 +49,7 @@
 %define dracutlibdir %{_prefix}/lib/dracut
 
 Name:   kdump
-Version:1.0.2+git19.g0c60ffb
+Version:1.0.2+git20.gcb129d0
 Release:0
 Summary:Script for kdump
 License:GPL-2.0-or-later
@@ -105,7 +105,7 @@
 Recommends: nfs-client
 # update should detect the split-off from kexec-tools
 Provides:   kexec-tools:%{_initddir}/kdump
-ExcludeArch:s390 ppc
+ExcludeArch:s390 ppc %arm32
 %if 0%{?sle_version}
 ExcludeArch:%ix86
 %endif

++ _service ++
--- /var/tmp/diff_new_pack.GDQGxR/_old  2022-11-19 18:08:58.366320441 +0100
+++ /var/tmp/diff_new_pack.GDQGxR/_new  2022-11-19 18:08:58.366320441 +0100
@@ -1,5 +1,5 @@
 
-  
+  
 https://github.com/openSUSE/kdump
 git
 master
@@ -7,11 +7,11 @@
 v([^+]*\+git[1-9].*)|v([^+]*)\+git0.*
 \1\2
   
-  
-  
+  
+  
 *.tar
 xz
   
-  
+  
 
 

++ kdump-1.0.2+git19.g0c60ffb.tar.xz -> kdump-1.0.2+git20.gcb129d0.tar.xz 
++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdump-1.0.2+git19.g0c60ffb/dracut/module-setup.sh 
new/kdump-1.0.2+git20.gcb129d0/dracut/module-setup.sh
--- old/kdump-1.0.2+git19.g0c60ffb/dracut/module-setup.sh   2022-08-31 
14:02:57.0 +0200
+++ new/kdump-1.0.2+git20.gcb129d0/dracut/module-setup.sh   2022-09-09 
16:48:19.0 +0200
@@ -282,7 +282,7 @@
inst_binary "$moddir/device-timeout-generator" \
"$systemdutildir"/system-generators/kdump-device-timeout-generator
 
-   inst_simple "$KDUMP_LIBDIR"/kdump-save /kdump/kdump-save
+   inst_binary "$KDUMP_LIBDIR"/kdump-save /kdump/kdump-save
awk -v mountpoints="${kdump_mnt[*]}" '{
gsub(/@KDUMP_MOUNTPOINTS@/, mountpoints)
print


commit kdump for openSUSE:Factory

2022-09-01 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kdump for openSUSE:Factory checked 
in at 2022-09-01 22:09:45

Comparing /work/SRC/openSUSE:Factory/kdump (Old)
 and  /work/SRC/openSUSE:Factory/.kdump.new.2083 (New)


Package is "kdump"

Thu Sep  1 22:09:45 2022 rev:127 rq:1000481 version:1.0.2+git19.g0c60ffb

Changes:

--- /work/SRC/openSUSE:Factory/kdump/kdump.changes  2022-07-31 
23:00:14.963570660 +0200
+++ /work/SRC/openSUSE:Factory/.kdump.new.2083/kdump.changes2022-09-01 
22:10:33.092142498 +0200
@@ -1,0 +2,5 @@
+Wed Aug 31 12:04:40 UTC 2022 - Jiri Bohac 
+
+- mkdumprd: replace mkinitrd with native dracut (bsc#1202443) 
+
+---

Old:

  kdump-1.0.2+git17.g491c742.tar.xz

New:

  kdump-1.0.2+git19.g0c60ffb.tar.xz



Other differences:
--
++ kdump.spec ++
--- /var/tmp/diff_new_pack.9sSx0F/_old  2022-09-01 22:10:33.724144227 +0200
+++ /var/tmp/diff_new_pack.9sSx0F/_new  2022-09-01 22:10:33.732144249 +0200
@@ -49,7 +49,7 @@
 %define dracutlibdir %{_prefix}/lib/dracut
 
 Name:   kdump
-Version:1.0.2+git17.g491c742
+Version:1.0.2+git19.g0c60ffb
 Release:0
 Summary:Script for kdump
 License:GPL-2.0-or-later

++ kdump-1.0.2+git17.g491c742.tar.xz -> kdump-1.0.2+git19.g0c60ffb.tar.xz 
++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/kdump-1.0.2+git17.g491c742/doc/implementation/Implementation_Guide.txt 
new/kdump-1.0.2+git19.g0c60ffb/doc/implementation/Implementation_Guide.txt
--- old/kdump-1.0.2+git17.g491c742/doc/implementation/Implementation_Guide.txt  
2022-07-08 21:02:04.0 +0200
+++ new/kdump-1.0.2+git19.g0c60ffb/doc/implementation/Implementation_Guide.txt  
2022-08-31 14:02:57.0 +0200
@@ -160,7 +160,7 @@
 the copy process (via external binary or a library). We need both network 
access
 and disk access in the initrd. For this, we need the disk drivers and network
 drivers and network configuration. This is only a configuration problem since
-everything is already implemented in +mkinitrd+ to provide network boot (NFS
+everything is already implemented in +dracut+ to provide network boot (NFS
 root) facility.
 
 Filtering
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdump-1.0.2+git17.g491c742/doc/man/mkdumprd.8.txt.in 
new/kdump-1.0.2+git19.g0c60ffb/doc/man/mkdumprd.8.txt.in
--- old/kdump-1.0.2+git17.g491c742/doc/man/mkdumprd.8.txt.in2022-07-08 
21:02:04.0 +0200
+++ new/kdump-1.0.2+git19.g0c60ffb/doc/man/mkdumprd.8.txt.in2022-08-31 
14:02:57.0 +0200
@@ -54,7 +54,7 @@
 * the kdump initrd should use no splash screen,
 * the kdump initrd includes *kdumptool*(8) and all required libraries.
 
-This script calls *mkinitrd*(8) with all required parameters. If the initrd
+This script calls *dracut*(8) with all required parameters. If the initrd
 already exists, it checks first if the configuration file or the kernel are
 newer, and only rebuilds the initrd if necessary.
 
@@ -102,7 +102,7 @@
 
 SEE ALSO
 
-*kdumptool*(8), *mkinitrd*(8),
+*kdumptool*(8), *dracut*(8),
 http://en.opensuse.org/Kdump[_http://en.opensuse.org/Kdump_]
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdump-1.0.2+git17.g491c742/init/mkdumprd 
new/kdump-1.0.2+git19.g0c60ffb/init/mkdumprd
--- old/kdump-1.0.2+git17.g491c742/init/mkdumprd2022-07-08 
21:02:04.0 +0200
+++ new/kdump-1.0.2+git19.g0c60ffb/init/mkdumprd2022-08-31 
14:02:57.0 +0200
@@ -24,6 +24,7 @@
 QUIET=0
 DEBUG=false
 DRACUT=/usr/bin/dracut
+UPDATE_BOOTLOADER=/sbin/update-bootloader
 
 #
 # Prints usage.  
{{{
@@ -76,12 +77,13 @@
 {
 # With fadump, this script has no control over which kernel will
 # be booted after a crash, but any installed kernel can be used
-# to save the dump. Consequently, let mkinitrd regenerate initrd
+# to save the dump. Consequently, let dracut regenerate initrd
 # for all installed kernels.
 
-$DEBUG && export dracut_args="--debug"
+DRACUT_ARGS="--force --regenerate-all"
+$DEBUG && DRACUT_ARGS="--debug $DRACUT_ARGS"
 echo "Regenerating all initrds ..." >&2
-eval "bash -$- /sbin/mkinitrd"
+eval "bash -$- $DRACUT $DRACUT_ARGS && type -P $UPDATE_BOOTLOADER &> 
/dev/null && $UPDATE_BOOTLOADER --refresh"
 }  # 
}}}
 
 #


commit kdump for openSUSE:Factory

2022-07-31 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kdump for openSUSE:Factory checked 
in at 2022-07-31 23:00:12

Comparing /work/SRC/openSUSE:Factory/kdump (Old)
 and  /work/SRC/openSUSE:Factory/.kdump.new.1533 (New)


Package is "kdump"

Sun Jul 31 23:00:12 2022 rev:126 rq:989496 version:1.0.2+git17.g491c742

Changes:

--- /work/SRC/openSUSE:Factory/kdump/kdump.changes  2022-06-08 
14:24:27.452467905 +0200
+++ /work/SRC/openSUSE:Factory/.kdump.new.1533/kdump.changes2022-07-31 
23:00:14.963570660 +0200
@@ -1,0 +2,8 @@
+Fri Jul  8 19:05:10 UTC 2022 - Jiri Bohac 
+
+- fix network-related dracut options handling for fadump case
+- drop the elevator=deadline kernel option (bsc#1193211)
+- fix broken URL in manpage (bsc#1187312)
+
+
+---

Old:

  kdump-1.0.2+git13.ge715180.tar.xz

New:

  kdump-1.0.2+git17.g491c742.tar.xz



Other differences:
--
++ kdump.spec ++
--- /var/tmp/diff_new_pack.PxfyCE/_old  2022-07-31 23:00:16.039573786 +0200
+++ /var/tmp/diff_new_pack.PxfyCE/_new  2022-07-31 23:00:16.043573798 +0200
@@ -49,7 +49,7 @@
 %define dracutlibdir %{_prefix}/lib/dracut
 
 Name:   kdump
-Version:1.0.2+git13.ge715180
+Version:1.0.2+git17.g491c742
 Release:0
 Summary:Script for kdump
 License:GPL-2.0-or-later
@@ -200,18 +200,6 @@
 %service_del_postun kdump.service
 %service_del_postun kdump-early.service
 
-# Compatibility cruft
-# there is no %%license prior to SLE12
-%if %{undefined _defaultlicensedir}
-%define license %doc
-%else
-# filesystem before SLE12 SP3 lacks /usr/share/licenses
-%if 0%(test ! -d %{_defaultlicensedir} && echo 1)
-%define _defaultlicensedir %{_defaultdocdir}
-%endif
-%endif
-# End of compatibility cruft
-
 %files
 %defattr(-,root,root)
 %license COPYING

++ kdump-1.0.2+git13.ge715180.tar.xz -> kdump-1.0.2+git17.g491c742.tar.xz 
++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdump-1.0.2+git13.ge715180/doc/man/kdump.5.txt.in 
new/kdump-1.0.2+git17.g491c742/doc/man/kdump.5.txt.in
--- old/kdump-1.0.2+git13.ge715180/doc/man/kdump.5.txt.in   2022-04-20 
17:11:36.0 +0200
+++ new/kdump-1.0.2+git17.g491c742/doc/man/kdump.5.txt.in   2022-07-08 
21:02:04.0 +0200
@@ -157,7 +157,6 @@
 * any _console_ parameters (for serial console),
 * _irqpoll_,
 * _reset_devices_,
-* _elevator=deadline_ to save the memory footprint.
 
 The last three parameters are special for kdump and should always be included,
 if you don't have a good reason to exclude them.
@@ -918,8 +917,7 @@
 
 SEE ALSO
 
-*kexec*(8), *kdump*(5), *makedumpfile*(8), *mkdumprd*(8)
-http://en.opensuse.org/Kdump[_http://en.opensuse.org/Kdump_]
-
+*kexec*(8), *kdump*(5), *makedumpfile*(8), *mkdumprd*(8),
+The Kexec and Kdump chapter in the SUSE System Analysis and Tuning Guide
 
 // vim: set sw=4 ts=4 et tw=80 fdm=marker: :collapseFolds=1:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdump-1.0.2+git13.ge715180/dracut/module-setup.sh 
new/kdump-1.0.2+git17.g491c742/dracut/module-setup.sh
--- old/kdump-1.0.2+git13.ge715180/dracut/module-setup.sh   2022-04-20 
17:11:36.0 +0200
+++ new/kdump-1.0.2+git17.g491c742/dracut/module-setup.sh   2022-07-08 
21:02:04.0 +0200
@@ -178,7 +178,15 @@
 
 kdump_ip_set_explicitly() {
 local _opt
-for _opt in $KDUMP_COMMANDLINE $KDUMP_COMMANDLINE_APPEND
+local opts
+
+if [ "$KDUMP_FADUMP" = yes ]; then
+_opts="`cat /proc/cmdline`"
+else
+_opts="$KDUMP_COMMANDLINE $KDUMP_COMMANDLINE_APPEND"
+fi
+
+for _opt in $_opts
 do
 if [ "${_opt%%=*}" = "ip" -a \
  "${_opt#*=}" != "$_opt" ]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdump-1.0.2+git13.ge715180/init/load.sh 
new/kdump-1.0.2+git17.g491c742/init/load.sh
--- old/kdump-1.0.2+git13.ge715180/init/load.sh 2022-04-20 17:11:36.0 
+0200
+++ new/kdump-1.0.2+git17.g491c742/init/load.sh 2022-07-08 21:02:04.0 
+0200
@@ -120,8 +120,7 @@
 if [ ${KDUMP_CPUS:-1} -ne 0 ] ; then
 nr_cpus=$(cpus_param "$kdump_kernel")=${KDUMP_CPUS:-1}
 fi
-# Use deadline for saving the memory footprint
-commandline="$commandline elevator=deadline sysrq=yes reset_devices 
acpi_no_memhotplug cgroup_disable=memory nokaslr"
+commandline="$commandline sysrq=yes reset_devices acpi_no_memhotplug 
cgroup_disable=memory nokaslr"
 commandline="$commandline numa=off"
 commandline="$commandline irqpoll ${nr_cpus}"
 

commit kdump for openSUSE:Factory

2022-06-08 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kdump for openSUSE:Factory checked 
in at 2022-06-08 14:24:14

Comparing /work/SRC/openSUSE:Factory/kdump (Old)
 and  /work/SRC/openSUSE:Factory/.kdump.new.1548 (New)


Package is "kdump"

Wed Jun  8 14:24:14 2022 rev:125 rq:981122 version:1.0.2+git13.ge715180

Changes:

--- /work/SRC/openSUSE:Factory/kdump/kdump.changes  2022-04-14 
17:24:34.883201390 +0200
+++ /work/SRC/openSUSE:Factory/.kdump.new.1548/kdump.changes2022-06-08 
14:24:27.452467905 +0200
@@ -1,0 +2,6 @@
+Wed May  4 15:13:51 UTC 2022 - Jiri Bohac 
+
+- kdumptool calibrate: add more margin to reservation calculations 
+  (bsc#1196728)
+
+---

Old:

  kdump-1.0.2+git12.g1a68ca5.tar.xz

New:

  kdump-1.0.2+git13.ge715180.tar.xz



Other differences:
--
++ kdump.spec ++
--- /var/tmp/diff_new_pack.XmJLlR/_old  2022-06-08 14:24:28.188468818 +0200
+++ /var/tmp/diff_new_pack.XmJLlR/_new  2022-06-08 14:24:28.192468822 +0200
@@ -49,7 +49,7 @@
 %define dracutlibdir %{_prefix}/lib/dracut
 
 Name:   kdump
-Version:1.0.2+git12.g1a68ca5
+Version:1.0.2+git13.ge715180
 Release:0
 Summary:Script for kdump
 License:GPL-2.0-or-later

++ kdump-1.0.2+git12.g1a68ca5.tar.xz -> kdump-1.0.2+git13.ge715180.tar.xz 
++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdump-1.0.2+git12.g1a68ca5/kdumptool/calibrate.cc 
new/kdump-1.0.2+git13.ge715180/kdumptool/calibrate.cc
--- old/kdump-1.0.2+git12.g1a68ca5/kdumptool/calibrate.cc   2022-04-12 
16:09:29.0 +0200
+++ new/kdump-1.0.2+git13.ge715180/kdumptool/calibrate.cc   2022-04-20 
17:11:36.0 +0200
@@ -143,7 +143,11 @@
 #define DIRTY_RATIO20
 
 // Reserve this much percent above the calculated value
-#define ADD_RESERVE 10
+#define ADD_RESERVE_PCT20
+
+// Reserve this much additional KiB above the calculated value
+#define ADD_RESERVE_KB MB(8)
+
 
 // Maximum size of the page bitmap
 // 32 MiB is 32*1024*1024*8 = 268435456 bits
@@ -1252,7 +1256,7 @@
required = bootsize;
 
 // Reserve a fixed percentage on top of the calculation
-required = (required * (100 + ADD_RESERVE)) / 100;
+required = (required * (100 + ADD_RESERVE_PCT)) / 100 + ADD_RESERVE_KB;
 
 } catch(KError ) {
Debug::debug()->info(e.what());


commit kdump for openSUSE:Factory

2022-04-14 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kdump for openSUSE:Factory checked 
in at 2022-04-14 17:24:17

Comparing /work/SRC/openSUSE:Factory/kdump (Old)
 and  /work/SRC/openSUSE:Factory/.kdump.new.1941 (New)


Package is "kdump"

Thu Apr 14 17:24:17 2022 rev:124 rq:969482 version:1.0.2+git12.g1a68ca5

Changes:

--- /work/SRC/openSUSE:Factory/kdump/kdump.changes  2022-04-03 
21:30:51.159911796 +0200
+++ /work/SRC/openSUSE:Factory/.kdump.new.1941/kdump.changes2022-04-14 
17:24:34.883201390 +0200
@@ -1,0 +2,6 @@
+Tue Apr 12 14:41:25 UTC 2022 - Jiri Bohac 
+
+- remount filesystem r/w for fadump (bsc#1197125)
+- stop reloading FADump on CPU hot-add event
+
+---

Old:

  kdump-1.0.2+git8.g51e8c4d.tar.xz

New:

  kdump-1.0.2+git12.g1a68ca5.tar.xz



Other differences:
--
++ kdump.spec ++
--- /var/tmp/diff_new_pack.99BBFD/_old  2022-04-14 17:24:35.411202007 +0200
+++ /var/tmp/diff_new_pack.99BBFD/_new  2022-04-14 17:24:35.415202012 +0200
@@ -49,7 +49,7 @@
 %define dracutlibdir %{_prefix}/lib/dracut
 
 Name:   kdump
-Version:1.0.2+git8.g51e8c4d
+Version:1.0.2+git12.g1a68ca5
 Release:0
 Summary:Script for kdump
 License:GPL-2.0-or-later

++ kdump-1.0.2+git8.g51e8c4d.tar.xz -> kdump-1.0.2+git12.g1a68ca5.tar.xz 
++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdump-1.0.2+git8.g51e8c4d/70-kdump.rules.in 
new/kdump-1.0.2+git12.g1a68ca5/70-kdump.rules.in
--- old/kdump-1.0.2+git8.g51e8c4d/70-kdump.rules.in 2022-03-18 
09:34:27.0 +0100
+++ new/kdump-1.0.2+git12.g1a68ca5/70-kdump.rules.in2022-04-12 
16:09:29.0 +0200
@@ -22,7 +22,7 @@
 LABEL="kdump_try_restart"
 PROGRAM="/bin/cat /sys/kernel/kexec_crash_loaded", RESULT!="0", 
RUN+="/usr/lib/kdump/load-once.sh"
 @if @ARCH@ ppc64 ppc64le
-TEST=="/sys/kernel/fadump_registered", PROGRAM="/bin/cat 
/sys/kernel/fadump_registered", RESULT!="0", RUN+="/usr/lib/kdump/load-once.sh"
+SUBSYSTEM=="memory", TEST=="/sys/kernel/fadump_registered", PROGRAM="/bin/cat 
/sys/kernel/fadump_registered", RESULT!="0", RUN+="/usr/lib/kdump/load-once.sh"
 @endif
 
 LABEL="kdump_end"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdump-1.0.2+git8.g51e8c4d/doc/man/mkdumprd.8.txt.in 
new/kdump-1.0.2+git12.g1a68ca5/doc/man/mkdumprd.8.txt.in
--- old/kdump-1.0.2+git8.g51e8c4d/doc/man/mkdumprd.8.txt.in 2022-03-18 
09:34:27.0 +0100
+++ new/kdump-1.0.2+git12.g1a68ca5/doc/man/mkdumprd.8.txt.in2022-04-12 
16:09:29.0 +0200
@@ -81,6 +81,9 @@
   Be quiet. Don't output status messages. Used to call *mkdumprd*(8) from
   /etc/init.d/kdump init script.
 
+*-d*::
+  Output debug information of the initrd build process.
+
 FILES
 -
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdump-1.0.2+git8.g51e8c4d/dracut/kdump-save.cc 
new/kdump-1.0.2+git12.g1a68ca5/dracut/kdump-save.cc
--- old/kdump-1.0.2+git8.g51e8c4d/dracut/kdump-save.cc  2022-03-18 
09:34:27.0 +0100
+++ new/kdump-1.0.2+git12.g1a68ca5/dracut/kdump-save.cc 2022-04-12 
16:09:29.0 +0200
@@ -315,6 +315,33 @@
 : unsetenv(m_name.c_str());
 }
 
+// handle remounting existing readonly mounts readwrite
+// mount -a works only for not yet mounted filesystems
+void rwFixup()
+{
+FstabMountTable tbl;
+MountTable::iterator it(tbl, MNT_ITER_FORWARD);
+while (++it) {
+if (it->hasOption("bind") ||
+it->hasOption("rbind")) {
+FilePath mpt(it->target());
+if (string(it->fstype()) == "none" && !mpt.isWritable()) {
+// remounting bind mounts needs special incantation
+StringVector args { "none", mpt, "-o", "remount,rw" };
+ProcessFilter().execute("mount", args);
+}
+} else if (it->hasOption("ro")) {
+continue;
+} else {
+FilePath mpt(it->target());
+if (!mpt.isWritable()) {
+StringVector args { mpt, "-o", "remount,rw" };
+ProcessFilter().execute("mount", args);
+}
+}
+}
+}
+
 static void deleteDumps()
 {
 try {
@@ -373,6 +400,8 @@
 if (code)
 cerr << "Transfer exit code is " << code << endl;
 } else {
+rwFixup();
+
 // pre-script
 const string  = config->KDUMP_PRESCRIPT.value();
 if (!prescript.empty()) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kdump-1.0.2+git8.g51e8c4d/init/mkdumprd 

commit kdump for openSUSE:Factory

2022-04-03 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kdump for openSUSE:Factory checked 
in at 2022-04-03 21:30:44

Comparing /work/SRC/openSUSE:Factory/kdump (Old)
 and  /work/SRC/openSUSE:Factory/.kdump.new.1900 (New)


Package is "kdump"

Sun Apr  3 21:30:44 2022 rev:123 rq:966472 version:1.0.2+git8.g51e8c4d

Changes:

--- /work/SRC/openSUSE:Factory/kdump/kdump.changes  2022-02-17 
00:30:49.573430242 +0100
+++ /work/SRC/openSUSE:Factory/.kdump.new.1900/kdump.changes2022-04-03 
21:30:51.159911796 +0200
@@ -1,0 +2,11 @@
+Thu Mar 31 15:14:17 UTC 2022 - Jiri Bohac 
+
+- pull sources directly from git using obs_scm
+- fix bsc#1190299, bsc#1186272
+- add support for Zstandard compression algorithm
+- remove patches included in upstream git:
+  kdump-calibrate-include-af_packet.patch,
+  kdump-calibrate-fix-nic-naming.patch,
+  kdump-calibrate.conf-depends-on-kdumptool.patch
+
+---

Old:

  kdump-1.0.2.tar.bz2
  kdump-calibrate-fix-nic-naming.patch
  kdump-calibrate-include-af_packet.patch
  kdump-calibrate.conf-depends-on-kdumptool.patch

New:

  _service
  kdump-1.0.2+git8.g51e8c4d.tar.xz



Other differences:
--
++ kdump.spec ++
--- /var/tmp/diff_new_pack.gjJunr/_old  2022-04-03 21:30:51.775904900 +0200
+++ /var/tmp/diff_new_pack.gjJunr/_new  2022-04-03 21:30:51.779904855 +0200
@@ -49,18 +49,15 @@
 %define dracutlibdir %{_prefix}/lib/dracut
 
 Name:   kdump
-Version:1.0.2
+Version:1.0.2+git8.g51e8c4d
 Release:0
 Summary:Script for kdump
 License:GPL-2.0-or-later
 Group:  System/Kernel
 URL:https://github.com/openSUSE/kdump
-Source: %{name}-%{version}.tar.bz2
+Source: %{name}-%{version}.tar.xz
 Source1:%{name}-calibrate.tar.bz2
 Source2:%{name}-rpmlintrc
-Patch1: %{name}-calibrate-include-af_packet.patch
-Patch2: %{name}-calibrate-fix-nic-naming.patch
-Patch3: %{name}-calibrate.conf-depends-on-kdumptool.patch
 BuildRequires:  asciidoc
 BuildRequires:  cmake >= 3.7
 BuildRequires:  gcc-c++
@@ -133,9 +130,6 @@
 
 %prep
 %setup -q
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
 %setup -q -D -T -a 1
 
 %build

++ _service ++

  
https://github.com/openSUSE/kdump
git
master
@PARENT_TAG@+git@TAG_OFFSET@.g%h
v([^+]*\+git[1-9].*)|v([^+]*)\+git0.*
\1\2
  
  
  
*.tar
xz
  
  



commit kdump for openSUSE:Factory

2022-02-16 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kdump for openSUSE:Factory checked 
in at 2022-02-17 00:30:12

Comparing /work/SRC/openSUSE:Factory/kdump (Old)
 and  /work/SRC/openSUSE:Factory/.kdump.new.1956 (New)


Package is "kdump"

Thu Feb 17 00:30:12 2022 rev:122 rq:955064 version:1.0.2

Changes:

--- /work/SRC/openSUSE:Factory/kdump/kdump.changes  2022-02-03 
23:15:58.720820743 +0100
+++ /work/SRC/openSUSE:Factory/.kdump.new.1956/kdump.changes2022-02-17 
00:30:49.573430242 +0100
@@ -1,0 +2,5 @@
+Tue Feb  8 16:14:52 UTC 2022 - Petr Tesak 
+
+- Exclude i586 from SLE builds.
+
+---



Other differences:
--
++ kdump.spec ++
--- /var/tmp/diff_new_pack.NAZHXD/_old  2022-02-17 00:30:50.669430053 +0100
+++ /var/tmp/diff_new_pack.NAZHXD/_new  2022-02-17 00:30:50.673430053 +0100
@@ -109,6 +109,9 @@
 # update should detect the split-off from kexec-tools
 Provides:   kexec-tools:%{_initddir}/kdump
 ExcludeArch:s390 ppc
+%if 0%{?sle_version}
+ExcludeArch:%ix86
+%endif
 %{?systemd_ordering}
 
 %description

++ kdump-calibrate.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/calibrate/calibrate.conf.leap150200.aarch64 
new/calibrate/calibrate.conf.leap150200.aarch64
--- old/calibrate/calibrate.conf.leap150200.aarch64 2022-02-02 
09:15:25.748401836 +0100
+++ new/calibrate/calibrate.conf.leap150200.aarch64 1970-01-01 
01:00:00.0 +0100
@@ -1,10 +0,0 @@
-KERNEL_BASE=58820
-KERNEL_INIT=17448
-INIT_CACHED=42732
-PAGESIZE=4096
-SIZEOFPAGE=64
-PERCPU=140
-USER_BASE=8508
-INIT_NET=3264
-INIT_CACHED_NET=9992
-USER_NET=5368
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/calibrate/calibrate.conf.leap150200.ppc64le 
new/calibrate/calibrate.conf.leap150200.ppc64le
--- old/calibrate/calibrate.conf.leap150200.ppc64le 2022-02-02 
09:15:25.852401905 +0100
+++ new/calibrate/calibrate.conf.leap150200.ppc64le 1970-01-01 
01:00:00.0 +0100
@@ -1,10 +0,0 @@
-KERNEL_BASE=77568
-KERNEL_INIT=17984
-INIT_CACHED=83648
-PAGESIZE=65536
-SIZEOFPAGE=64
-PERCPU=896
-USER_BASE=39680
-INIT_NET=3840
-INIT_CACHED_NET=16128
-USER_NET=0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/calibrate/calibrate.conf.leap150200.x86_64 
new/calibrate/calibrate.conf.leap150200.x86_64
--- old/calibrate/calibrate.conf.leap150200.x86_64  2022-02-02 
09:15:25.640401765 +0100
+++ new/calibrate/calibrate.conf.leap150200.x86_64  1970-01-01 
01:00:00.0 +0100
@@ -1,10 +0,0 @@
-KERNEL_BASE=56304
-KERNEL_INIT=20144
-INIT_CACHED=40856
-PAGESIZE=4096
-SIZEOFPAGE=64
-PERCPU=236
-USER_BASE=10740
-INIT_NET=3344
-INIT_CACHED_NET=9312
-USER_NET=2680


commit kdump for openSUSE:Factory

2022-02-03 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kdump for openSUSE:Factory checked 
in at 2022-02-03 23:15:46

Comparing /work/SRC/openSUSE:Factory/kdump (Old)
 and  /work/SRC/openSUSE:Factory/.kdump.new.1898 (New)


Package is "kdump"

Thu Feb  3 23:15:46 2022 rev:121 rq:950701 version:1.0.2

Changes:

--- /work/SRC/openSUSE:Factory/kdump/kdump.changes  2022-01-23 
12:16:45.504038693 +0100
+++ /work/SRC/openSUSE:Factory/.kdump.new.1898/kdump.changes2022-02-03 
23:15:58.720820743 +0100
@@ -1,0 +2,20 @@
+Tue Feb  1 22:16:36 UTC 2022 - Petr Tesak 
+
+- kdump-calibrate.conf-depends-on-kdumptool.patch: calibrate.conf:
+  Add dependency on kdumptool.
+- kdump-calibrate-fix-nic-naming.patch: calibrate: Fix network
+  interface naming.
+- kdump-calibrate-include-af_packet.patch: calibrate: Explicitly
+  include af_packet in the test initrd.
+
+---
+Tue Feb  1 12:52:56 UTC 2022 - Petr Tesak 
+
+- Update to 1.0.2
+  * Adjust crash kernel reservation at boot time (jsc#SLE-18441).
+- All remaining patches have been upstreamed:
+  * kdump-fillupdir-fixes.patch
+  * kdump-use-pbl.patch
+  * kdump-calibrate-Ignore-malformed-VMCOREINFO.patch
+
+---

Old:

  kdump-1.0.tar.bz2
  kdump-calibrate-Ignore-malformed-VMCOREINFO.patch
  kdump-fillupdir-fixes.patch
  kdump-use-pbl.patch

New:

  kdump-1.0.2.tar.bz2
  kdump-calibrate-fix-nic-naming.patch
  kdump-calibrate-include-af_packet.patch
  kdump-calibrate.conf-depends-on-kdumptool.patch
  kdump-calibrate.tar.bz2



Other differences:
--
++ kdump.spec ++
--- /var/tmp/diff_new_pack.JbvINw/_old  2022-02-03 23:15:59.416815993 +0100
+++ /var/tmp/diff_new_pack.JbvINw/_new  2022-02-03 23:15:59.420815965 +0100
@@ -16,9 +16,16 @@
 #
 
 
-#Compat macro for new _fillupdir macro introduced in Nov 2017
-%if ! %{defined _fillupdir}
-  %define _fillupdir %{_localstatedir}/adm/fillup-templates
+%bcond_with calibrate
+
+%if 0%{?is_opensuse}
+%if 0%{suse_version} > 1500
+%define distro_suffix tumbleweed.%{_arch}
+%else
+%define distro_suffix leap%{sle_version}.%{_arch}
+%endif
+%else
+%define distro_suffix sle%{sle_version}.%{_arch}
 %endif
 
 %ifarch aarch64
@@ -42,37 +49,28 @@
 %define dracutlibdir %{_prefix}/lib/dracut
 
 Name:   kdump
-Version:1.0
+Version:1.0.2
 Release:0
 Summary:Script for kdump
 License:GPL-2.0-or-later
 Group:  System/Kernel
 URL:https://github.com/openSUSE/kdump
 Source: %{name}-%{version}.tar.bz2
+Source1:%{name}-calibrate.tar.bz2
 Source2:%{name}-rpmlintrc
-Patch1: %{name}-fillupdir-fixes.patch
-Patch9: %{name}-use-pbl.patch
-Patch10:%{name}-calibrate-Ignore-malformed-VMCOREINFO.patch
-BuildRequires:  %qemu
+Patch1: %{name}-calibrate-include-af_packet.patch
+Patch2: %{name}-calibrate-fix-nic-naming.patch
+Patch3: %{name}-calibrate.conf-depends-on-kdumptool.patch
 BuildRequires:  asciidoc
 BuildRequires:  cmake >= 3.7
-BuildRequires:  dhcp-client
-BuildRequires:  dracut
 BuildRequires:  gcc-c++
-BuildRequires:  iputils
-BuildRequires:  kernel-default
 BuildRequires:  libblkid-devel
 BuildRequires:  libcurl-devel
 BuildRequires:  libelf-devel
 BuildRequires:  libesmtp-devel
 BuildRequires:  libmount-devel
 BuildRequires:  libxslt
-BuildRequires:  makedumpfile
 BuildRequires:  pkgconfig
-BuildRequires:  procps
-BuildRequires:  python3
-BuildRequires:  qemu-ipxe
-BuildRequires:  qemu-vgabios
 BuildRequires:  systemd-sysvinit
 BuildRequires:  util-linux-systemd
 BuildRequires:  wicked
@@ -80,9 +78,24 @@
 BuildRequires:  pkgconfig(systemd)
 BuildRequires:  pkgconfig(udev)
 #!BuildIgnore:  fop
+%if %{with calibrate}
+BuildRequires:  %qemu
+BuildRequires:  dhcp-client
+BuildRequires:  dracut >= 047
+BuildRequires:  iputils
+BuildRequires:  kernel-default
+BuildRequires:  makedumpfile
+BuildRequires:  procps
+BuildRequires:  python3
+BuildRequires:  qemu-ipxe
+BuildRequires:  qemu-vgabios
+BuildRequires:  systemd-sysvinit
+BuildRequires:  util-linux-systemd
+BuildRequires:  wicked
+%endif
 Requires:   /usr/bin/sed
 Requires:   curl
-Requires:   dracut
+Requires:   dracut >= 047
 Requires:   kexec-tools
 Requires:   makedumpfile
 Requires:   openssh
@@ -117,21 +130,18 @@
 
 %prep
 %setup -q
-%if 0%{?suse_version} >= 1330
 %patch1 -p1
-%endif
-%patch9 -p1
-%patch10 -p1
+%patch2 -p1
+%patch3 -p1
+%setup -q -D -T -a 1
 
 %build
 export CXXFLAGS="%{optflags} -std=c++11"
-%cmake
-
-# for SLE_15
-%if %{undefined cmake_build}
-%define cmake_build make %{?_smp_mflags}

commit kdump for openSUSE:Factory

2022-01-23 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kdump for openSUSE:Factory checked 
in at 2022-01-23 12:15:33

Comparing /work/SRC/openSUSE:Factory/kdump (Old)
 and  /work/SRC/openSUSE:Factory/.kdump.new.1938 (New)


Package is "kdump"

Sun Jan 23 12:15:33 2022 rev:120 rq:947999 version:1.0

Changes:

--- /work/SRC/openSUSE:Factory/kdump/kdump.changes  2022-01-05 
13:39:45.521525867 +0100
+++ /work/SRC/openSUSE:Factory/.kdump.new.1938/kdump.changes2022-01-23 
12:16:45.504038693 +0100
@@ -1,0 +2,16 @@
+Fri Jan 21 15:03:29 UTC 2022 - Petr Tesak 
+
+- kdump-calibrate-Ignore-malformed-VMCOREINFO.patch: calibrate:
+  Ignore malformed VMCOREINFO lines (address occasional OBS build
+  failures).
+
+---
+Fri Jan 21 12:58:48 UTC 2022 - Petr Tesak 
+
+- Update to 1.0
+  * Estimate kdump memory requirements at build time
+(jsc#SLE-18441).
+- Remove patches that have been upstreamed:
+  * kdump-0.9.2-mkdumprd-properly-pass-compression-params.patch
+
+---

Old:

  kdump-0.9.2-mkdumprd-properly-pass-compression-params.patch
  kdump-0.9.2.tar.bz2

New:

  kdump-1.0.tar.bz2
  kdump-calibrate-Ignore-malformed-VMCOREINFO.patch



Other differences:
--
++ kdump.spec ++
--- /var/tmp/diff_new_pack.RjQOyf/_old  2022-01-23 12:16:46.116034603 +0100
+++ /var/tmp/diff_new_pack.RjQOyf/_new  2022-01-23 12:16:46.124034550 +0100
@@ -21,10 +21,28 @@
   %define _fillupdir %{_localstatedir}/adm/fillup-templates
 %endif
 
+%ifarch aarch64
+%define qemu qemu-arm qemu-uefi-aarch64
+%else
+%ifarch %arm
+%define qemu qemu-arm
+%else
+%ifarch %ix86 x86_64
+%define qemu qemu-x86
+%else
+%ifarch %power64
+%define qemu qemu-ppc
+%else
+%define qemu qemu-%{_target_cpu}
+%endif
+%endif
+%endif
+%endif
+
 %define dracutlibdir %{_prefix}/lib/dracut
 
 Name:   kdump
-Version:0.9.2
+Version:1.0
 Release:0
 Summary:Script for kdump
 License:GPL-2.0-or-later
@@ -34,17 +52,30 @@
 Source2:%{name}-rpmlintrc
 Patch1: %{name}-fillupdir-fixes.patch
 Patch9: %{name}-use-pbl.patch
-Patch10:%{name}-0.9.2-mkdumprd-properly-pass-compression-params.patch
+Patch10:%{name}-calibrate-Ignore-malformed-VMCOREINFO.patch
+BuildRequires:  %qemu
 BuildRequires:  asciidoc
-BuildRequires:  cmake
+BuildRequires:  cmake >= 3.7
+BuildRequires:  dhcp-client
+BuildRequires:  dracut
 BuildRequires:  gcc-c++
+BuildRequires:  iputils
+BuildRequires:  kernel-default
 BuildRequires:  libblkid-devel
 BuildRequires:  libcurl-devel
 BuildRequires:  libelf-devel
 BuildRequires:  libesmtp-devel
 BuildRequires:  libmount-devel
 BuildRequires:  libxslt
+BuildRequires:  makedumpfile
 BuildRequires:  pkgconfig
+BuildRequires:  procps
+BuildRequires:  python3
+BuildRequires:  qemu-ipxe
+BuildRequires:  qemu-vgabios
+BuildRequires:  systemd-sysvinit
+BuildRequires:  util-linux-systemd
+BuildRequires:  wicked
 BuildRequires:  zlib-devel
 BuildRequires:  pkgconfig(systemd)
 BuildRequires:  pkgconfig(udev)
@@ -110,8 +141,6 @@
 
 %install
 %cmake_install
-# remove executable bit from non-binaries
-chmod -x %{buildroot}/lib/kdump/setup-kdump.functions
 # empty directory
 mkdir -p %{buildroot}%{_localstatedir}/crash
 
@@ -185,11 +214,8 @@
 %dir %{dracutlibdir}
 %dir %{dracutlibdir}/modules.d
 %{dracutlibdir}/modules.d/*
-%dir /lib/kdump
-/lib/kdump/*
 %dir /usr/lib/kdump
-/usr/lib/kdump/70-kdump.rules
-/usr/lib/kdump/kdump-save
+/usr/lib/kdump/*
 %{_unitdir}/kdump.service
 %{_unitdir}/kdump-early.service
 %{_sbindir}/rckdump

++ kdump-0.9.2.tar.bz2 -> kdump-1.0.tar.bz2 ++
 8497 lines of diff (skipped)

++ kdump-calibrate-Ignore-malformed-VMCOREINFO.patch ++
>From 34584498323ae95b1107fb260db876e56d81e3a1 Mon Sep 17 00:00:00 2001
From: Petr Tesarik 
Date: Fri, 21 Jan 2022 15:59:37 +0100
Subject: calibrate: Ignore malformed VMCOREINFO lines
Patch-mainline: merged
Git-commit: 34584498323ae95b1107fb260db876e56d81e3a1

The vmcoreinfo content is sometimes not terminated properly,
producing one or more invalid lines at the end (i.e. without an
equal sign). They should be silently ignored.

Signed-off-by: Petr Tesarik 
---
 calibrate/maxrss.py |   13 -
 1 file changed, 8 insertions(+), 5 deletions(-)

--- a/calibrate/maxrss.py
+++ b/calibrate/maxrss.py
@@ -61,11 +61,14 @@ try:
 percpu = int(value.split()[0])
 
 elif category == 'vmcoreinfo':
-(key, value) = data.split('=')
-if key == 'PAGESIZE':
-pagesize = int(value)
-elif key == 'SIZE(page)':
-

commit kdump for openSUSE:Factory

2022-01-05 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kdump for openSUSE:Factory checked 
in at 2022-01-05 13:39:25

Comparing /work/SRC/openSUSE:Factory/kdump (Old)
 and  /work/SRC/openSUSE:Factory/.kdump.new.1896 (New)


Package is "kdump"

Wed Jan  5 13:39:25 2022 rev:119 rq:943611 version:0.9.2

Changes:

--- /work/SRC/openSUSE:Factory/kdump/kdump.changes  2021-11-28 
21:30:18.330038444 +0100
+++ /work/SRC/openSUSE:Factory/.kdump.new.1896/kdump.changes2022-01-05 
13:39:45.521525867 +0100
@@ -1,0 +2,44 @@
+Mon Jan  3 11:56:47 UTC 2022 - Libor Pechek 
+
+- kdump-0.9.2-mkdumprd-properly-pass-compression-params.patch: Fix
+  malformation in passing Dracut compression parameters in mkdumprd
+  (bsc#1193765).
+- Refresh existing patches.
+
+---
+Thu Dec  9 08:23:35 UTC 2021 - Petr Tesak 
+
+- Sync with SLE15-SP4 changelog. These patches were never applied
+  to Factory:
+  * kdump-avoid-endless-loop-EAI_AGAIN.patch
+  * kdump-calibrate-Add-LUKS2-Argon2-requirements-to-the-reser.patch
+  * kdump-calibrate-Fix-kernel-command-line-parsing.patch
+  * kdump-do-not-add-rd.neednet.patch
+  * kdump-Do-not-list-all-block-devices-if-no-block-devices-ar.patch
+  * kdump-ensure-initrd.target.wants-directory.patch
+  * kdump-Enumerate-all-BTRFS-devices-for-btrfs-mount-points.patch
+  * kdump-Implement-KString-isHexNumber.patch
+  * kdump-install-etc-resolv.conf-using-resolved-path.patch
+  * kdump-Mount-and-device-resolution-using-libmount-and-lsblk.patch
+  * kdump-remove-console-hvc0-from-commandline.patch
+  * kdump-set-serial-console-from-Xen-cmdline.patch
+
+---
+Wed Dec  8 15:06:58 UTC 2021 - Petr Tesak 
+
+- Update to 0.9.2
+  * Isolate fadump initrd within the default one (jsc#SLE-18272)
+  * Bug fixes
+  * Code cleanups
+- Remove patches that have been upstreamed:
+  * kdump-mounts.cc-Include-sys-ioctl.h.patch
+  * kdump-Add-bootdev-to-dracut-command-line.patch
+  * kdump-do-not-iterate-past-end-of-string.patch
+  * kdump-fix-incorrect-exit-code-checking.patch
+  * kdump-avoid-endless-loop-on-EAI_AGAIN.patch
+  * kdump-install-real-resolv.conf.patch
+  * kdump-Store-kdump-initrd-in-kernel-image-path.patch
+- Remove patches that have been solved differently:
+  * kdump-on-error-option-yesno.patch
+
+---
@@ -47,0 +92 @@
+  * Bug fixes (bsc#1173914, bsc#1177196, bsc#1180513)

Old:

  kdump-0.9.1.tar.bz2
  kdump-Add-bootdev-to-dracut-command-line.patch
  kdump-Store-kdump-initrd-in-kernel-image-path.patch
  kdump-avoid-endless-loop-on-EAI_AGAIN.patch
  kdump-do-not-iterate-past-end-of-string.patch
  kdump-fix-incorrect-exit-code-checking.patch
  kdump-install-real-resolv.conf.patch
  kdump-mounts.cc-Include-sys-ioctl.h.patch
  kdump-on-error-option-yesno.patch

New:

  kdump-0.9.2-mkdumprd-properly-pass-compression-params.patch
  kdump-0.9.2.tar.bz2



Other differences:
--
++ kdump.spec ++
--- /var/tmp/diff_new_pack.mCsKwF/_old  2022-01-05 13:39:46.085526310 +0100
+++ /var/tmp/diff_new_pack.mCsKwF/_new  2022-01-05 13:39:46.089526313 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package kdump
 #
-# 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
@@ -24,7 +24,7 @@
 %define dracutlibdir %{_prefix}/lib/dracut
 
 Name:   kdump
-Version:0.9.1
+Version:0.9.2
 Release:0
 Summary:Script for kdump
 License:GPL-2.0-or-later
@@ -34,14 +34,7 @@
 Source2:%{name}-rpmlintrc
 Patch1: %{name}-fillupdir-fixes.patch
 Patch9: %{name}-use-pbl.patch
-Patch10:%{name}-on-error-option-yesno.patch
-Patch11:%{name}-mounts.cc-Include-sys-ioctl.h.patch
-Patch12:%{name}-Add-bootdev-to-dracut-command-line.patch
-Patch13:%{name}-do-not-iterate-past-end-of-string.patch
-Patch14:%{name}-fix-incorrect-exit-code-checking.patch
-Patch15:%{name}-avoid-endless-loop-on-EAI_AGAIN.patch
-Patch16:%{name}-install-real-resolv.conf.patch
-Patch17:%{name}-Store-kdump-initrd-in-kernel-image-path.patch
+Patch10:%{name}-0.9.2-mkdumprd-properly-pass-compression-params.patch
 BuildRequires:  asciidoc
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
@@ -98,13 +91,6 @@
 %endif
 %patch9 -p1
 %patch10 -p1
-%patch11 -p1
-%patch12 -p1
-%patch13 -p1
-%patch14 -p1
-%patch15 -p1
-%patch16 -p1
-%patch17 -p1
 
 %build
 export CXXFLAGS="%{optflags} -std=c++11"
@@ -198,11 

commit kdump for openSUSE:Factory

2021-11-28 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kdump for openSUSE:Factory checked 
in at 2021-11-28 21:30:00

Comparing /work/SRC/openSUSE:Factory/kdump (Old)
 and  /work/SRC/openSUSE:Factory/.kdump.new.1895 (New)


Package is "kdump"

Sun Nov 28 21:30:00 2021 rev:118 rq:933926 version:0.9.1

Changes:

--- /work/SRC/openSUSE:Factory/kdump/kdump.changes  2021-06-01 
10:33:54.644450305 +0200
+++ /work/SRC/openSUSE:Factory/.kdump.new.1895/kdump.changes2021-11-28 
21:30:18.330038444 +0100
@@ -1,0 +2,6 @@
+Thu Nov 25 21:04:51 UTC 2021 - Petr Tesak 
+
+- kdump-Store-kdump-initrd-in-kernel-image-path.patch: Fix kdumprd
+  location for usrmerge kernels (boo#1190920).
+
+---

New:

  kdump-Store-kdump-initrd-in-kernel-image-path.patch



Other differences:
--
++ kdump.spec ++
--- /var/tmp/diff_new_pack.uhHyJP/_old  2021-11-28 21:30:20.034032992 +0100
+++ /var/tmp/diff_new_pack.uhHyJP/_new  2021-11-28 21:30:20.042032966 +0100
@@ -41,6 +41,7 @@
 Patch14:%{name}-fix-incorrect-exit-code-checking.patch
 Patch15:%{name}-avoid-endless-loop-on-EAI_AGAIN.patch
 Patch16:%{name}-install-real-resolv.conf.patch
+Patch17:%{name}-Store-kdump-initrd-in-kernel-image-path.patch
 BuildRequires:  asciidoc
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
@@ -63,7 +64,9 @@
 Requires:   openssh
 # FIXME: use proper Requires(pre/post/preun/...)
 PreReq: %fillup_prereq
-PreReq: /usr/bin/mkdir /usr/bin/rm /usr/bin/touch
+PreReq: /usr/bin/mkdir
+PreReq: /usr/bin/rm
+PreReq: /usr/bin/touch
 Recommends: cifs-utils
 Recommends: nfs-client
 # update should detect the split-off from kexec-tools
@@ -101,6 +104,7 @@
 %patch14 -p1
 %patch15 -p1
 %patch16 -p1
+%patch17 -p1
 
 %build
 export CXXFLAGS="%{optflags} -std=c++11"

++ kdump-Store-kdump-initrd-in-kernel-image-path.patch ++
From: Petr Tesarik 
Date: Thu Nov 25 21:40:15 2021 +0100
Subject: Store kdump initrd in the kernel image path
Upstream: merged
Git-commit: 202eef81d13fb0488f6e462e78ce20841a477c86

If the kernel image is a symlink, store the kdump initrd in the
same directory as the symlink. This fixes kdump for usrmerge
kernels, where the kernel image is under /usr.

Canonical path is still used to get the kernel version.

References: boo#1190920
Signed-off-by: Petr Tesarik 

---
 kdumptool/findkernel.cc |4 +---
 kdumptool/kerneltool.cc |5 ++---
 2 files changed, 3 insertions(+), 6 deletions(-)

--- a/kdumptool/kerneltool.cc
+++ b/kdumptool/kerneltool.cc
@@ -142,7 +142,7 @@ bool KernelTool::stripImageName(const Fi
 string )
 {
 directory = kernelImage.dirName();
-KString kernel = kernelImage.baseName();
+KString kernel = kernelImage.getCanonicalPath().baseName();
 
 list imageNames = KernelTool::imageNames(Util::getArch());
 for (list::const_iterator it = imageNames.begin();
@@ -470,8 +470,7 @@ Kconfig *KernelTool::retrieveKernelConfi
 // at first, search for the config on disk
 string dir, stripped;
 
-if (KernelTool::stripImageName(
-m_kernel.getCanonicalPath(), dir, stripped)) {
+if (KernelTool::stripImageName(m_kernel, dir, stripped)) {
 FilePath config = dir;
 config.appendPath("config-" + stripped);
 Debug::debug()->dbg("Trying %s for config", config.c_str());
--- a/kdumptool/findkernel.cc
+++ b/kdumptool/findkernel.cc
@@ -313,9 +313,7 @@ string FindKernel::findInitrd(const File
 // use the resolved name, not the symlink to generate the initrd
 FilePath dir;
 string stripped;
-KernelTool::stripImageName(
-kernelPath.getCanonicalPath(), dir, stripped
-);
+KernelTool::stripImageName(kernelPath, dir, stripped);
 
 string dash;
 if (stripped.size() > 0) {


commit kdump for openSUSE:Factory

2021-06-01 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kdump for openSUSE:Factory checked 
in at 2021-06-01 10:33:43

Comparing /work/SRC/openSUSE:Factory/kdump (Old)
 and  /work/SRC/openSUSE:Factory/.kdump.new.1898 (New)


Package is "kdump"

Tue Jun  1 10:33:43 2021 rev:117 rq:895992 version:0.9.1

Changes:

--- /work/SRC/openSUSE:Factory/kdump/kdump.changes  2021-04-10 
15:26:27.486313577 +0200
+++ /work/SRC/openSUSE:Factory/.kdump.new.1898/kdump.changes2021-06-01 
10:33:54.644450305 +0200
@@ -1,0 +2,22 @@
+Fri May 28 10:33:45 UTC 2021 - Petr Tesak 
+
+- Fix use of DNS in the panic environment (bsc#1183070):
+  * kdump-avoid-endless-loop-on-EAI_AGAIN.patch: Avoid an endless
+loop when resolving a hostname fails with EAI_AGAIN.
+  * kdump-install-real-resolv.conf.patch: Install /etc/resolv.conf
+using its resolved path.
+
+---
+Fri May 28 09:51:58 UTC 2021 - Petr Tesak 
+
+- kdump-fix-incorrect-exit-code-checking.patch: Fix incorrect exit
+  code checking after "local" with assignment (bsc#1184616,
+  LTC#192282)
+
+---
+Fri May 28 09:36:47 UTC 2021 - Petr Tesak 
+
+- kdump-do-not-iterate-past-end-of-string.patch: Fix a crash caused
+  by iterating past end of string (bsc#1186037).
+
+---

New:

  kdump-avoid-endless-loop-on-EAI_AGAIN.patch
  kdump-do-not-iterate-past-end-of-string.patch
  kdump-fix-incorrect-exit-code-checking.patch
  kdump-install-real-resolv.conf.patch



Other differences:
--
++ kdump.spec ++
--- /var/tmp/diff_new_pack.wg8Gxe/_old  2021-06-01 10:33:55.128451129 +0200
+++ /var/tmp/diff_new_pack.wg8Gxe/_new  2021-06-01 10:33:55.132451136 +0200
@@ -37,6 +37,10 @@
 Patch10:%{name}-on-error-option-yesno.patch
 Patch11:%{name}-mounts.cc-Include-sys-ioctl.h.patch
 Patch12:%{name}-Add-bootdev-to-dracut-command-line.patch
+Patch13:%{name}-do-not-iterate-past-end-of-string.patch
+Patch14:%{name}-fix-incorrect-exit-code-checking.patch
+Patch15:%{name}-avoid-endless-loop-on-EAI_AGAIN.patch
+Patch16:%{name}-install-real-resolv.conf.patch
 BuildRequires:  asciidoc
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
@@ -93,6 +97,10 @@
 %patch10 -p1
 %patch11 -p1
 %patch12 -p1
+%patch13 -p1
+%patch14 -p1
+%patch15 -p1
+%patch16 -p1
 
 %build
 export CXXFLAGS="%{optflags} -std=c++11"

++ kdump-avoid-endless-loop-on-EAI_AGAIN.patch ++
From: Petr Pavlu 
Date: Thu Mar 25 12:48:54 2021 +0100
Subject: Avoid an endless loop when resolving a hostname fails with EAI_AGAIN
References: bsc#1183070
Upstream: merged
Git-commit: 716883423f45acf3271c200353dce074d6ffc5be

Method Routable::resolve() invokes function getaddrinfo() to obtain a
network address for a given hostname. This operation can fail with the
error code EAI_AGAIN to indicate that the name server encountered a
temporary failure. Routable::resolve() reacts to this situation by
calling getaddrinfo() again which can result in an endless loop if the
function continues to return this error code. It is not guaranteed that
the underlying reason for EAI_AGAIN will go away in some bounded time.

The patch removes the EAI_AGAIN loop in Routable::resolve() and updates
the retry code in Routable::check() to repeatedly attempt resolving a
hostname until it succeeds or a specified timeout for network operations
is reached.

---
 kdumptool/routable.cc |   38 ++
 1 file changed, 30 insertions(+), 8 deletions(-)

--- a/kdumptool/routable.cc
+++ b/kdumptool/routable.cc
@@ -17,6 +17,7 @@
  * 02110-1301, USA.
  */
 
+#include 
 #include 
 
 #include 
@@ -36,6 +37,8 @@
 #include "stringutil.h"
 #include "debug.h"
 
+using std::min;
+
 //{{{ NetLink 
--
 
 #define NETLINK_DEF_RECV_MAX   1024
@@ -470,9 +473,7 @@ bool Routable::resolve(void)
 memset(, 0, sizeof hints);
 hints.ai_family = AF_UNSPEC;
 hints.ai_socktype = SOCK_RAW;
-do {
-   res = getaddrinfo(raw_host.c_str(), NULL, , _ai);
-} while (res == EAI_AGAIN);
+res = getaddrinfo(raw_host.c_str(), NULL, , _ai);
 
 if (res == 0)
return true;
@@ -480,7 +481,8 @@ bool Routable::resolve(void)
 if (res == EAI_SYSTEM)
throw KSystemError("Name resolution failed", errno);
 
-if (res != EAI_NONAME && res != EAI_FAIL && res != EAI_NODATA)
+if (res != EAI_NONAME && res != EAI_FAIL && res != EAI_NODATA &&
+res != EAI_AGAIN)
throw KGaiError("Name resolution failed", res);
 
 return 

commit kdump for openSUSE:Factory

2021-04-10 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kdump for openSUSE:Factory checked 
in at 2021-04-10 15:26:10

Comparing /work/SRC/openSUSE:Factory/kdump (Old)
 and  /work/SRC/openSUSE:Factory/.kdump.new.2401 (New)


Package is "kdump"

Sat Apr 10 15:26:10 2021 rev:116 rq:883777 version:0.9.1

Changes:

--- /work/SRC/openSUSE:Factory/kdump/kdump.changes  2021-03-18 
22:54:10.667481393 +0100
+++ /work/SRC/openSUSE:Factory/.kdump.new.2401/kdump.changes2021-04-10 
15:26:27.486313577 +0200
@@ -1,0 +2,6 @@
+Thu Apr  8 08:38:03 UTC 2021 - Petr Tesak 
+
+- kdump-Add-bootdev-to-dracut-command-line.patch: Add 'bootdev=' to
+  dracut command line (bsc#1182309).
+
+---

New:

  kdump-Add-bootdev-to-dracut-command-line.patch



Other differences:
--
++ kdump.spec ++
--- /var/tmp/diff_new_pack.ty3XV4/_old  2021-04-10 15:26:28.034314222 +0200
+++ /var/tmp/diff_new_pack.ty3XV4/_new  2021-04-10 15:26:28.034314222 +0200
@@ -36,6 +36,7 @@
 Patch9: %{name}-use-pbl.patch
 Patch10:%{name}-on-error-option-yesno.patch
 Patch11:%{name}-mounts.cc-Include-sys-ioctl.h.patch
+Patch12:%{name}-Add-bootdev-to-dracut-command-line.patch
 BuildRequires:  asciidoc
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
@@ -91,6 +92,7 @@
 %patch9 -p1
 %patch10 -p1
 %patch11 -p1
+%patch12 -p1
 
 %build
 export CXXFLAGS="%{optflags} -std=c++11"

++ kdump-Add-bootdev-to-dracut-command-line.patch ++
From: Petr Tesarik 
Date: Thu, 1 Apr 2021 15:09:52 +0200
Subject: Add 'bootdev=' to dracut command line
References: bsc#1182309
Git-commit: fe0777beff90a2479b451f5ef9e918249277c8ff

If this parameter is missing, dracut will parse the ip= command
line option(s) and create the corresponding initqueue jobs, but it
will not actually run them, unless they are needed to mount the
root filesystem.

Fixes: 2ad80dd96b91b889db44dd8c955cb127840a2be2
Signed-off-by: Petr Tesarik 
---
 init/module-setup.sh |1 +
 1 file changed, 1 insertion(+)

--- a/init/module-setup.sh
+++ b/init/module-setup.sh
@@ -213,6 +213,7 @@ kdump_cmdline_ip() {
 
 kdump_ifname_config "$kdump_host_if"
 
+echo -n "bootdev=$kdump_iface"
 echo -n "$kdump_netif"
 
 case "$kdump_net_mode" in


commit kdump for openSUSE:Factory

2021-03-18 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kdump for openSUSE:Factory checked 
in at 2021-03-18 22:54:05

Comparing /work/SRC/openSUSE:Factory/kdump (Old)
 and  /work/SRC/openSUSE:Factory/.kdump.new.2401 (New)


Package is "kdump"

Thu Mar 18 22:54:05 2021 rev:115 rq:878617 version:0.9.1

Changes:

--- /work/SRC/openSUSE:Factory/kdump/kdump.changes  2021-03-10 
08:49:52.734432152 +0100
+++ /work/SRC/openSUSE:Factory/.kdump.new.2401/kdump.changes2021-03-18 
22:54:10.667481393 +0100
@@ -1,0 +2,47 @@
+Fri Mar  5 17:29:57 UTC 2021 - Petr Tesak 
+
+- kdump-mounts.cc-Include-sys-ioctl.h.patch: mounts.cc: Include
+  .
+
+---
+Fri Mar  5 16:27:03 UTC 2021 - Petr Tesak 
+
+- Update to 0.9.1
+  * Add build dependency on libmount
+  * Drop build dependency on OpenSSL
+  * Build with --stdc=c++11
+- Remove patches that have been upstreamed:
+  * kdump-block-initrd-parse-etc.service.patch
+  * kdump-fadump-avoid-multipath-optimizations.patch
+  * kdump-split-cmdline-purpose-wise.patch
+  * kdump-fadump-fix-network-bring-up.patch
+  * kdump-fadump-add-udev-support.patch
+  * kdump-turn-off-NUMA-in-kdump-kernel.patch
+  * kdump-remove-noefi-and-acpi_rsdp-for-efi-firmware.patch
+  * kdump-Restore-only-static-routes-in-kdump-initrd.patch
+  * kdump-fallback-re-register-fadump-from-userspace.patch
+  * kdump-recover-from-missing-CRASHTIME.patch
+  * kdump-fix-multipath-user_friendly_names.patch
+  * kdump-Add-skip_balance-option-to-BTRFS-mounts.patch
+  * kdump-kdumprd-Look-for-boot-image-and-boot-Image.patch
+  * kdump-savedump-search-also-for-vmlinux.xz.patch
+  * kdump-preserve-white-space.patch
+  * kdump-Clean-up-the-use-of-current-vs-boot-network-iface.patch
+  * kdump-Use-a-custom-namespace-for-physical-NICs.patch
+  * kdump-clean-up-kdump-mount-points.patch
+  * kdump-skip-mounts-if-no-proc-vmcore.patch
+  * kdump-nss-modules.patch
+  * kdump-Add-force-option-to-KDUMP_NETCONFIG.patch
+  * kdump-Add-fence_kdump_send-when-fence-agents-installed.patch
+  * kdump-FENCE_KDUMP_SEND-variable.patch
+  * kdump-Document-fence_kdump_send.patch
+  * kdump-powerpc-no-reload-on-CPU-removal.patch
+  * kdump-prefer-by-path-and-device-mapper.patch
+  * kdump-calibrate-Update-values.patch
+  * kdump-activate-udev-rules-late-during-boot.patch
+  * kdump-make-sure-that-the-udev-runtime-directory-exists.patch
+  * kdump-make-sure-that-initrd.target.wants-directory-exists.patch
+  * kdump-check-explicit-ip-options.patch
+  * kdump-query-systemd-network.service.patch
+
+---

Old:

  kdump-0.9.0.tar.bz2
  kdump-Add-fence_kdump_send-when-fence-agents-installed.patch
  kdump-Add-force-option-to-KDUMP_NETCONFIG.patch
  kdump-Add-skip_balance-option-to-BTRFS-mounts.patch
  kdump-Clean-up-the-use-of-current-vs-boot-network-iface.patch
  kdump-Document-fence_kdump_send.patch
  kdump-FENCE_KDUMP_SEND-variable.patch
  kdump-Restore-only-static-routes-in-kdump-initrd.patch
  kdump-Use-a-custom-namespace-for-physical-NICs.patch
  kdump-activate-udev-rules-late-during-boot.patch
  kdump-block-initrd-parse-etc.service.patch
  kdump-calibrate-Update-values.patch
  kdump-check-explicit-ip-options.patch
  kdump-clean-up-kdump-mount-points.patch
  kdump-fadump-add-udev-support.patch
  kdump-fadump-avoid-multipath-optimizations.patch
  kdump-fadump-fix-network-bring-up.patch
  kdump-fallback-re-register-fadump-from-userspace.patch
  kdump-fix-multipath-user_friendly_names.patch
  kdump-kdumprd-Look-for-boot-image-and-boot-Image.patch
  kdump-make-sure-that-initrd.target.wants-directory-exists.patch
  kdump-make-sure-that-the-udev-runtime-directory-exists.patch
  kdump-nss-modules.patch
  kdump-powerpc-no-reload-on-CPU-removal.patch
  kdump-prefer-by-path-and-device-mapper.patch
  kdump-preserve-white-space.patch
  kdump-query-systemd-network.service.patch
  kdump-recover-from-missing-CRASHTIME.patch
  kdump-remove-noefi-and-acpi_rsdp-for-efi-firmware.patch
  kdump-savedump-search-also-for-vmlinux.xz.patch
  kdump-skip-mounts-if-no-proc-vmcore.patch
  kdump-split-cmdline-purpose-wise.patch
  kdump-turn-off-NUMA-in-kdump-kernel.patch

New:

  kdump-0.9.1.tar.bz2
  kdump-mounts.cc-Include-sys-ioctl.h.patch



Other differences:
--
++ kdump.spec ++
--- /var/tmp/diff_new_pack.uODpad/_old  2021-03-18 22:54:11.575482374 +0100
+++ /var/tmp/diff_new_pack.uODpad/_new  2021-03-18 22:54:11.579482378 +0100
@@ -24,7 +24,7 @@
 %define dracutlibdir %{_prefix}/lib/dracut
 
 Name:   kdump
-Version:0.9.0
+Version:0.9.1
 Release:0
 Summary:Script for kdump
 License:

commit kdump for openSUSE:Factory

2021-03-09 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kdump for openSUSE:Factory checked 
in at 2021-03-10 08:49:44

Comparing /work/SRC/openSUSE:Factory/kdump (Old)
 and  /work/SRC/openSUSE:Factory/.kdump.new.2378 (New)


Package is "kdump"

Wed Mar 10 08:49:44 2021 rev:114 rq:877002 version:0.9.0

Changes:

--- /work/SRC/openSUSE:Factory/kdump/kdump.changes  2020-10-03 
18:55:51.669506123 +0200
+++ /work/SRC/openSUSE:Factory/.kdump.new.2378/kdump.changes2021-03-10 
08:49:52.734432152 +0100
@@ -1,0 +2,9 @@
+Fri Mar  5 11:02:51 UTC 2021 - Petr Tesak 
+
+- kdump-query-systemd-network.service.patch: Query systemd
+  network.service to find out if wicked is used (bsc#1182309).
+- kdump-check-explicit-ip-options.patch: Do not add
+  network-related dracut options if ip= is set explicitly
+  (bsc#1182309).
+
+---

New:

  kdump-check-explicit-ip-options.patch
  kdump-query-systemd-network.service.patch



Other differences:
--
++ kdump.spec ++
--- /var/tmp/diff_new_pack.aBb0I3/_old  2021-03-10 08:49:53.498432941 +0100
+++ /var/tmp/diff_new_pack.aBb0I3/_new  2021-03-10 08:49:53.502432945 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package kdump
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -65,6 +65,8 @@
 Patch31:%{name}-activate-udev-rules-late-during-boot.patch
 Patch32:%{name}-make-sure-that-the-udev-runtime-directory-exists.patch
 Patch33:
%{name}-make-sure-that-initrd.target.wants-directory-exists.patch
+Patch34:%{name}-check-explicit-ip-options.patch
+Patch35:%{name}-query-systemd-network.service.patch
 BuildRequires:  asciidoc
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
@@ -149,6 +151,8 @@
 %patch31 -p1
 %patch32 -p1
 %patch33 -p1
+%patch34 -p1
+%patch35 -p1
 
 %build
 export CXXFLAGS="%{optflags} -std=gnu++98"

++ kdump-check-explicit-ip-options.patch ++
From: Petr Tesarik 
Date: Fri Mar 5 11:06:35 2021 +0100
Subject: Do not add  network-related dracut options if ip= is set explicitly
References: bsc#1182309
Upstream: merged
Git-commit: bbe9b1281cd6c26ec937c6fee622ad7a84da959d

If the KDUMP_COMMANDLINE or KDUMP_COMMANDLINE_APPEND contain an
explicit ip= option, do not try to add anything automatically,
because it will clash with the admin's intention.

Signed-off-by: Petr Tesarik 

---
 doc/man/kdump.5.txt.in |8 ++--
 init/module-setup.sh   |   15 +++
 2 files changed, 21 insertions(+), 2 deletions(-)

--- a/doc/man/kdump.5.txt.in
+++ b/doc/man/kdump.5.txt.in
@@ -580,8 +580,12 @@ _netdevice_ is for example "eth0". The _
   * use DHCP6 if it has a permanent IPv6 address (IPv4 not set up),
   * use IPv6 auto-configuration if it has neither (IPv4 not set up).
 
-You can set KDUMP_NETCONFIG to "" if you want no network in initrd, i.e. you 
use
-disk dumping.
+*Note:* If an _ip=_ option is found in KDUMP_COMMANDLINE or
+KDUMP_COMMANDLINE_APPEND, kdump does not add any other _ip=_ or _ifname=_
+options. In other words, the value of KDUMP_NETCONFIG is effectively ignored.
+
+Setting KDUMP_NETCONFIG to "" disables network completely. In this case, kdump
+does not even add the _network_ dracut module to the initrd.
 
 Default: "auto"
 
--- a/init/module-setup.sh
+++ b/init/module-setup.sh
@@ -168,9 +168,24 @@ kdump_cmdline_zfcp() {
 } | sort -u
 }
 
+kdump_ip_set_explicitly() {
+local _opt
+for _opt in $KDUMP_COMMANDLINE $KDUMP_COMMANDLINE_APPEND
+do
+if [ "${_opt%%=*}" = "ip" -a \
+ "${_opt#*=}" != "$_opt" ]
+then
+return 0
+fi
+done
+return 1
+}
+
 kdump_cmdline_ip() {
 [ "$kdump_neednet" = y ] || return 0
 
+kdump_ip_set_explicitly && return 0
+
 local _cfg="${KDUMP_NETCONFIG%:force}"
 if [ "$_cfg" = "auto" ] ; then
kdump_host_if=default
++ kdump-query-systemd-network.service.patch ++
From: Petr Tesarik 
Date: Fri Mar 5 10:45:03 2021 +0100
Subject: Query systemd network.service to find out if wicked is used
References: bsc#1182309
Upstream: merged
Git-commit: 44a25927a0c234eb1c731b919d16cf282d168138

Even if wicked is installed on a system, network may still be
managed by NetworkManager. Improve the logic by checking the
actual Id of the currently configured network.service.

Signed-off-by: Petr Tesarik 

---
 init/setup-kdump.functions |   49 ++---
 1 file changed, 33 insertions(+), 16 deletions(-)

--- a/init/setup-kdump.functions
+++