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

Stefan H 1355845 at bugs.launchpad.net
Wed May 10 13:08:25 UTC 2017


#3 How did you preseed this away? I try to do this with a current xenial
server image and it doesn't work.

I've looked through the syslog and found at one point that
partman/unmount_active is set to true and later I see:

SUBST partman/unmount_active DISKS /dev/sda
Adding [DISKS] -> [/dev/sda]

and then

FSET partman/unmount_active seen false
0 false

-- 
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:
  Confirmed

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