-
Bug
-
Resolution: Unresolved
-
Major
-
rhel-9.6
-
kexec-tools-2.0.27-18.el9
-
Yes
-
Important
-
1
-
rhel-sst-kernel-debug
-
ssg_core_kernel
-
10
-
12
-
1
-
False
-
-
None
-
Red Hat Enterprise Linux
-
CK-October-2024
-
Pass
-
Automated
-
None
The update from kexec-tools-2.0.27-16 to -17 CentOS PR breaks error reporting. That PR only refers to https://issues.redhat.com/browse/RHEL-32060 so this doesn't look like an intentional change.
What were you trying to do that didn't work?
kdump.service invalidly succeeds with bad kdump.conf options
What is the impact of this issue to you?
Silently accepting bad config options, and making it appear as success even though kdump is not actually working.
Please provide the package NVR for which the bug is seen:
kexec-tools-2.0.27-17
How reproducible is this bug?:
Always
Steps to reproduce
This normally happens via the systemd unit, but it's more direct with calling kdumpctl:
echo 'nfs unknown.local:/srv/kdump' >> /etc/kdump.conf
kdumpctl stop
kdumpctl start; echo $?
Expected results
starting kdump should fail, i.e. exit nonzero. That's what happened until -16:
kdump: Detected change(s) in the following file(s): /etc/kdump.conf kdump: Rebuilding /boot/initramfs-5.14.0-516.el9.x86_64kdump.img mount.nfs: Failed to resolve server unknown.local: Name or service not known kdump: Failed to mount unknown.local:/srv/kdump for kdump preflight check. Please make sure nfs-utils has been installed. kdump: mkdumprd: failed to make kdump initrd kdump: Starting kdump: [FAILED] 1
Actual results
With -17, it detects the error, but then succeeds:
kdump: Detected change(s) in the following file(s): /etc/kdump.conf kdump: Rebuilding /boot/initramfs-5.14.0-518.el9.x86_64kdump.img mount.nfs: Failed to resolve server unknown.local: Name or service not known kdump: Failed to mount unknown.local:/srv/kdump for kdump preflight check. Please make sure nfs-utils has been installed. kdump: mkdumprd: failed to make kdump initrd kdump: kexec: loaded kdump kernel kdump: Starting kdump: [OK] kdump: Notice: No vmcore creation test performed! 0
- links to
-
RHBA-2024:139819 kexec-tools bug fix and enhancement update