kickstart not removing logical volume data
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kickseed (Ubuntu) |
Fix Released
|
Medium
|
Colin Watson | ||
Lucid |
Fix Released
|
Medium
|
Colin Watson | ||
Maverick |
Won't Fix
|
Medium
|
Colin Watson | ||
Natty |
Won't Fix
|
Medium
|
Colin Watson |
Bug Description
Stable release update justification:
Impact: The 'clearpart --all --initlabel' Kickstart command fails to fulfil its contract of not asking interactively whether it's OK to discard previous partitions.
Development branch: Fixed upstream in kickseed 0.56 by adding a couple of extra preseeding translations.
Patch:
http://
http://
http://
TEST CASE: Install a *scratch* system (very important; this test may well wipe out all other data on the system!) with LVM; then perform a Kickstart installation with 'clearpart --all --initlabel' in the Kickstart file. (You can omit other directives if you like, and you'll just be prompted for them.) You should not be asked the question from the original bug report.
Regression potential: No upgrade regressions possible. It would be good to confirm that existing functional Kickstart files still work.
Original bug report:
Binary package hint: debian-installer
From my understanding "clearpart --all --initlabel" should clear all partitions no matter if they are containing LVMs or not.
This is the case in Centos. Ubuntu somehow asks if it should do so:
\quote
[!!] Partition disks
The selected device already contains the following LVM logical volumes, volume groups and physical volumes which are about to be removed:
Logical volume(s) to be removed:
[...]
Note that this will also permanently erase any data currently on the logical volumes.
Remove existing logical volume data?
\quote end
I am experiencing this problem from version 8.10 to version 10.10 (I have not tried earlier versions)
Regards,
Jan
tags: | added: clearpart initlabel kickstart lvm |
Changed in kickseed (Ubuntu Natty): | |
status: | New → Triaged |
importance: | Undecided → Medium |
milestone: | none → natty-updates |
Changed in kickseed (Ubuntu Lucid): | |
assignee: | nobody → Colin Watson (cjwatson) |
Changed in kickseed (Ubuntu Maverick): | |
assignee: | nobody → Colin Watson (cjwatson) |
Changed in kickseed (Ubuntu Natty): | |
assignee: | nobody → Colin Watson (cjwatson) |
Changed in kickseed (Ubuntu Lucid): | |
milestone: | ubuntu-10.04.3 → ubuntu-10.04.4 |
status: | Triaged → In Progress |
Changed in kickseed (Ubuntu Maverick): | |
status: | Triaged → In Progress |
Changed in kickseed (Ubuntu Natty): | |
status: | Triaged → In Progress |
description: | updated |
tags: | added: testcase |
tags: |
added: verification-done removed: verification-needed |
tags: |
added: verification-needed removed: verification-done |
I have encountered the same problem on Maverick. Is there any solution for that, yet?
Kind Regards
Marcus