debian-installer partitioner doesn't properly clear labels
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
debian-installer (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Here are the steps to reproduce:
1. Create a partition. Leave the type as ext4. Set the label, for example: /srv
2. Go back to the partition listing.
(In real use, you then realize you made a mistake in step one.)
3. Edit the first partition. Change the type to swap.
4. Create a second partition. Leave the type as ext4. Set the label to the same thing used in step one, for example: /srv
5. Confirm that you're done edition partitions.
Actual result: Error message about duplicate labels.
Expected result: No error.
I further tried deleting the first partition and re-creating it as swap again. That still failed. I had to change it back to ext4 so I'd see the label (still /srv), clear the label, and then set it back to swap.
The partitioner should clear the stored label whenever you change the type to something where the label field goes away. (It can't save it to disk anyway with something like swap, which is why it isn't shown.) It should also clear the label when you delete a partition.
affects: | ubuntu → debian-installer (Ubuntu) |
summary: |
- Installer manual partitioner doesn't properly clear labels + debian-installer partitioner doesn't properly clear labels |
Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue for you. Can you try with the latest Ubuntu release (10.04)? Thanks in advance.