Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 468114

Summary: core_collector line in /etc/kdump.conf fails due to errors from /sbin/mkdumprd
Product: Red Hat Enterprise Linux 5 Reporter: Charlotte Richardson <charlotte.richardson>
Component: kexec-toolsAssignee: Neil Horman <nhorman>
Status: CLOSED DUPLICATE QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.3CC: qcai
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-10-23 14:54:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Charlotte Richardson 2008-10-22 21:55:28 UTC
Description of problem:
The /sbin/mkdumprd in RHEL5.3_Alpha can no longer parse the core_collector line in /etc/kdump.conf. The line looks like:
core_collector makedumpfile -d 31


Version-Release number of selected component (if applicable):
RHEL5.3_Alpha 2.6.18-118.el5

How reproducible:
Every time.


Steps to Reproduce:
1. Configure kdump.
2. Add the above line to /etc/kdump.conf.
3. Service kdump restart.
  
Actual results:
/sbin/mkdumprd: line 1716: test: too many arguments
/etc/kdump.conf: Need a location for core_collector


Expected results:
Should work (worked in RHEL5.2).


Additional info:
I have temporarily hacked /sbin/mkdumprd for our use to get around this by changing line 1752 to read:
kdmup_chk "test -n \"$config_val\"" "Need a location for $config_opt"

That is, I removed two extra pairs of back slashes around "$config_opt", making this line the same as it was in RHEL5.2. (You probably want to do this in a cleaner way...)

Comment 1 Neil Horman 2008-10-23 14:54:41 UTC

*** This bug has been marked as a duplicate of bug 463878 ***