Bug 31489

Summary: gdisk UUID warnings/errors
Product: Mageia Reporter: Aurelian R <arusanu>
Component: RPM PackagesAssignee: All Packagers <pkg-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: jani.valimaa, marja11
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: gdisk-1.0.9-1.src.rpm CVE:
Status comment:

Description Aurelian R 2023-02-01 16:30:57 CET
Description of problem:
gdisk-1.0.9-1.mga generates warnings of being unable generate a proper UUID.
Looking for a solution, found this closed Fedora bug:
https://bugzilla.redhat.com/show_bug.cgi?id=2082857#c2
which definitely solves it for me, i.e no warnings after patch and successfully converting the disk to GPT.

Version-Release number of selected component (if applicable):
gdisk-1.0.9-1.mga

How reproducible:
always for my test case.


Steps to Reproduce:

1. Run gdisk to convert a MBR disk to a GPT one.

# gdisk /dev/sda
GPT fdisk (gdisk) version 1.0.9

Partition table scan:
  MBR: MBR only
  BSD: not present
  APM: not present
  GPT: not present


***************************************************************
Found invalid GPT and valid MBR; converting MBR to GPT format
in memory. THIS OPERATION IS POTENTIALLY DESTRUCTIVE! Exit by
typing 'q' if you don't want to convert your MBR partitions
to GPT format!
***************************************************************

Warning! Unable to generate a proper UUID! Creating an improper one as a last
resort! Windows 7 may crash if you save this partition table!
Warning! Unable to generate a proper UUID! Creating an improper one as a last
resort! Windows 7 may crash if you save this partition table!
Warning! Unable to generate a proper UUID! Creating an improper one as a last
resort! Windows 7 may crash if you save this partition table!
Warning! Unable to generate a proper UUID! Creating an improper one as a last
resort! Windows 7 may crash if you save this partition table!
Warning! Unable to generate a proper UUID! Creating an improper one as a last
resort! Windows 7 may crash if you save this partition table!
Warning! Unable to generate a proper UUID! Creating an improper one as a last
resort! Windows 7 may crash if you save this partition table!
Warning! Unable to generate a proper UUID! Creating an improper one as a last
resort! Windows 7 may crash if you save this partition table!

Command (? for help): v

No problems found. 25197 free sectors (12.3 MiB) available in 7
segments, the largest of which is 10240 (5.0 MiB) in size.
Comment 1 Marja Van Waes 2023-02-04 22:32:46 CET
Assigning to all packagers collectively, since there is no registered maintainer for this package

CC: (none) => marja11
Assignee: bugsquad => pkg-bugs

Comment 2 Jani Välimaa 2023-02-18 12:10:48 CET
Fixed with gdisk-1.0.9-2.mga9.

Status: NEW => RESOLVED
CC: (none) => jani.valimaa
Resolution: (none) => FIXED