partman/unmount_active is not preseedable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
partman-base (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
The partman/
Due to some other d-i bug introduced in trusty, the mountmedia command is extremely ... insistent, and when we re-install machines in an unattended mode, it finds /dev/sda1 (a /boot partition) and insists on mounting it on /media, even when anna/retriever is set to net-retriever. This causes partman to complain about mounted partitions. I should be able to pre-seed this question, but I can't, because it forces the seen flag to false. It is a bit presumptuous of d-i to think that it knows my installation environment better than I do: these are unattended machines installed over the network, and any mounted partitions should get overwritten. I do understand the desire not to accidentally scribble over installation media, but at the same time, consider letting sysadmins who know what they're doing preseed answers to questions here. If you're concerned, introduce another debconf key partman/
For another example of people getting bitten by this problem, see:
http://
And before someone bothers to point out that partman/ filter_ mounted is preseedable, that doesn't help. All that does is tell partman not to filter out mounted partitions. So if I set that to false, partman doesn't display the warning, but will attempt to create a partition on a mounted filesystem, which doesn't work. There is absolutely no way to tell partman "No, really, there should not be any local block devices mounted." short of forcing things in an early_command, which is a fairly large hammer.