[Bug 1355845] Re: partman/unmount_active is not preseedable

Jonathan Reed jdreed at mit.edu
Tue Aug 12 14:26:22 UTC 2014


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.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to partman-base in Ubuntu.
https://bugs.launchpad.net/bugs/1355845

Title:
  partman/unmount_active is not preseedable

Status in “partman-base” package in Ubuntu:
  New

Bug description:
  The partman/unmount_active question is not preseedable.  This is a
  problem.

  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/disable_all_safety_checks or something that
  defaults to false.

  For another example of people getting bitten by this problem, see:
  http://ubuntuforums.org/showthread.php?t=2215103&p=12977473#post12977473

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/partman-base/+bug/1355845/+subscriptions



More information about the foundations-bugs mailing list