Public bug reported:

Binary package hint: dash

It seems impossible to preseed dash/sh to false. I'm doing a netboot
install with a preseed file fetched from an HTTP server. In the preseed,
I have:

dash dash/sh boolean false

I'm not sure what difference it makes, but I've also tried:

d-i dash/sh boolean false

as well as preseeding dash/sh on the kernel command line.

The installer (outside of the /target chroot) seems to pick up on the
preseeded value right away; from VC 2 as soon as the installer has
started up:

~ # debconf-get dash/sh
false

However, the target installation has the value 'true' during the
debootstrap(8) phase:

~ # chroot /target/
# debconf-show dash
  dash/sh: true

/target/var/cache/debconf/config.dat during debootstrapping says:

Name: dash/sh
Template: dash/sh
Value: true
Owners: dash

After the target installation has been bootstrapped, the debconf
configuration finally contains the preseeded value:

Name: dash/sh
Template: dash/sh
Value: false
Owners: dash
Flags: seen

However, dash has already been unpacked and configured during the
debootstrap:

Apr 10 14:40:44 debootstrap: Selecting previously deselected package dash.
Apr 10 14:40:44 debootstrap: Unpacking dash (from 
.../dash_0.5.3-5ubuntu2_i386.deb) ...
[...]
Apr 10 14:41:13 debootstrap: Setting up dash (0.5.3-5ubuntu2) ...
Apr 10 14:41:13 debootstrap: Adding `diversion of /bin/sh to /bin/sh.distrib by 
dash'
Apr 10 14:41:13 debootstrap: Adding `diversion of /usr/share/man/man1/sh.1.gz 
to /usr/share/man/man1/sh.distrib.1.gz by dash'

and therefore can't pick up on this preseeded value. Given this
behavior, it seems like it isn't possible to preseed debconf settings
for packages installed during the bootstrap (Priority: required)?

** Affects: dash (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
can't preseed dash/sh to false
https://bugs.launchpad.net/bugs/105539
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to