"Unsafe swap space detected" dialog displayed too late if swap is created after an encrypted partition and makes manual partitioner unusable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
partman-crypto (Ubuntu) |
Fix Released
|
High
|
Dimitri John Ledkov | ||
Quantal |
Fix Released
|
High
|
Dimitri John Ledkov | ||
ubiquity (Ubuntu) |
Fix Released
|
High
|
Dimitri John Ledkov | ||
Quantal |
Fix Released
|
High
|
Dimitri John Ledkov |
Bug Description
Quantal Desktop 20120926
In the manual partitioner, if the user creates the swap space after the encrypted space then installation starts and the "Unsafe swap space detected" dialog is shown during the timezone step. When the dialog is dismissed, it brings the user back to the guided partitioner not the manual partitioner.
Then, if I use the manual partitioner again, it is unusable, all the actions are greyed, only 'Change' is enabled but does nothing
In the guided partioner, If I select 'Erase everything' then installation stops on error with a dialog titled 'ERROR!!!' "'/dev/sdaX' device or resource busy."
The dialog should be displayed when the user creates the swap space and the manual partitioner should allow to fix the mistake.
TEST CASE:
1. Start Ubiquity and go to the manual partitioner
2. Create a new partition table
3. Add a partition of type "physical volume for encryption" and do not allocate all disk space, enter a passphrase and press 'ok'
4. Select the newly created partition and mount it on '/'
5. Select the free space and create a partition of type 'ext4', mounted on '/boot' and keep free space for a swap partition.
6. Select the free space and create a partition of type 'swap space'
7. Press 'Install Now'
ACTUAL RESULT:
Installation continues, proceeds to the timezone step and the stops with a dialog 'Unsafe swap space detected'
Installation is completely blocked because the partition is not released and cannot be reused.
tags: | added: testcase |
Changed in ubiquity (Ubuntu Quantal): | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | removed: rls-q-incoming |
Changed in ubiquity (Ubuntu Quantal): | |
assignee: | nobody → Dmitrijs Ledkovs (xnox) |
Changed in partman-crypto (Ubuntu Quantal): | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Dmitrijs Ledkovs (xnox) |
Changed in partman-crypto (Ubuntu Quantal): | |
status: | Triaged → Fix Committed |
Changed in ubiquity (Ubuntu Quantal): | |
status: | Triaged → In Progress |
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/1056707
http://