Bug 1487107
Summary: | MAC-based grub2 config loading is broken in RHEL 7.4 | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Lukas Zapletal <lzap> | ||||||
Component: | grub2 | Assignee: | Peter Jones <pjones> | ||||||
Status: | CLOSED DUPLICATE | QA Contact: | Release Test Team <release-test-team-automation> | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 7.4 | CC: | Andrzej.Kacprowski, doug.forster, lersek | ||||||
Target Milestone: | rc | Keywords: | Regression | ||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2017-10-26 11:52:18 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: | |||||||||
Bug Depends On: | |||||||||
Bug Blocks: | 1487106 | ||||||||
Attachments: |
|
Description
Lukas Zapletal
2017-08-31 09:26:17 UTC
Created attachment 1320661 [details]
Patch that fixes hardware address formating bug
Attached patch fixes net hardware address formatting regression.
Andrzej, (In reply to Andrzej.Kacprowski from comment #2) > Created attachment 1320661 [details] > Patch that fixes hardware address formating bug > > Attached patch fixes net hardware address formatting regression. is it guaranteed that "addr->len" is positive when reaching the loop? Thanks Laszlo (In reply to Laszlo Ersek from comment #4) > is it guaranteed that "addr->len" is positive when reaching the loop? addr->len should not be 0 - network device without hardware address make no sense. But if for some reason (i.e. future grub2 change) addr->len is 0, then the grub_net_hwaddr_to_str() will not behave very well - that needs to be fixed. Laszlo, Thanks for pointing this. I will provide improved patch. Created attachment 1320974 [details]
v2: Fix for hardware address formating issue
v2 patch improves grub_net_hwaddr_to_str() function to handle zero length hardware address gracefully
(In reply to Andrzej.Kacprowski from comment #6) > Created attachment 1320974 [details] > v2: Fix for hardware address formating issue > > v2 patch improves grub_net_hwaddr_to_str() function to handle zero length > hardware address gracefully Reviewed-by: Laszlo Ersek <lersek> Allright, looking at this errata https://access.redhat.com/errata/RHBA-2017:2950 I was scratching my head. Then I noticed that what I reported was filed as bug 1483740 few days ago and fixes in 7.4 as well. I think we can close this one, this has been now fixed in both 7.4 and 7.5. Many thanks for help! *** This bug has been marked as a duplicate of bug 1483740 *** |