[Bug 363133] Re: debian-installer partitioner doesn't properly clear labels
Richard Laager
rlaager at wiktel.com
Mon Apr 25 19:26:25 UTC 2016
I re-tested. This is still an issue in 16.04.
** Description changed:
- 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
+ 1. Create a partition. Leave the type as ext4. 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
+ (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 ext3 so I'd see the
+ 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.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to debian-installer in Ubuntu.
https://bugs.launchpad.net/bugs/363133
Title:
debian-installer partitioner doesn't properly clear labels
Status in debian-installer package in Ubuntu:
Confirmed
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/363133/+subscriptions
More information about the foundations-bugs
mailing list