[Bug 1666475] Re: libparted needs support for setting the type GUID to an arbitrary value for gpt labels

Launchpad Bug Tracker 1666475 at bugs.launchpad.net
Thu Jun 29 02:57:46 UTC 2023


This bug was fixed in the package parted - 3.6-3

---------------
parted (3.6-3) unstable; urgency=medium

  * align-new-partitions-on-fresh-disks.patch:
    - Fix NULL dereference on error path.
    - Don't try to align partitions if no constraint was passed.

 -- Colin Watson <cjwatson at debian.org>  Mon, 26 Jun 2023 23:34:57 +0100

** Changed in: parted (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to parted in Ubuntu.
https://bugs.launchpad.net/bugs/1666475

Title:
  libparted needs support for setting the type GUID to an arbitrary
  value for gpt labels

Status in parted package in Ubuntu:
  Fix Released

Bug description:
  libparted tries to be as much label-agnostic as possible, but
  sometimes it's required that a selected partition has the partition
  type set to an *exact* GUID value. Currently the only way to modify
  the type GUID for parts in the gpt label is to change the partition-
  specific flags which in the end causes the GUID to change. There are
  no API calls that would allow to set the type to an arbitrary value.

  This is a bit troublesome as other partitioning tools like sfdisk or
  sgdisk allow setting the GUID to any acceptable value.

  It would be best if libparted gained the same ability as it's bindings
  are available for multiple languages.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/parted/+bug/1666475/+subscriptions




More information about the foundations-bugs mailing list