partman fails to swapoff all swap partitions on the target device
Bug #218394 reported by
Evan
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
partman-base (Ubuntu) |
Fix Released
|
High
|
Evan | ||
Hardy |
Fix Released
|
High
|
Evan |
Bug Description
Binary package hint: partman-base
In partman-base.ubuntu r84, disable_swap was changed to only swapoff partitions on a device that is going to be modified. However, it only iterates over the list of partitions that will exist when partitioning has completed.
To reproduce, install Ubuntu once, then install again, electing to resize the disk. Finally, try to install a third time using the entire disk. While partman will swapoff one of the partitions, it will miss the other and the kernel will be unable to re-read the partition table.
Attached is a basic patch to fix the bug.
Related branches
Changed in partman-base: | |
assignee: | nobody → evand |
status: | New → Confirmed |
importance: | Undecided → High |
milestone: | none → ubuntu-8.04 |
Changed in partman-base: | |
status: | Confirmed → Fix Committed |
To post a comment you must log in.
This bug was fixed in the package partman-base - 114ubuntu5
---------------
partman-base (114ubuntu5) hardy; urgency=low
* Disable swap on all the swap partitions for the device being
changed, rather than just the ones that will exist after
partitioning (LP: #218394).
-- Evan Dandrea <email address hidden> Wed, 16 Apr 2008 22:37:00 -0400