Bug 1211101
Summary: | grub2 fw_path variable is incorrect for x86 EFI network boot: too many path components stripped | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Dan Callaghan <dcallagh> | ||||
Component: | grub2 | Assignee: | Peter Jones <pjones> | ||||
Status: | CLOSED ERRATA | QA Contact: | Release Test Team <release-test-team-automation> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 7.0 | CC: | alemay, mkovarik, pholica | ||||
Target Milestone: | rc | Keywords: | Patch | ||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | grub2-2.02-0.17.el7 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2015-11-19 12:23:55 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
Dan Callaghan
2015-04-13 02:28:00 UTC
I had a poke around in GRUB's source. This is using the prepped sources from grub2-2.02-0.16.el7. The fw_path variable is populated using the path returned from grub_machine_get_bootlocation. The EFI version of grub_machine_get_bootlocation grabs the path from either grub_efi_get_filename (if booted from disk) or grub_efi_net_config (if booted from the network) and then strips the last component from the path. However grub_efi_net_config populates the path using grub_net_configure_by_dhcp_ack which *also* strips the last component from the path. Created attachment 1013793 [details]
grub2 patch
The attached patch appears to fix the problem.
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. https://rhn.redhat.com/errata/RHSA-2015-2401.html |