Bug 1616395
Summary: | grub2 doesn't handle relative paths correctly for UEFI HTTP Boot | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Stephen Benjamin <stbenjam> |
Component: | grub2 | Assignee: | Javier Martinez Canillas <fmartine> |
Status: | CLOSED ERRATA | QA Contact: | Release Test Team <release-test-team-automation> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.9 | CC: | dconsoli, fmartine, lzap, ovasik, pjanda, rstrode, swadeley, tborcin, tbowling |
Target Milestone: | rc | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | grub2-2.02-0.82.el7 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-07-29 19:34:15 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: | 2020-07-07 |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1619274, 1619291 |
Description
Stephen Benjamin
2018-08-15 19:20:11 UTC
This was fixed in 7.6 as part of a different bz. Here's the relevant commit message: From: Stephen Benjamin <stephen> Date: Thu, 16 Aug 2018 16:58:51 -0400 Subject: [PATCH] Prepend prefix when HTTP path is relative This sets a couple of variables. With the url http://www.example.com/foo/bar : http_path: /foo/bar http_url: http://www.example.com/foo/bar Related: rhbz#1490981 This patch doesn't appear to be in any 7.6 builds, or even any builds I can find in Brew. $ rpm -q --changelog grub2-efi-x64 | grep Prepend $ rpm -q grub2-efi-x64 grub2-efi-x64-2.02-0.76.el7.1.x86_64 $ cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.6 (Maipo) There's also a really dumb mistake of mine in that patch, there's a PR to fix it: https://github.com/rhboot/grub2/pull/53 *** Bug 1763216 has been marked as a duplicate of this bug. *** Was able to reproduce it on RHEL-7.8-20200225.1 x86_64 Server *** Bug 1642438 has been marked as a duplicate of this bug. *** Verified on RHEL-7.9-20200623.0 x86_64 Server grub2-2.02-0.82 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://access.redhat.com/errata/RHSA-2020:3217 |