Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 707441

Summary: Provide /usr/sbin/rhcrashkernel to replace crashkernel=auto
Product: Red Hat Enterprise Linux 7 Reporter: Cong Wang <amwang>
Component: kexec-toolsAssignee: Baoquan He <bhe>
Status: CLOSED CURRENTRELEASE QA Contact: Guangze Bai <gbai>
Severity: high Docs Contact:
Priority: unspecified    
Version: 7.0CC: dmaley, gbai, phan, rkhan, yshao
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: 2013-07-12 09:22:23 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:
Bug Depends On:    
Bug Blocks: 693944, 745179    

Description Cong Wang 2011-05-25 05:17:42 UTC
Description of problem:

Comments from David Cantrell:
https://bugzilla.redhat.com/show_bug.cgi?id=693944#c23

What about moving the calculation of the crashkernel value out to a standalone
script or tool (e.g., /usr/sbin/rhcrashkernel) that we can run and get a
preferred crashkernel value for the boot loader configuration file?  During
initial installation, we [anaconda] can use that program to set up the boot
loader and you guys can run it from %post to modify existing boot loader
configuration files.  The %post script could key on the existence of a boot
loader configuration file appropriate to the platform as to whether or not it
should modify the crashkernel value.  You could provide the tool in the
kexec-tools package.

See also Bug 693944.

Comment 6 Baoquan He 2013-03-13 05:34:12 UTC
[alex@dhcp-16-252 kexec-tools]$ ls rhcrashkernel-param 
rhcrashkernel-param
[alex@dhcp-16-252 kexec-tools]$ cat rhcrashkernel-param 
#!/bin/sh
if grep -q Fedora /etc/redhat-release; then
    echo -n
else
    echo crashkernel=auto
fi


This has been added into rhel7.