Bug 2106645

Summary: kdump - sysrq-c: can't read /var/tmp/dracut.zWbrlQ/initramfs/usr/lib/udev/rules.d/40-redhat.rules:
Product: [Fedora] Fedora Reporter: Baoquan He <bhe>
Component: kexec-toolsAssignee: Coiby <coxu>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 37CC: bhe, coxu, ruyang, ryncsn
Target Milestone: ---   
Target Release: ---   
Hardware: ppc64le   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-04-21 02:20:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Baoquan He 2022-07-13 08:14:56 UTC
Description of problem:
When restarting kdump service to reload kdump kernel, it will print below warning that can't read ...40-redhat.rules: No such file or directory

[root@ibm-p8-kvm-10-guest-05 ~]# kdumpctl restart
kdump: kexec: unloaded kdump kernel
kdump: Stopping kdump: [OK]
kdump: No kdump initial ramdisk found.
kdump: Rebuilding /boot/initramfs-5.19.0-rc6+kdump.img
sed: can't read /var/tmp/dracut.NnAV2g/initramfs/usr/lib/udev/rules.d/40-redhat.rules: No such file or directory
kdump: kexec: loaded kdump kernel
kdump: Starting kdump: [OK]

This is because we don't install /usr/lib/udev/rules.d/40-redhat.rules in Fedora, it only exists in rhel. So we should fix the warning to remove confuse.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Ben Cotton 2022-08-09 13:42:17 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 37 development cycle.
Changing version to 37.