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

Bug#985853: marked as done (debian-installer: Whitespace before a commented line in preseed file causes line to be parsed)



Your message dated Fri, 04 Jun 2021 21:48:52 +0000
with message-id <E1lpHgS-000GYc-Vp@fasolo.debian.org>
and subject line Bug#985853: fixed in installation-guide 20210604
has caused the Debian Bug report #985853,
regarding debian-installer: Whitespace before a commented line in preseed file causes line to be parsed
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.)


-- 
985853: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=985853
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: debian-installer
Version: 20190702+deb10u8
Severity: important
Tags: d-i

In a preseed file I accidentally had a space before a comment character, which
caused my preseed to fail in unexpected ways. I could not find anythying that
stood out in the documentation (e.g.
https://www.debian.org/releases/buster/amd64/apbs04.en.html or
https://www.debian.org/releases/stable/amd64/apbs03.en.html) stating that this
would occur.

The specific example in my case looked like this:

#_preseed_V1
d-i debian-installer/locale string en_AU
d-i keyboard-configuration/xkb-keymap select us
d-i keymap select us
... etc ...
# Example of fetching a script to run
 #d-i preseed/run string http://10.1.2.3/my-script.sh


My install was hanging and when I entered a console and looked in the syslog,
it was attempting to access that script for which the IP address does not exist
on my network. I finally started to understand the problem when I did this, the
latter finally triggered a parse error in the installer console:

 #d-iWHATpreseed/run string http://10.1.2.3/my-script.sh


 #d-iWHATpreseed/runISstringHAPPENINGhttp://10.1.2.3/my-script.sh

at this point I saw the white space, removed it and the problem went away.

(I am also unsure whether "d-iWHAT" is also a bug or just some default applying
if the item owner is not found)

So I guess that either
- whitespace is disallowed before a comment character and this should be added
to https://www.debian.org/releases/stable/amd64/apbs03.en.html - it mentioned
whitespace between fields but not at the start of a line
- this is a bug



-- System Information:
Debian Release: bullseye/sid
  APT prefers focal-updates
  APT policy: (500, 'focal-updates'), (500, 'focal-security'), (500, 'focal')
Architecture: amd64 (x86_64)

Kernel: Linux 5.8.0-36-lowlatency (SMP w/8 CPU cores; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE= (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

--- End Message ---
--- Begin Message ---
Source: installation-guide
Source-Version: 20210604
Done: Samuel Thibault <sthibault@debian.org>

We believe that the bug you reported is fixed in the latest version of
installation-guide, which is due to be installed in the Debian FTP archive.

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 985853@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Samuel Thibault <sthibault@debian.org> (supplier of updated installation-guide 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@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 11 Apr 2021 22:02:59 +0200
Source: installation-guide
Binary: installation-guide-amd64 installation-guide-arm64 installation-guide-armel installation-guide-armhf installation-guide-i386 installation-guide-mips64el installation-guide-mipsel installation-guide-ppc64el installation-guide-s390x
Architecture: source all
Version: 20210604
Distribution: unstable
Urgency: medium
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Samuel Thibault <sthibault@debian.org>
Description:
 installation-guide-amd64 - Debian installation guide for amd64
 installation-guide-arm64 - Debian installation guide for arm64
 installation-guide-armel - Debian installation guide for armel
 installation-guide-armhf - Debian installation guide for armhf
 installation-guide-i386 - Debian installation guide for i386
 installation-guide-mips64el - Debian installation guide for mips64el
 installation-guide-mipsel - Debian installation guide for mipsel
 installation-guide-ppc64el - Debian installation guide for powerpc
 installation-guide-s390x - Debian installation guide for s390x
Closes: 985853 987701
Changes:
 installation-guide (20210604) unstable; urgency=medium
 .
   [ Charles Curley ]
   * preseed: Document comments syntax. Closes: #985853
 .
   [ Samuel Thibault ]
   * Add note about the lowmem parameter in the memory requirement section.
     Closes: #987701
   * Update lowmem levels for arm64, armhf, mipsel, mips64el.
 .
   [ Updated translations ]
   * Dutch by Frans Spiesschaert
   * German by Holger Wansing
Checksums-Sha1:
 9719c07a0baa8d1da584ae7bb2874c0549ee0091 2843 installation-guide_20210604.dsc
 1c9fe9caf036af1ea2646202dff86d6c80815afd 3750836 installation-guide_20210604.tar.xz
 64334ae83b4938592e4d7e3913ac9dfe5de86126 16734656 installation-guide-amd64_20210604_all.deb
 7cf2cfcb3df448a0310adc5706409e668ea576d2 15366164 installation-guide-arm64_20210604_all.deb
 8f2f2d4089406370b1782414efa6125d53001ec2 15017684 installation-guide-armel_20210604_all.deb
 39bd50b0899532a05a0601742f94cbe91a83e979 15426584 installation-guide-armhf_20210604_all.deb
 d2a4bb01a934ee41aae88a03a4cc08aa89bb8197 16786304 installation-guide-i386_20210604_all.deb
 d2693254307fcca61b9aea8ef2bee1cabb63adaa 14472880 installation-guide-mips64el_20210604_all.deb
 2d32dc3d686ad10c6586424bfebaa2feaae6849b 14485960 installation-guide-mipsel_20210604_all.deb
 ab2f9998c616023b8a636e751adb85d6d3de4606 14781720 installation-guide-ppc64el_20210604_all.deb
 adcab61b0c6d42ae08baba25ed57f7a5dd80d408 13324328 installation-guide-s390x_20210604_all.deb
 531a114119da79685dffc2dfccc90939e139b25e 14661 installation-guide_20210604_amd64.buildinfo
Checksums-Sha256:
 2422a428e11986cb699fd00d75316be656f29690e1f656761e34677320201791 2843 installation-guide_20210604.dsc
 24401bd762d993785dc422985837f82130ea7b63f9503ad1adc478f228f09d09 3750836 installation-guide_20210604.tar.xz
 5c31f4aa900929426d4515b9457318f8c446643e66a24b53346364402264dc40 16734656 installation-guide-amd64_20210604_all.deb
 ea89060c7da921b3dfb1c8033267e30968923d8bf5e26e42439af4f35adfc3b8 15366164 installation-guide-arm64_20210604_all.deb
 7d54c13c9fced91ac33a1f838ba35d702411fe5b98aa397629d8c93a6cd27646 15017684 installation-guide-armel_20210604_all.deb
 88f177bd7a23852efde954e7322c01055d126972c9d7ecb1de949f3949880fc1 15426584 installation-guide-armhf_20210604_all.deb
 e07f926426481a10c600cb2f4c5c9fbdd9e87ea5c600ac0962dd981823a32059 16786304 installation-guide-i386_20210604_all.deb
 f5f370068d846071cf9d569adc41b034ac0495ae2f6f9b17d1d10ee98450ef3e 14472880 installation-guide-mips64el_20210604_all.deb
 9b180f874d7b164e433307e77404f25a49fc636536655b309b4811c31054b1fa 14485960 installation-guide-mipsel_20210604_all.deb
 e1657fcc5ffdc5120a57dbea56119764c606728d0aaf0d55353d426732e4cd5f 14781720 installation-guide-ppc64el_20210604_all.deb
 593d97e3d44599813c5dabcee1d9756fc5cf087d84a1b37863cdb13c78b85f8d 13324328 installation-guide-s390x_20210604_all.deb
 efd9d4c2eef52fe247470e206bd090b4fef1e1ea2792f99a4ca1e91d14cc9d50 14661 installation-guide_20210604_amd64.buildinfo
Files:
 a4ac54f9a29a0fae07c30955370e521c 2843 doc optional installation-guide_20210604.dsc
 2c0f775e23c7f0b8f3b96911d3ddc4ed 3750836 doc optional installation-guide_20210604.tar.xz
 40138251a3e05054933d4f6865ca37cb 16734656 doc optional installation-guide-amd64_20210604_all.deb
 0c8be945005be786accbfbbdb0ebb6ed 15366164 doc optional installation-guide-arm64_20210604_all.deb
 8c2ee57e81d2c39131fc59003866a0a2 15017684 doc optional installation-guide-armel_20210604_all.deb
 97794844c89c54edab2f3d0152bd2fc8 15426584 doc optional installation-guide-armhf_20210604_all.deb
 6bdc575a13fea1c0cca72231cd57a7da 16786304 doc optional installation-guide-i386_20210604_all.deb
 2f3baa04b7b131dab23b6b1a5b61f681 14472880 doc optional installation-guide-mips64el_20210604_all.deb
 6088bda07e9d66f5e2eafca65516ac5b 14485960 doc optional installation-guide-mipsel_20210604_all.deb
 eac71214889e1b283cb110cdcd6e2211 14781720 doc optional installation-guide-ppc64el_20210604_all.deb
 79e7ae4fd72a32d31827790ef0925218 13324328 doc optional installation-guide-s390x_20210604_all.deb
 26eb352ad29641e32553a50137e5d5b4 14661 doc optional installation-guide_20210604_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEqFdOpCKEaNBGO+sMcx+GxqxheY0FAmC6m/0ACgkQcx+Gxqxh
eY2Lqg/+MBkiljYELEomhrjyA4QrENAgwvDYjRNfJc5jNgrrW6c+GAlPEJZd/6PO
S3tEWp4JbkVBgyYPovAq93+04asiAzRFX9VINSNoDrg7xQAjsji77Ztn3vyc0Ueb
D69XkJ9EouEmZ5ZJvCnCVAY0LhRN2fjqPL1+NbbBhO3Wv3XTk3/VfEeEObEZ7mzm
NXBwvz04bJcTWPSC5ZD5al5ptXR7r5aKZQC1hv/nCSJSe4YFafQsBwTxUmyvmCpg
4lJK/4X2LfexhSfm9sXuAPZ9ZAF2+CzzisfKQqTZtNNtTY7lpKYfpQM0OIYs7frm
ze+cF9zaxcFxndI6LEjCo4DIWEs64nmi1/5RxNEt5d5Uk0IsFGY++I+kPFHtwZiU
zXRBKwwcDGKdaROV8xfXUhHwKNbplzM3g0yKyELc0i8e+sG7eyiSK64ebie1Xteo
3wiyp7U5JZLsnQA+yoqMav3u4wCB6wO1nWDJETkbSUxW63n6YvdYMG6W7EctbrtT
f+KqU0/66nmwzrnyUbiUPhOXilD9W2OQzPd7KZocDwdf/dY0VZBRJLUaIrygOj1f
YHd2QBHB7HlrCDgFVDsGpadscmitB67WtiXaQFvoTEKm01fXwnDar2zL7OMdekwJ
UR68vAeWvv+J6gXPAqntRQmeyrQT+tlwTfv/Eb6DRp+bItyqIEY=
=fgdS
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: