2016-04-25 19:26:32 |
Richard Laager |
description |
During a Jaunty install, I ran into a bug with the manual partitioner. Here are the steps to reproduce:
1. Create a partition. Leave the type as ext3. Set the label, for example: /srv
2. Go back to the partition listing.
3. (In real use, you then realize you made a mistake in step one.) Edit the first partition. Change the type to swap.
4. Create a second partition. Leave the type as ext3. 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 ext3 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. |
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. |
|