Bug 1860461
Summary: | sfdisk regression creating simple 3 partition MBR disk | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Richard W.M. Jones <rjones> |
Component: | util-linux | Assignee: | Karel Zak <kzak> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 33 | CC: | jonathan, kzak |
Target Milestone: | --- | ||
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: | 2020-09-01 12:31:45 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: | 910269 |
Description
Richard W.M. Jones
2020-07-24 16:35:13 UTC
git bisect sayeth: 83fdb880b953164fec7cc603c4ece11cb78762db is the first bad commit commit 83fdb880b953164fec7cc603c4ece11cb78762db Author: Karel Zak <kzak> Date: Thu May 21 15:37:59 2020 +0200 libfdisk: (dos) fix default partition start The current code implements the default start as first free space, but it does not check if the space is large enough. Addresses: https://github.com/karelzak/util-linux/issues/1044 Signed-off-by: Karel Zak <kzak> libfdisk/src/alignment.c | 6 ++-- libfdisk/src/dos.c | 81 +++++++++++++++++++++++++++++++++++++++++++++--- 2 files changed, 79 insertions(+), 8 deletions(-) Oh, this is stupid bug. Sorry. Fixed by upstream commit https://github.com/karelzak/util-linux/commit/4fe7f9b614e2b5bb97f6d89af02acb867cffccc1 The Fedora package will be updated ASAP. Thanks for your report! Hey no problem, I'll check the fix when I see the new build in Fedora. This bug appears to have been reported against 'rawhide' during the Fedora 33 development cycle. Changing version to 33. Could you add this bug fix to Rawhide too? At the moment it's only present on the F33 branch and Rawhide has a different -3 package. Can confirm this is fixed now, thanks. |