clear_partitions should have some kind of confirmation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
partman-target (Ubuntu) |
Fix Released
|
High
|
Evan | ||
Hardy |
Fix Released
|
High
|
Evan |
Bug Description
Binary package hint: partman-target
Ubiquity has a confirmation prompt for clear_partitions. However, if you're using d-i, then clear_partitions will still be run, but there will be no confirmation prompt beforehand. I have a vague memory that we discussed this, but on looking at the current state I think we must have come to the wrong decision. I think d-i should definitely have clear_partitions (the consequences of d-i running on unclean partitions are often about as bad as Ubiquity doing the same), but it seems bad not to have a confirmation prompt.
Perhaps we should move the check from Ubiquity to partman-target, and make sure that it is in sync with clear_partitions' behaviour (I think clear_partitions probably ought to operate only on the areas of the filesystem identified by ubiquity/
Changed in partman-target: | |
assignee: | nobody → evand |
importance: | Undecided → High |
Agreed, though I'm confused by your parenthetical statement. Are you suggesting that it should only cover /usr/local /var/local / /boot /usr /var ? What effect would user creation, specifically a username that matches a mountpoint, have on this code?