ELBA-2022-3974

ELBA-2022-3974 - kexec-tools

Type:BUG
Impact:NA
Release Date:2022-06-30

Description


[2.0.23-9_1.0.2]
- fix virt-what related warning with kdumpctl script execution [Orabug: 33790973]
- fix saving vmcore-dmesg.txt failed on aarch64 with UEK7 [Orabug: 34003037]
- include OL8 patch for sysconfig, its needed on OL9 [Orabug: 33512440]
- Update makedumpfile to 1.7.1 [Orabug: 34219368]
- kdump: skip lvm private devices [Orabug: 33822070] [Orabug: 33574003]

[2.0.23-9_1.0.1]
- Added dracut module setup patches [Orabug: 29518713] [Orabug: 22780125]
- Added orabug30352094-makedumpfile-Mark-mem-usage-option-unsupported-for-a.patch [Orabug: 30352094]
- Added orabug30822387.kdumpctl-arm64-fast-boot.patch [Orabug: 30822387]
- Added orabug30832988.kdump.sysconfig.iommu_off.x86_64.aarch64.patch [Orabug: 30832988]
- Added orabug30928441.kdumpctl.no_timer_check.patch [Orabug: 30928441]
- Added orabug32127375-kdump.sysconfig.no.double.s.patch [Orabug: 32127375]
- Added orabug32258986-arm64-support-more-than-one-crash-kernel-regions.patch [Orabug: 32258986]
- Added orabug32404661-Avoid-duplicate-ip-single-dhcp-option.patch [Orabug: 32404661]

[2.0.23-9_1]
- try to update the crashkernel in GRUB_ETC_DEFAULT after kexec-tools updates the default crashkernel value
- address the case where there are multiple values for the same kernel arg

[2.0.23-9]
- makedumpfile: sadump, kaslr: fix failure of calculating kaslr_offset

[2.0.23-8]
- update kernel crashkernel in posttrans RPM scriptlet when updating kexec-tools

[2.0.23-7]
- fix incorrect usage of _get_all_kernels_from_grubby
- fix the mistake of swapping function parameters of read_proc_environ_var

[2.0.23-6]
- Revert Remove trace_buf_size and trace_event from the kernel bootparameters of the kdump kernel
- fix broken kdump_get_arch_recommend_size
- remove the upper bound of 102400T for the range in default crashkernel
- fix the error of parsing the container environ variable for osbuild
- mkdumprd (RHEL-only): add nvme module by force
- Remove dropped patches
- s390: handle R_390_PLT32DBL reloc entries in machine_apply_elf_rel()
- spec: add hostname.rpm into Recommends list
- move variable FENCE_KDUMP_SEND from kdump-lib.sh to kdump-lib-initramfs.sh

[2.0.23-5]
- Set zstd as recommented for kexec-tools
- fix kdump: Invalid kdump config option auto_reset_crashkernel error
- use grep -s to suppress error messages about nonexistent or unreadable files

[2.0.23-4]
- Set zstd as the default compression method for kdump initrd
- kdump-lib.sh: Escape | for failure_action|default in is_dump_to_rootfs
- dracut-early-kdump-module-setup.sh: install xargs and kdump-lib-initramfs.sh
- update crashkernel-howto
- set up kernel crashkernel for osbuild in kernel hook
- reset kernel crashkernel for the special case where the kernel is updated right after kexec-tools
- try to reset kernel crashkernel when kexec-tools updates the default crashkernel value
- introduce the auto_reset_crashkernel option to kdump.conf
- rewrite reset_crashkernel to support fadump and to used by RPM scriptlet
- fix incorrect usage of rpm-ostree to update kernel command line parameters
- add helper functions to get kernel path by kernel release and the path of current running kernel
- add helper functions to get dump mode
- add a helper function to read kernel cmdline parameter from grubby --info
- provide kdumpctl get-default-crashkernel for kdump_anaconda_addon and RPM scriptlet
- factor out kdump_get_arch_recommend_crashkernel
- update default crashkernel value
- ppc64/ppc64le: drop cpu online rule in 40-redhat.rules in kdump initramfs

[2.0.23-3]
- Update eppic to latest upstream snapshot
- Update crashkernel-howto.txt
- Remove references to systemd-sysv-convert
- kdump/ppc64: suppress the error message Could not find a registered notification tool from servicelog_notify
- fadump: improve fadump-howto.txt about remote dump target setup
- Dont exit 1 from 92-crashkernel.install if zipl is absent (#1993505)
- Document/kexec-kdump-howto.txt: improve notes for kdump_pre and kdump_post scripts

[2.0.23-2]
- kdump/ppc64: migration action registration clean up
- kdump/ppc64: rebuild initramfs image after migration
- Update supported-kdump-targets.txt
- add keyutils as a weak dependency for POWER
- kdumpctl: enable secure boot on ppc64le LPARs
- kdump.sysconfig: make kexec_file_load as default option on arm64
- kdump.sysconfig: make kexec_file_load as default option on ppc64le

[2.0.23-1]
- Enable zstd compression for makedumpfile in kexec-tools.spec
- Update makedumpfile to 1.7.0

[2.0.22-16]
- fix broken extra_bins when installing multiple binaries
- mkdumprd: drop mountaddr/mountproto nfs mount options
- 92-crashkernel.install: fix exit code
- dracut-early-kdump.sh: make it POSIX compatible
- Add header comment for POSIX compliant scripts
- mkdumprd: allow using dash
- kdump-logger.sh: make it POSIX compatible
- kdump-lib.sh: reformat with shfmt
- kdump-lib.sh: declare and assign separately
- kdump-lib.sh: fix variable quoting issue
- Remove trace_buf_size and trace_event from the kernel bootparameters of the kdump kernel
- kdump-lib.sh: fix a few ambiguous or redundant code
- kdump-lib.sh: fix arithmetic operation syntax
- kdump-lib.sh: remove useless echo and cat
- kdump-lib.sh: rework nmcli related functions
- kdump-lib.sh: replace [ ] with [[ ]] and get rid of legacy
- kdump-lib-initramfs.sh: make it POSIX compatible
- dracut-kdump.sh: reformat with shfmt
- dracut-kdump.sh: make it POSIX compatible
- dracut-kdump.sh: POSIX doesnt support pipefail
- dracut-kdump.sh: Use stat instead of ls to get vmcore size
- dracut-kdump.sh: simplify dump_ssh
- dracut-kdump.sh: remove add_dump_code
- dracut-kdump.sh: dont put KDUMP_SCRIPT_DIR in PATH
- kdump-lib-initramfs.sh: move dump related functions to kdump.sh
- Merge kdump-error-handler.sh into kdump.sh
- kdump-lib-initramfs.sh: prepare to be a POSIX compatible lib
- bash scripts: reformat with shfmt
- bash scripts: declare and assign separately
- bash scripts: fix redundant exit code check
- bash scripts: fix variable quoting issue
- Dont use die in dracut-module-setup.sh
- bash scripts: replace [ ] with [[ ]] for bash scripts
- mkdumprd: display the absolute path of dump location in the check_user_configured_target()
- Dont iterate the whole /sys/devices just to find drm device
- mkdumprd: prompt the user to install nfs-utils when mounting NFS fs failed
- bash scripts: use notation instead of legacy ...
- bash scripts: always use read -r
- bash scripts: get rid of unnecessary sed calls
- bash scripts: get rid of expr and let
- bash scripts: remove useless cat
- dracut-module-setup.sh: remove surrounding for subshell
- dracut-module-setup.sh: make iscsi check fail early if cd failed
- dracut-module-setup.sh: fix a loop over ls issue
- dracut-module-setup.sh: fix a ambiguous variable reference
- dracut-module-setup.sh: use * to expend array as string
- dracut-module-setup.sh: fix _bondoptions wrong references
- dracut-module-setup.sh: remove an unused variable
- dracut-module-setup.sh: rework kdump_get_ip_route_field
- mkfadumprd: make _dracut_isolate_args an array
- mkdumprd: use array to store ssh arguments in mkdir_save_path_ssh
- mkdumprd: remove an awk call in get_fs_size
- mkdumprd: fix multiple issues with get_ssh_size
- mkdumprd: remove some redundant echo
- mkdumprd: make dracut_args an array again
- mkdumprd: use kdump_get_conf_val to read config values
- kdumpctl: refine grep usage
- kdumpctl: fix fragile loops over find output
- kdumpctl: use kdump_get_conf_val to read config values
- kdump-lib.sh: use kdump_get_conf_val to read config values
- kdump-lib.sh: add a config value retrive helper
- kdump-lib.sh: add a config format and read helper
- Add a .editorconfig file
- Remove hard requirement on grubby

[2.0.22-15]
- Add file supported-kdump-targets.txt to kexec-tools

[2.0.22-14]
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688

[2.0.22-13]
- Clear old crashkernl=auto in comment and doc

[2.0.22-12]
- kdumpctl: fix a typo
- kdump_get_arch_recommend_size uses crashkernel.default

[2.0.22-11]
- Make dump_to_rootfs wait for 90s for real
- Check the existence of /sys/bus/ccwgroup/devices/*/online beforehand
- kdump.sysconfig.s390: Remove prot_virt from kdump kernel cmdline

[2.0.22-10]
- fadump-init: clean up mount points properly
- fadump: kdumpctl should check the modules used by the fadump initramfs
- fadump: isolate fadump initramfs image within the default one
- Cleanup dead systemd services before start sysroot.mount
- Revert Revert x86_64: enable the kexec file load by default

[2.0.22-9]
- Add a crashkernel-howto.txt doc
- Add a new hook: 92-crashkernel.install
- kdumpctl: Add kdumpctl reset-crashkernel
- Revert kdump-lib.sh: Remove is_atomic
- fix format issue in find_online_znet_device
- check the existence of /sys/bus/ccwgroup/devices before trying to find online network device

[2.0.22-8]
- check for invalid physical address of /proc/kcore when making ELF dumpfile
- Increase SECTION_MAP_LAST_BIT to 5
- kdumpctl: fix check_config error when kdump.conf is empty
- kdump-lib.sh: fix a warning in prepare_kdump_bootinfo()

[2.0.22-7]
- Write to /var/lib/kdump if not writable

[2.0.22-6]
- Add gating.yaml to RHEL-9 kexec-tools
- Iterate /sys/bus/ccwgroup/devices to tell if we should set up rd.znet

[2.0.22-5]
- Use a customized emergency shell
- Remove the kdump error handler isolation wrapper
- Dons try to restart dracut-initqueue if its already there

[2.0.22-4]
- kdump-lib.sh: fix the case if no enough total RAM for kdump in get_recommend_size()

[2.0.22-3]
- kdumpctl: Add kdumpctl estimate
- mkdumprd: make use of the new get_luks_crypt_dev helper
- kdump-lib.sh: introduce a helper to get all crypt dev used by kdump
- kdump-lib.sh: introduce a helper to get underlying crypt device
- Revert Always set vm.zone_reclaim_mode = 3 in kdump kernel

[2.0.22-2]
- Stop reloading kdump service on CPU hotplug event for FADump
- Make dracut-squash required for kexec-tools
- Fix incorrect file permissions of vmcore-dmesg-incomplete.txt
- Disable CMA in kdump 2nd kernel
- update makedumpfile to v1.6.9
- (upstream/c9s) Warn the user if network scripts are used
- Set up bond cmdline by nmcli --get-values
- Set up dns cmdline by parsing nmcli --get-values
- Set up s390 znet cmdline by nmcli --get-values
- Add helper to get nmcli connection show cmd by ifname
- Add helper to get nmcli connection apath by ifname
- Add helper to get value by field using nmcli --get-values

[2.0.22-1]
- Update to kexec-tools 2.0.22
- rd.route should use the name from kdump_setup_ifname
- get kdump ifname once in kdump_install_net
- Implement IP netmask calculation to replace ipcalc -m
- kdump-lib.sh: introduce functions to return recommened mem size

[2.0.21-7]
- Fix incorrect vmcore permissions when dumped through ssh
- Fix incorrect permissions on kdump dmesg file

[2.0.21-6]
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937

[2.0.21-5]
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

[2.0.21-4]
- dracut-module-setup.sh: enable ForwardToConsole=yes in fadump mode
- kdump.conf: add ipv6 example for nfs and ssh dump
- fix kdump failure of saving vmcore with the scp + ipv6 method

[2.0.21-3]
- module-setup.sh: dont polute the namespace unnecessarily
- module-setup.sh: dont source
- logger: source the logger file individually
- Fix dump_fs mount point detection and fallback mount
- Revert Dons try to restart dracut-initqueue if its already failed
- Revert Append both nofail and x-systemd.before to kdump mount target
- Doc: Improve the kdump sysconfig document
- kdump.conf: Update doc about core_collector for ssh target
- Merge #4 Make dracut-squash a weak dep
- Fix a date error in the change log

[2.0.21-2]
- makedumpfile: make use of uts_namespace.name offset in VMCOREINFO
- kdumpctl: fix a variable expansion in check_fence_kdump_config()
- Add BuildRequires: make
- Save the final failure information to log file if saving vmcore failed

[2.0.21-1]
- makedumpfile: printk: use committed/finalized state values
- makedumpfile: printk: add support for lockless ringbuffer
- dracut-module-setup.sh: Use systemctl call to replace ln_r
- Doc: improve mkdumprd man page
- Dons try to restart dracut-initqueue if its already failed
- dracut-module-setup.sh: use auto6 for ipv6

[2.0.20-21]
- Rebase makedumpfile to 1.6.8
- fadump-howto: update about nocma and off options for fadump= parameter
- module-setup.sh: enable vlan on team interface
- kdump-lib: Fix get_bind_mount_source to support btrfs and fstab
- Make get_mount_info work with bind mount
- Set watchdogs pretimeout to zero in kdump kernel
- kdump-lib.sh: Use a more generic helper to detect omitted dracut module
- Fix the watchdog drivers detection code
- Add a helper for detecting watchdog drivers
- Remove a redundant nfs check
- kdumpctl: split the driver detection from fs dection function

[2.0.20-20]
- selftest: Fix several test issue with Fedora 33
- selftest: add more detailed log and fix a test failure issue
- selftest: Update test base image to Fedora 33
- selftest: Fix qcow2 image format detect
- selftest: Always use the get_image_fmt helper
- Doc: improve the usage documentation of the logger
- Update the kdump sysconfig
- Capitalize the configuration name of log level
- Add the rd.kdumploglvl option to control log level in the second kernel
- Appropriately converts logger numeric level to syslog log level
- Remove unused log levels for kdump logger
- Add sanity checks for the log levels
- Move watchdog detect and install code to module-setup.sh
- Add a helper to omit non-mandatory dracut module
- Move some dracut module dependencies checks to module-setup.sh
- Add code comments to help better understanding

[2.0.20-19]
- Fix comment about ssh dump target
- mkdumprd: Ensure kdumpbase is added
- kdump.service: use ConditionKernelCommandLine=crashkernel
- Revert Revert s390x: enable the kexec file load by def
- increase makdumpfile default message level to 7
- Fix error when using raw target with opalcore
- module-setup.sh: Instead of drop journalctl log, just dont read kmsg
- Doc: add a documentation for the usage of logger
- Improve debugging in the kdump kernel
- kdumpctl: add the -d option to enable the kexec loading debugging messages
- kdump.sysconfig: add the kdump logger configurations
- enable the logger for kdump
- introduce the kdump logger from the dracut
- Rework check_config and warn on any duplicated option
- (watchdog) kdump-lib.sh: detect secure boot on s390
- Dont drop journalctl content if failure action is shell
- dracut-module-install: Move systemd conf install code to a function
- selftest: Show the path of dumped vmcore on test end
- selftest: Add document for selftests
- selftest: Add basic test framework
- selftest: Add basic infrastructure to build test image

[2.0.20-18]
- mkdumprd: Improve the warning message when using encrypted target
- kdump-lib.sh: Remove is_atomic
- Refactor kernel image and initrd detection code
- early-kdump: Use consistent symbol link for kernel and initramfs
- Add a kernel install hook to clean up kdump initramfs

[2.0.20-17]
- Drop static lib dependencies
- Revert x86_64: enable the kexec file load by default
- Revert s390x: enable the kexec file load by default
- kdumpctl: exit if either pre.d or post.d is missing
- kdump_pre: make notes more precise
- dracut-kdump.sh: exit shell when machine reboot
- kdumpctl: detect modification of scripts by its directorys timestamp
- module-setup.sh: suppress false alarm
- kexec-tools.spec: make the existence of pre.d and post.d mandatory
- ppc64/kdump: use kexec_file_load when secureboot is enabled

[2.0.20-16]
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

[2.0.20-15]
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

[2.0.20-14]
- s390x: enable the kexec file load by default
- x86_64: enable the kexec file load by default
- Revert s390x: add kdump sysconfig option to use the kexec_file_load() syscall
- Revert kdump-lib: switch to the kexec_file_load() syscall on x86_64 by default
- kdump.conf: fix a grammar issue
- man: improve description about /etc/kdump/{pre.d,post.d}interface
- mkdumprd: Improve the error message for umounted dump target
- mkdumprd: Fix nfs detection in to_mount
- Always wrap up call to dracut get_persistent_dev function
- s390x: add kdump sysconfig option to use the kexec_file_load() syscall
- mkdumprd: Fix dracut error on multiple extra_modules
- Fix kdump failure when mount target specified by dracut_args
- kdump.conf: Specify /etc/kdump/{pre.d,post.d}interface
- dracut-kdump.sh: Execute the binary and script filesin /etc/kdump/{pre.d,post.d}
- kdumpctl: Check the update of the binary and script files in /etc/kdump/{pre.d,post.d}
- dracut-module-setup.sh: Install files under /etc/kdump/{pre.d,post.d} into kdump initramfs
- Drop switch root capability for non fadump initramfs
- fadump: update fadump-howto.txt with some more troubleshooting help
- fadump-howto.txt: source it in spec file
- Dont inherit swiotlb parameter form 1st kernel by default
- module-setup.sh: Add rd.neednet parameter if network is needed
- Revert Add a hook to wait for kdump target in initqueue
- kdump.sysconfig: Remove the option log_buf_len from kdump command line




Updated Packages


Release/ArchitectureFilenamesha256Superseded By AdvisoryChannel Label
Oracle Linux 9 (aarch64) kexec-tools-2.0.23-9_1.0.2.el9_0.src.rpmd33fee7fa65f6779ca51e9a1e5fcc6879e2112bc49e19a2c03a681632a420c17-ol9_aarch64_baseos_latest
kexec-tools-2.0.23-9_1.0.2.el9_0.src.rpmd33fee7fa65f6779ca51e9a1e5fcc6879e2112bc49e19a2c03a681632a420c17-ol9_aarch64_u0_baseos_base
kexec-tools-2.0.23-9_1.0.2.el9_0.aarch64.rpm81ad3dce37c2fa0bc9387a3373ed1329ce7f52352ee539f5d8e419394614b3f5-ol9_aarch64_baseos_latest
kexec-tools-2.0.23-9_1.0.2.el9_0.aarch64.rpm81ad3dce37c2fa0bc9387a3373ed1329ce7f52352ee539f5d8e419394614b3f5-ol9_aarch64_u0_baseos_base
Oracle Linux 9 (x86_64) kexec-tools-2.0.23-9_1.0.2.el9_0.src.rpmd33fee7fa65f6779ca51e9a1e5fcc6879e2112bc49e19a2c03a681632a420c17-ol9_x86_64_baseos_latest
kexec-tools-2.0.23-9_1.0.2.el9_0.src.rpmd33fee7fa65f6779ca51e9a1e5fcc6879e2112bc49e19a2c03a681632a420c17-ol9_x86_64_u0_baseos_base
kexec-tools-2.0.23-9_1.0.2.el9_0.x86_64.rpm3bc36b7521cf87e760facd0fdc01f865f431b988216dec0c0fdd258045b1ddd6-ol9_x86_64_baseos_latest
kexec-tools-2.0.23-9_1.0.2.el9_0.x86_64.rpm3bc36b7521cf87e760facd0fdc01f865f431b988216dec0c0fdd258045b1ddd6-ol9_x86_64_u0_baseos_base



This page is generated automatically and has not been checked for errors or omissions. For clarification or corrections please contact the Oracle Linux ULN team

software.hardware.complete