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 761332

Summary: [7.0 FEAT] dracut kdump adaptation
Product: Red Hat Enterprise Linux 7 Reporter: Dave Young <ruyang>
Component: dracutAssignee: dracut-maint
Status: CLOSED CURRENTRELEASE QA Contact: Release Test Team <release-test-team-automation>
Severity: high Docs Contact:
Priority: medium    
Version: 7.0CC: gbai, harald, mkovarik, tgummels
Target Milestone: rcKeywords: FutureFeature, Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: dracut-024-25.git20130205.el7 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-13 10:02:31 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: 788649, 806907    

Description Dave Young 2011-12-08 04:48:10 UTC
Description of problem:
a. Name of Feature: [RHEL7 FEAT] dracut kdump adaptation
b. Feature Description:
  Current kdump mkdumprd is somehow duplication of dracut functions. It
added extra maintainace effort. Plan is moving from mkdumprd to dracut
for kdump initrd generation, thus we can also sync fedora/rhel kdump
more easily.

  This feature need dracut provide following functions:
  1. infrastructure for mounting disks/nfs as other than root/usr
  2. give a kdump target, dracut can detect and deal with the dracut
module dependencies, ie. nfs/lvm/iscsi/...

c. Feture Details:

TODOs for dracut disk mounting:
Copied from
https://docs.google.com/document/d/16V5KUUslXR-69HUlgeLH4_LIqpZcEUER0EnE_qWnXGQ/edit

Generator
module-setup.sh
extend host only functions to detect additional non-root devices also
extend host only functions to add configuration files for non-root
devices also
additional modules
1. ssh with scp
dracut
add options:
1. --mount "<dev>" "<somewhere>" “<fstype>” “<fsoptions>”
2. --add-fstab “<fstab file>"
Initramfs scripts
dracut-lib.sh
add_mount_point           <disk> <mountpoint> <filesystem> <fsopts>
Mount <disk> on <mountpoint> with <filesystem> and <fsopts> and call any
mount hooks, as soon, as it is mounted


inst_mount_hook        <mountpoint> <prio> <script>
Install a mount hook with priority <prio>, which executes <script> as
soon as <mountpoint> is mounted.


wait_for_mount         <mountpoint>
Installs a initqueue-finished script, which will cause the main loop
only to exit, if <mountpoint> is mounted.


wait_for_disk         <disk>
Installs a initqueue-finished script, which will cause the main loop
only to exit, if the device <disk> is recognized by the system.

d. Relavant info:

https://fedoraproject.org/wiki/Features/NewMkdumprd


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


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 2 Harald Hoyer 2013-02-26 09:30:46 UTC
fixed with dracut-024-25.git20130205.el7

Comment 4 Ludek Smid 2014-06-13 10:02:31 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.