Bug 843105

Summary: When mounting with live_ram, the CD is ejected and in some case we would like to be able to keep it inside the reader
Product: Red Hat Enterprise Linux 6 Reporter: David Hill <dhill>
Component: dracutAssignee: Harald Hoyer <harald>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.3CC: atodorov, dhill, harald, jstodola
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: When using the "live_ram" parameter for booting from live media, the dracut generated initramfs ejects the medium. Consequence: After ejecting the medium a reboot causes the machine to not boot from the medium again, even if this was desired. Fix: dracut now honors the "no_eject" kernel command line parameter. Result: If "no_eject" is given on the kernel command line, the dracut generated initramfs does not eject the live medium anymore after copying it to RAM.
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-21 10:29:42 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:
Attachments:
Description Flags
No eject patch to dmsquash-live-root none

Description David Hill 2012-07-25 15:31:42 UTC
Created attachment 600332 [details]
No eject patch to dmsquash-live-root

Description of problem:
If the CD is ejected and the server reboots, it won't boot again.

Version-Release number of selected component (if applicable):
Since dracut I guess

How reproducible:
Always.


Steps to Reproduce:
1. Create an image with livecd-creator with live_ram kernel parameter
2. Burn
3. Boot
4. CD will eject
  
Actual results:
CD ejects


Expected results:
Keep CD if needed


Additional info:
I created a patch but I don't know if it works.

Comment 2 Harald Hoyer 2012-07-26 07:07:11 UTC
agreed

Comment 4 Jan Stodola 2013-01-10 10:00:14 UTC
Reproduced with RHEL-6.3 (dracut-004-283.el6), retested with dracut-004-303.el6.
CD is not ejected with "live_ram" and "no_eject" boot options.

Moving to VERIFIED.

Comment 5 errata-xmlrpc 2013-02-21 10:29:42 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-0436.html