[Bug 2098075] Re: use-gap on IMSM RAID devices installs another ESP partition, despite there is one available

Olivier Gayot 2098075 at bugs.launchpad.net
Thu Feb 20 08:45:25 UTC 2025


** Also affects: curtin
   Importance: Undecided
       Status: New

** Changed in: curtin
       Status: New => Fix Committed

** Also affects: subiquity (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: subiquity (Ubuntu)
    Milestone: None => ubuntu-24.04.3

** Also affects: subiquity (Ubuntu Noble)
   Importance: Undecided
       Status: New

** Also affects: subiquity (Ubuntu Plucky)
   Importance: Undecided
       Status: New

** Changed in: subiquity (Ubuntu Plucky)
       Status: New => In Progress

** Changed in: subiquity (Ubuntu Plucky)
     Assignee: (unassigned) => Olivier Gayot (ogayot)

** Changed in: subiquity (Ubuntu Noble)
     Assignee: (unassigned) => Olivier Gayot (ogayot)

** Changed in: curtin
     Assignee: (unassigned) => Olivier Gayot (ogayot)

** Changed in: subiquity (Ubuntu Noble)
       Status: New => In Progress

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

Title:
  use-gap on IMSM RAID devices installs another ESP partition, despite
  there is one available

Status in curtin:
  Fix Committed
Status in subiquity:
  In Progress
Status in subiquity package in Ubuntu:
  In Progress
Status in subiquity source package in Noble:
  In Progress
Status in subiquity source package in Plucky:
  In Progress

Bug description:
  use_gap on RAID installs another EFI partition, and I found out that
  for RAID devices, there's no device.ptable and
  common/filesystem/boot.py:_is_esp_partition was looking for it.

  
  ```
  def _is_esp_partition(partition):
      new_disk = attr.evolve(partition.device)
      new_disk._partitions = []
      if not can_be_boot_device(new_disk, with_reformatting=True):
          return False
      if partition.device.ptable == "gpt":
          return partition.flag == "boot"
  ```

To manage notifications about this bug go to:
https://bugs.launchpad.net/curtin/+bug/2098075/+subscriptions




More information about the foundations-bugs mailing list