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

Bug#502850: marked as done (debian-installer: D-I fails to process some correct (!) preseed files)



Your message dated Fri, 24 Oct 2008 18:02:02 +0000
with message-id <E1KtQz4-0008TG-OY@ries.debian.org>
and subject line Bug#502850: fixed in preseed 1.41
has caused the Debian Bug report #502850,
regarding debian-installer: D-I fails to process some correct (!) preseed files
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
502850: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=502850
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: debian-installer
Version: D-I daily build October 19, 2008
Severity: normal


Hi all,

With some (correct) preseed files, Debian Installer fails at the
"Download debconf preconfiguration file" step, with the message:

"Failed to process the preconfiguration file
The installer failed to process the preconfiguration file from
http://x.x.x.x/d-i/preseed/xxxxxx.di. The file may be corrupt."

debconf-set-selections -c xxxxxx.di does not give any output, so that
seems alright.

I can work around this problem by adding a couple of extra packages to
pkgsel/include in the preseed file. Suddenly the preseed file doesn't
break Debian Installer! That proves even more that the original preseed
file was okay. The diff is, of course, not more than the extra package
definitions.

Tested with VMware Server, real hardware and architecture amd64.

And now the most interesting observation: using the same preseed file,
the one that breaks, for i386... no error message anymore! So this
problem seems to be architecture-dependent.

I have had this problem for a couple of months, since at least Lenny
beta 2. With the latest daily build (October 19), this is still the
case, so I thought to share my experiences.

The problem is easily reproducible with a specially crafted preseed
file. Creating such a file is not easy, so I'll provide you one
(bad.di). I also added one with the above described work-around
(good.di).

bad.di  : http://krnl.nl/bad.di
good.di : http://krnl.nl/good.di

The diff is:

$ diff bad.di good.di
160a161
>                                         mysql-client             \

If you try to install these preseed files on amd64, bad.di will break
D-I at the "Download debconf preconfiguration file" step and good.di
will probably break later when it tries to retrieve archive information,
because the network configuration won't work in all environments. For
i386, D-I will break on retrieving archive information for both bad.di
and good.di.

Posting this bug in debian-installer, because I'm not sure which
specific package this should go. Feel free to move it.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



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

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.41_all.udeb
  to pool/main/p/preseed/env-preseed_1.41_all.udeb
file-preseed_1.41_all.udeb
  to pool/main/p/preseed/file-preseed_1.41_all.udeb
initrd-preseed_1.41_all.udeb
  to pool/main/p/preseed/initrd-preseed_1.41_all.udeb
network-preseed_1.41_all.udeb
  to pool/main/p/preseed/network-preseed_1.41_all.udeb
preseed-common_1.41_all.udeb
  to pool/main/p/preseed/preseed-common_1.41_all.udeb
preseed_1.41.dsc
  to pool/main/p/preseed/preseed_1.41.dsc
preseed_1.41.tar.gz
  to pool/main/p/preseed/preseed_1.41.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 502850@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Frans Pop <fjp@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.8
Date: Fri, 24 Oct 2008 19:44:00 +0200
Source: preseed
Binary: preseed-common network-preseed file-preseed initrd-preseed env-preseed
Architecture: source all
Version: 1.41
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Frans Pop <fjp@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: 502850
Changes: 
 preseed (1.41) unstable; urgency=low
 .
   * Improvements to debconf-set-selections.
     - Use sed and grep instead of shell parameter expansion as the former are
       more robust. Closes: #502850.
     - Remove any leading whitespace from lines and replace trailing whitespace
       from continued lines.
     - Add sanity checks for syntax errors in preconfiguration files.
Checksums-Sha1: 
 db1b7bfeb8347ba277be5fe3e9f116c881b9c854 931 preseed_1.41.dsc
 88b9b4c959eeeea2e92dc82a8a8bc80542668861 44659 preseed_1.41.tar.gz
 c3cca4804452abd0380d47ca33125019459e427f 18082 preseed-common_1.41_all.udeb
 40c6152843b9081be82c4d116bde3a3f7ee8fd4f 4058 network-preseed_1.41_all.udeb
 d324f8b8d33b60244f788bc2234184e2a3cfd50b 3518 file-preseed_1.41_all.udeb
 3f5db40b3b921fc7d07da9cf4d9f70e6a26f541e 830 initrd-preseed_1.41_all.udeb
 c5edbf13d02e71c6a45be519f23e124a2d5744d9 1662 env-preseed_1.41_all.udeb
Checksums-Sha256: 
 20583b2a630109971fd0169fee4f0cdbaed365bdebc708114cdeb0c8e656b465 931 preseed_1.41.dsc
 e0f0765959a8e8a79d141458cb5bf3eca62bb2749600c63bf048447d17b59279 44659 preseed_1.41.tar.gz
 077e22d1862f91120394c5f2ff7cba256f1dfeb7d6aa91bb04340ccd47573036 18082 preseed-common_1.41_all.udeb
 f29090b886559df0e38b1496b5e3bdeef46ed964b91dceb71a68dad28829a72a 4058 network-preseed_1.41_all.udeb
 5fbe048a3ab8a070e9655405cf7f9a46b3d404c0d1529383ca510cebd3cdff6f 3518 file-preseed_1.41_all.udeb
 b36301ab300ed1198c41e4cfb888d324b8d27b5c5808da1eacb0a456e64b7d94 830 initrd-preseed_1.41_all.udeb
 3d79aa511d5d96b6ee1b8ce4401daa487670cb70dfee545bdc3e71b952feb1b1 1662 env-preseed_1.41_all.udeb
Files: 
 7c58ef9fc66f0274e360a59a05ab9d46 931 debian-installer optional preseed_1.41.dsc
 86723934535171ffee88e162c1f9c619 44659 debian-installer optional preseed_1.41.tar.gz
 0d5f86cf5e972a5826687b3cb1ccb22a 18082 debian-installer standard preseed-common_1.41_all.udeb
 7ddc1d0bcd8cae80c0c2b9aa73ae4e45 4058 debian-installer standard network-preseed_1.41_all.udeb
 3c812f5b2d50dbd8289a5deb1d08edfe 3518 debian-installer optional file-preseed_1.41_all.udeb
 ae861dffa4545d0bd008859c7a391990 830 debian-installer extra initrd-preseed_1.41_all.udeb
 fc4c3ddf349c7b6d8ddb8e2504abc7ca 1662 debian-installer extra env-preseed_1.41_all.udeb
Package-Type: udeb

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

iEYEARECAAYFAkkCCZUACgkQgm/Kwh6ICoTmLgCfVOmVUt2qarnL/05xDoZaCEyb
hGUAoKG3WjXmKIx5vowh7aOdLWQkapar
=vVQB
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: