tags 516802 moreinfo thanks also sprach Daniel Richard G. <[email protected]> [2009.02.23.1944 +0100]: > I set a value of "none" for mdadm/initrdstart using debconf-set-selections, > prior to installing mdadm. (I also mark the question as "seen false", so > that the value can be changed if needed at package-install time; the intent > is simply to change the default.)
I forget debconf details, but does this work for other settings for
you? I.e. are you sure that "seen false" doesn't cause it to ignore
the preseeded value and use the default anyway?
> When mdadm is installed, and the debconf question comes up, the
> default value shown is the package default of "all", and not the
> preseeded value of "none". It should, of course, be the latter.
From the code, I do not understand how this is even possible:
db_get mdadm/initrdstart
INITRDSTART="${RET:-all}"
This means that INITRDSTART only gets initialised to 'all' if $RET
was not set. Either $RET is 'all', in which case debconf is at
fault, or there are gnomes in your PC.
Do you think you could try to reproduce this on a new machine in the following
order:
1. use debconf-set-selections as you would
2. use dpkg --unpack mdadm_*.deb to merely unpack the package
3. change set -eu at the top of /var/lib/dpkg/info/mdadm.postinst to set -euvx
4. insert echo $RET between the two lines of code shown above
5. run dpkg --configure mdadm
6 paste the output to me?
--
.''`. martin f. krafft <[email protected]> Related projects:
: :' : proud Debian developer http://debiansystem.info
`. `'` http://people.debian.org/~madduck http://vcs-pkg.org
`- Debian - when you have better things to do than fixing systems
digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)

