Bug 644494

Summary: support for _rnetdev mount option missing in RHEL6
Product: Red Hat Enterprise Linux 6 Reporter: Dave Maley <dmaley>
Component: dracutAssignee: Harald Hoyer <harald>
Status: CLOSED NOTABUG QA Contact: Release Test Team <release-test-team-automation>
Severity: high Docs Contact:
Priority: high    
Version: 6.1Keywords: Regression
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: 2010-11-12 15:25:11 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: 644503    
Bug Blocks:    
Attachments:
Description Flags
dracut-004-32-rnetdev.patch none

Description Dave Maley 2010-10-19 18:34:03 UTC
Created attachment 454406 [details]
dracut-004-32-rnetdev.patch

Description of problem:
Start of kdump service fails in RHEL6 iSCSI boot environment.  The kdump service starts successfully in RHEL5 when _rnetdev option is specified for /boot in fstab.

The _rnetdev mount option was added in RHEL5.2 to address problems where the iscsi root device never got fscked.  The _rnetdev support added to mkinitrd in 5.2 (bug 435717) is missing from dracut in RHEL6.


Version-Release number of selected component (if applicable):
dracut-004-32.el6


How reproducible:
always


Steps to Reproduce:
1. setup system w/ iSCSI boot environment
2. configure kdump (if not auto-enabled)
3. reboot (if crashkernel memory not already reserved)

  
Actual results:
kdump service fails to start


Expected results:
kdump service starts successfully


Additional info:

Comment 3 Harald Hoyer 2010-10-20 08:19:59 UTC
which tool uses dracut-gencmdline and why???

Comment 4 Dave Maley 2010-10-20 15:29:06 UTC
> which tool uses dracut-gencmdline and why???

Good questions  8)

When investigating I found code in dracut-gencmdline which matched the mkinitrd code patched in bug 435717.  I now see that dracut-gencmdline is part of dracut-tools, which isn't part of the base product but rather it's in /optional.  Thus it doesn't appear this change is required to resolve the problem reported by the customer.

Then again I suppose there's a reason dracut-gencmdline is even included in /optional, and based the "code taken from mkinitrd" comment right at the top we might want to consider this change for completeness.

I'm going to request the customer confirm this isn't required to resolve their reported problem.

Comment 5 Dave Maley 2010-10-20 15:43:40 UTC
note: the support for _rnetdev in mkinitrd was added to 5.2 in order to fix fsck on iscsi root devs (bug 435717).  However the customer who reported it against RHEL6 noticed it because it broke kdump in their iscsi boot environment.  I've updated the summary to (hopefully) more accurately describe this bug report.

Comment 6 Dave Maley 2010-11-02 21:06:57 UTC
Harold - the customer has confirmed that the dracut code change is indeed not necessary.  Not sure what the intended uses for the dracut-tools package is, nor who the users of dracut-gencmdline might be, so I leave it up to you as to whether it's worth taking this patch.

Cheers!
~Dave