ubiquity offers installation media as an install target
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
partman-auto (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Eoan |
Fix Released
|
High
|
Unassigned | ||
ubiquity (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Eoan |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I guess this is actually a bug in some partman component, but well. In both the desktop and ubuntu studio installers for eoan beta, I was offered the installation media as a target disk. This seems unlikely to be correct.
==
partman-auto must not use the _whole_ device, of anything that is mounted on /cdrom.
Our ISOs are multipartition eltorito devices. And one can mount the top-level device, or the first partition, to get the same content (depending if one knows how to read partitions that is). Previously we were mounting the top-level /dev/sda, but now we started to mount /dev/sda1, unbreaking using other partitions of the installer media for purposes of persistence & installer logs.
Partman & parted are actually very confused by our installer media, as they get tricked by -isohybrid-
Thus when parted init code tries to walk the partitions, and detect installer media mounts none of that code actually runs, as no partitions are detected partman (and parted_devices declares it unknown partition table).
Hence I guess, the static strict check for the "whole $device mount on /cdrom" was added.
But given the above change to mount just a partition this has now started to fail. Imho we should expand the pattern to match at least optionally match 'p?[0-9]*' - depending on how one re-rolls the iso, it may or may not be multipartition one, with optionally 'p'-prefixed (hello nvme) partition number, such that all of these cases are valid.
tags: | added: eoan |
tags: | added: rls-ee-incoming |
affects: | ubiquity (Ubuntu) → partman-auto (Ubuntu) |
tags: | removed: rls-ee-incoming |
Changed in partman-auto (Ubuntu Eoan): | |
importance: | Undecided → Critical |
status: | New → Triaged |
tags: | added: id-5d96126fc078dd5a88fdcc5c |
Changed in partman-auto (Ubuntu Eoan): | |
importance: | Critical → Medium |
description: | updated |
tags: | added: id-5daf76eda2a6e5756012409b |
This bug has been reported on the Ubuntu ISO testing tracker.
A list of all reports related to this bug can be found here: iso.qa. ubuntu. com/qatracker/ reports/ bugs/1845571
http://