[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#400694: marked as done (preseeding tasksel/first etc has no effect)



Your message dated Tue, 28 Nov 2006 19:17:04 +0000
with message-id <E1Gp8S0-0007vF-OG@ries.debian.org>
and subject line Bug#400694: fixed in preseed 1.22
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: preseed
Version: 1.03
Severity: serious
Tag: patch

I made a kde CD that preseeds tasksel/first=kde-desktop, but this
doesn't work, kde-desktop is not automatically installed.

Indeed, it's commented out in /var/lib/preseed/log, and the code that 
populates the debconf db in /target skips it. So tasksel/first is only
preseeded in cdebconf, and does not have an effect, except to cause
cdebconf to not show the question. This results in debconf getting the
default answer of the question instead of the preseeded value.

Even if I uncomment it, it still won't work, because preseed's
post-base-installer hook only copies values not owned by d-i over
to debconf.
    
    - Log variables preseeded from the environment in the preseed log file,
      but leave them commented out, since environment preseeding is typically
      used for one-off overridding, and we don't want preseeded
      debconf/priority or the like to affect the installed system. Probably.

To fix this, it seems that env2preseed would need to both not comment
out the lines, as well as make them be owned by something other than
d-i. Although as the changelog comment above notes, it opens the
possibility for other values specified by the user on the kernel command
line and only intended to override d-i behavior to be saved into the
installed system. According to my tests, this patch should work:

Index: env2debconf
===================================================================
--- env2debconf	(revision 42928)
+++ env2debconf	(working copy)
@@ -38,7 +38,7 @@
 			else
 				type=unknown
 			fi
-			echo "#d-i $var $type $val" >> /var/lib/preseed/log
+			echo "unknown $var $type $val" >> /var/lib/preseed/log
 			db_fset "$var" seen true
 			IFS=$NEWLINE
 		fi

(NB: Unless the owner is set to the actual right package name somehow, it
also will cause these items to enter the debconf db with a second owner,
which will prevent them from being removed when tasksel is purged, but
this is a lesser problem.)

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-2-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: preseed
Source-Version: 1.22

We believe that the bug you reported is fixed in the latest version of
preseed, which is due to be installed in the Debian FTP archive:

env-preseed_1.22_all.udeb
  to pool/main/p/preseed/env-preseed_1.22_all.udeb
file-preseed_1.22_all.udeb
  to pool/main/p/preseed/file-preseed_1.22_all.udeb
initrd-preseed_1.22_all.udeb
  to pool/main/p/preseed/initrd-preseed_1.22_all.udeb
network-preseed_1.22_all.udeb
  to pool/main/p/preseed/network-preseed_1.22_all.udeb
preseed-common_1.22_all.udeb
  to pool/main/p/preseed/preseed-common_1.22_all.udeb
preseed_1.22.dsc
  to pool/main/p/preseed/preseed_1.22.dsc
preseed_1.22.tar.gz
  to pool/main/p/preseed/preseed_1.22.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 400694@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Joey Hess <joeyh@debian.org> (supplier of updated preseed package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue, 28 Nov 2006 13:36:22 -0500
Source: preseed
Binary: env-preseed file-preseed initrd-preseed network-preseed preseed-common
Architecture: source all
Version: 1.22
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Joey Hess <joeyh@debian.org>
Description: 
 env-preseed - debconf preseeding via environment variables (udeb)
 file-preseed - load debconf preseed file (udeb)
 initrd-preseed - load debconf preseed file from /preseed.cfg on the initrd (udeb)
 network-preseed - download debconf preseed file (udeb)
 preseed-common - common files for preseeding (udeb)
Closes: 400694
Changes: 
 preseed (1.22) unstable; urgency=low
 .
   * Allow preseeding debconf values for the target system at the command
     line using an expanded syntax that includes the owner of the question:
     "owner:question=value"
     If this expanded syntax is not used, only d-i is preseeded.
     Closes: #400694
   * "tasks" is now an alias for "tasksel:tasksel/first", so it will
     actually work now.
 .
   [ Updated translations ]
   * Panjabi (pa.po) by A S Alam
Files: 
 44b0095061a7ae7c8e1dfd8030966208 727 debian-installer optional preseed_1.22.dsc
 fafbc159369d041a217019b82df5da83 39333 debian-installer optional preseed_1.22.tar.gz
 48b65854b06e3130d6ad77b313e63ed9 16296 debian-installer standard preseed-common_1.22_all.udeb
 407264399f9a4e0a9e62b699f00bc10a 3780 debian-installer standard network-preseed_1.22_all.udeb
 6bb1b5172104977b40a738c764b6536e 3462 debian-installer optional file-preseed_1.22_all.udeb
 f3df00c2f6c0b248bd1a03745f4aed93 832 debian-installer extra initrd-preseed_1.22_all.udeb
 c4b9a71d09af7c17aabc46fdf69d6d4d 1544 debian-installer extra env-preseed_1.22_all.udeb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFbIcH2tp5zXiKP0wRAm4VAJ0UvzjmEwUfUVgmPwX0t7vj6Ec4WACeJAmH
8YDhMVQgAbsb3n2qThEpmvs=
=zip4
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: