Bug 1119938

Summary: Exit from Grub2 back to Firmware causes system to hang on Fedora 20
Product: [Fedora] Fedora Reporter: aaron.pop
Component: grub2Assignee: Peter Jones <pjones>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 20CC: bcl, lkundrak, mads, pjones
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-29 15:46:08 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:

Description aaron.pop 2014-07-15 22:06:07 UTC
Description of problem:

Patch 0447-Add-support-for-crappy-cd-craparino.patch is overwriting the UEFI systems device path instead of creating its own duplicate of the device path and modifying the duplicate.

Version-Release number of selected component (if applicable):
grub2-2.00-26.fc20.src.rpm
grub2-2.00-25.fc20.src.rpm

How reproducible:
Depending on the UEFI firmware, the modification of the device path can prevent the system from booting to the next UEFI boot device by causing a system hang.

Steps to Reproduce:
1. Using the Fedora 20 DVD, UEFI boot to the installation media (secure boot disabled)
2. Press the 'c' key when the grub menu is shown
3. type 'exit' into the command prompt 
4. The system can hang after control is returned back to the firmware

Actual results:
The modification of the device path causes the system to have duplicate device paths for two separate device handles (UEFI specification says that device paths should be unique)

Expected results:
Booting to the installation media and then exiting should not cause any modifications to the firmware provided device paths.

Additional info:
This does not exist in the grub2-2.02-0.6.fc21.src.rpm that is part of rawhide and fedora 21

Comment 1 aaron.pop 2014-12-29 15:46:08 UTC
Because the latest versions of grub operate on a duplicated device path, and do not have the same problem, I am closing this.