Commit Graph

199 Commits

Author SHA256 Message Date
Jiri Bohac
822d987c2e - 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)

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=274
2023-12-13 16:46:12 +00:00
Jiri Bohac
1dc3098740 - upgrade to version 1.9.8
* drop obsolete dependency on systemd-sysvinit (bsc#1216745)

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=272
2023-10-31 14:32:22 +00:00
Jiri Bohac
2b07ec506d - upgrade to version 1.9.7
* prevent dracut emergency shell
  * s390: consolidate low-level network configuration with zdev
  * s390: Explicitly request zFCP devices

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=270
2023-10-17 16:23:12 +00:00
Jiri Bohac
b5f84f06b2 - update calibrate values, newly added SLE15-SP6 values
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=268
2023-09-06 12:27:10 +00:00
Jiri Bohac
9fb1875688 - 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

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=266
2023-08-25 16:10:18 +00:00
Jiri Bohac
5d747c1355 fix missing dash in kdump.changes
- upgrade to version 1.9.5

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=264
2023-08-16 14:34:17 +00:00
Jiri Bohac
d0c9b0e2b1 upgrade to version 1.9.5
* SELinux: temporary hack for bsc#1213721

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=262
2023-07-28 14:40:01 +00:00
Jiri Bohac
e827472fae - 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

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=261
2023-07-27 18:02:05 +00:00
Jiri Bohac
1f5a55c1df - 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

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=259
2023-06-28 10:02:18 +00:00
Jiri Bohac
7c0e969698 - upgrade to version 1.9.2
* adapt kdumptool to work with YaST
  * wait for SMTP server to become reachable

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=257
2023-06-14 22:43:37 +00:00
Jiri Bohac
fbacbc9561 - upgrade to version 1.9.1
* reimplement e-mail notifications

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=256
2023-06-14 11:15:20 +00:00
Jiri Bohac
b42f16b20a - 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 YYYY-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)

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=254
2023-06-08 16:48:55 +00:00
Jiri Bohac
12fae6284b OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=253 2023-05-31 14:36:03 +00:00
Jiri Bohac
8e9cd6b1bb OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=252 2023-05-31 14:18:59 +00:00
Jiri Bohac
0bd05484da - bumped version update to v1.0.3
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=251
2023-05-31 08:11:22 +00:00
Jiri Bohac
3fb7895c69 - Honor the KDUMP_VERBOSE setting in kdump-save
- fix distro prefix for ALP
- add calibrate values for ALP (copied from TW)

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=250
2023-05-25 08:24:36 +00:00
Petr Tesařík
d6f3c10b81 Accepting request 1067727 from home:ptesarik:branches:Kernel:kdump
- add calibrate values for Leap 15.5

OBS-URL: https://build.opensuse.org/request/show/1067727
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=248
2023-02-25 17:59:40 +00:00
Jiri Bohac
6d98c296af - 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)

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=247
2023-02-24 16:37:25 +00:00
Jiri Bohac
f571e7e279 - Run kdump.service only after kdump-early.service is done
(boo#1196335)
- fixed calibrate build on s390
- minor fixes

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=245
2023-01-21 11:03:17 +00:00
Jiri Bohac
b792e8ae7c - 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

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=243
2023-01-10 22:34:34 +00:00
Jiri Bohac
4ac6e5323a - maintain the spec file in git
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=241
2022-12-06 15:17:38 +00:00
Jiri Bohac
b42fa266df Accepting request 1038254 from home:jbohac:branches:Kernel:kdump
- Make the kdump-save.service reboot after kdump-save is finished
  (bsc#1204000)

- 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)

OBS-URL: https://build.opensuse.org/request/show/1038254
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=239
2022-11-25 18:36:17 +00:00
Petr Tesařík
87bacaa34d Accepting request 1034514 from home:dirkmueller:Factory
- update to kdump-1.0.2+git20:
  * Use inst_binary to install kdump-save

- disable build on arm 32bit (bsc#1203888)

OBS-URL: https://build.opensuse.org/request/show/1034514
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=237
2022-11-18 11:20:56 +00:00
Jiri Bohac
eaf9a2c4eb - mkdumprd: replace mkinitrd with native dracut (bsc#1202443)
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=235
2022-08-31 12:06:48 +00:00
Jiri Bohac
e9581e37c1 - fix network-related dracut options handling for fadump case
- drop the elevator=deadline kernel option (bsc#1193211)
- fix broken URL in manpage (bsc#1187312)

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=233
2022-07-08 19:08:43 +00:00
Petr Tesařík
6deaba478d Remove compat cruft, as oldest target distro is now SLE12_SP3.
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=231
2022-06-07 09:55:02 +00:00
Petr Tesařík
2603640f73 Accepting request 974965 from home:jbohac:branches:Kernel:kdump
- kdumptool calibrate: add more margin to reservation calculations 
  (bsc#1196728)

OBS-URL: https://build.opensuse.org/request/show/974965
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=230
2022-06-07 09:44:44 +00:00
Jiri Bohac
c6ecba78f6 Accepting request 969476 from home:jbohac:branches:Kernel:kdump
- remount filesystem r/w for fadump (bsc#1197125)
- stop reloading FADump on CPU hot-add event

OBS-URL: https://build.opensuse.org/request/show/969476
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=228
2022-04-12 15:02:10 +00:00
Jiri Bohac
9fd1fb7dd0 mention deleted patches in changelog
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=226
2022-04-01 19:09:37 +00:00
Jiri Bohac
9672c80fc0 Accepting request 966450 from home:jbohac:branches:Kernel:kdump
change _service mode to localonly

OBS-URL: https://build.opensuse.org/request/show/966450
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=225
2022-04-01 18:22:44 +00:00
Petr Tesařík
15e87934df Accepting request 966401 from home:jbohac:branches:Kernel:kdump
- pull sources directly from git using obs_scm
- fix bsc#1190299, bsc#1186272
- add support for Zstandard compression algorithm

OBS-URL: https://build.opensuse.org/request/show/966401
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=224
2022-04-01 11:30:04 +00:00
Petr Tesařík
cc910fb119 - Exclude i586 from SLE builds.
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=223
2022-02-08 16:15:11 +00:00
Petr Tesařík
bf8b18ab30 Exclude i586 for SLE builds.
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=222
2022-02-08 16:09:50 +00:00
Petr Tesařík
6e846a466c Update kdump-calibrate.tar.bz2.
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=221
2022-02-02 10:22:02 +00:00
Petr Tesařík
eb19f65b9d Accepting request 950669 from home:ptesarik:branches:Kernel:kdump
- Resize crash reservation at boot (jsc#SLE-18441)
- Fix reproducible builds

OBS-URL: https://build.opensuse.org/request/show/950669
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=220
2022-02-02 07:58:48 +00:00
Petr Tesařík
481d61aebc Accepting request 947985 from home:ptesarik:branches:Kernel:kdump
- kdump-calibrate-Ignore-malformed-VMCOREINFO.patch: calibrate:
  Ignore malformed VMCOREINFO lines (address occasional OBS build
  failures).
- 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

OBS-URL: https://build.opensuse.org/request/show/947985
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=219
2022-01-21 16:52:23 +00:00
Petr Tesařík
c34b3521e4 Fix patch name in changelog:
- kdump-0.9.2-mkdumprd-properly-pass-compression-params.patch

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=218
2022-01-03 14:13:28 +00:00
Petr Tesařík
cf9b6d9ff3 Accepting request 943594 from home:LPechacek:branches:Kernel:kdump
This is a fix to an urgent SLE bug spotted by the openQA automation. To alleviate the pressure, I'm submitting the fix in parallel to the upstream pull request at https://github.com/openSUSE/kdump/pull/24 .

- kdump-0.9.2-mkdumprd-Properly-pass-compression-params.patch: Fix
  malformation in passing Dracut compression parameters in mkdumprd
  (bsc#1193765).
- Refresh existing patches.

OBS-URL: https://build.opensuse.org/request/show/943594
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=217
2022-01-03 14:07:02 +00:00
Petr Tesařík
47815b25de - 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
  * Bug fixes (bsc#1173914, bsc#1177196, bsc#1180513)

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=216
2021-12-09 08:30:15 +00:00
Petr Tesařík
f611d607d5 Accepting request 936727 from home:ptesarik:branches:Kernel:kdump
- 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

OBS-URL: https://build.opensuse.org/request/show/936727
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=215
2021-12-08 16:31:52 +00:00
Petr Tesařík
0d7b1fc32d - kdump-Store-kdump-initrd-in-kernel-image-path.patch: Fix kdumprd
location for usrmerge kernels (boo#1190920).

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=214
2021-11-25 21:16:00 +00:00
Petr Tesařík
eef96e5dbf - Fix kdumprd location for usrmerge kernels (boo#1190920):
* kdump-Remove-unused-KernelPath-name.patch
  * kdump-Store-kdump-initrd-in-kernel-image-path.patch

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=213
2021-11-25 21:06:05 +00:00
Petr Tesařík
3d7896c72a - 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.

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=211
2021-05-28 10:37:15 +00:00
Petr Tesařík
30291581c7 - kdump-fix-incorrect-exit-code-checking.patch: Fix incorrect exit
code checking after "local" with assignment (bsc#1184616,
  LTC#192282)

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=210
2021-05-28 09:54:00 +00:00
Petr Tesařík
fb7f7f7ef8 - kdump-do-not-iterate-past-end-of-string.patch: Fix a crash caused
by iterating past end of string (bsc#1186037).

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=209
2021-05-28 09:37:41 +00:00
Petr Tesařík
06e15d54cd - kdump-Add-bootdev-to-dracut-command-line.patch: Add 'bootdev=' to
dracut command line (bsc#1182309).

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=207
2021-04-08 08:41:06 +00:00
Petr Tesařík
0fe2164e1c Accepting request 877312 from home:ptesarik:branches:Kernel:kdump
- kdump-mounts.cc-Include-sys-ioctl.h.patch: mounts.cc: Include
  <sys/ioctl.h>.
- 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

OBS-URL: https://build.opensuse.org/request/show/877312
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=204
2021-03-05 23:15:13 +00:00
Petr Tesařík
1f145e9ec0 - 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).

OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=203
2021-03-05 11:13:08 +00:00
073c0edd32 Accepting request 835986 from home:jirislaby:branches:Kernel:kdump
- add kdump-make-sure-that-initrd.target.wants-directory-exists.patch
  (bsc#1172670)
- clean up spec file
  * systemd is available on all distros the package builds on
  * use %cmake* macros for build/test/install
- use %systemd_ordering only if defined
- it now builds as back as SLE 12

OBS-URL: https://build.opensuse.org/request/show/835986
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=201
2020-09-29 05:53:11 +00:00
Petr Tesařík
004160d078 Accepting request 822095 from home:kukuk:branches:Kernel:kdump
- Make dracut and sed normal requires as we don't use them in 
  %pre/%post install. Use file requires for sed.

- Don't PreRequire coreutils but the tools we really need

OBS-URL: https://build.opensuse.org/request/show/822095
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=199
2020-07-24 06:49:57 +00:00