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

Bug#805291: marked as done (preseed: Offer a way to override initrd-level preseeding with kernel command line preseeding)

Your message dated Sat, 09 Jan 2016 22:49:19 +0000
with message-id <E1aI2Jz-0000TF-28@franck.debian.org>
and subject line Bug#805291: fixed in preseed 1.69
has caused the Debian Bug report #805291,
regarding preseed: Offer a way to override initrd-level preseeding with kernel command line preseeding
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

805291: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=805291
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: preseed
Version: 1.68
Severity: wishlist
User: devel@kali.org
Usertags: origin-kali

In Kali, we rely on initrd preseeding to set a bunch of Debconf entries
because it's the only sane way to ensure that we have those during netboot

Unfortunately, it makes it very hard for end-users to change some of
those entries... editing initrd is not the best interface. It would
be very nice if there was a way to override such preseeding with the
(kernel) boot command line.

Right now env-preseed runs before initrd-preseed:
$ ls debian-installer-startup.d/
S30env-preseed  S35initrd-preseed  S60auto-install

I'm not sure what is the rationale for this order but if we don't want to
swap the order, then I would suggest that we introduce a new syntax that
let us do this operation.

I think inverting the order of both script would make a lot of sense. I
tried to find reasons not to but there is no intermediary script between
S30 and S35 and thus except for the precedence of preseeding, it has no
other impact AFAIK.

Otherwise if not possible I suggest "mirror/hostname!=http://my.mirror"; as
alternative syntax, somewhat mirroring the already existing ?= syntax
(with the exclamation mark conveying the notion of "forcing") but I'm
happy with any other syntax that you might prefer.

Phil & Cyril, please share your opinions/preference as I'll probably try
to implement this soonish.

I track this wishlist on the Kali side too:

And it's prompted by the fact that even though we set a mirror in the
initrd, it would be nice if users could pick other mirrors via the command
line. Example case where someone was bitten by this:

-- System Information:
Debian Release: stretch/sid
  APT prefers squeeze-lts
  APT policy: (500, 'squeeze-lts'), (500, 'oldoldstable'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

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

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.

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

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

Debian distribution maintenance software
Philip Hands <phil@hands.com> (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@ftp-master.debian.org)

Hash: SHA512

Format: 1.8
Date: Fri, 08 Jan 2016 19:49:20 +0100
Source: preseed
Binary: preseed-common network-preseed file-preseed initrd-preseed env-preseed
Architecture: source all
Version: 1.69
Distribution: unstable
Urgency: medium
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Philip Hands <phil@hands.com>
 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: 805291
 preseed (1.69) unstable; urgency=medium
   [ Raphaël Hertzog ]
   * Invert env-preseed and initrd-preseed so that the former overrides
     the latter. Closes: #805291
 898c340f77e43a159ad54f13ff2ed8eb17a49a9d 1883 preseed_1.69.dsc
 bd79e9d7b1869b7c8c24f4fa8bd6e89ebd72c88d 74412 preseed_1.69.tar.xz
 76628dd7ff5291ec85f64d4ee2025953ecee2d61 1764 env-preseed_1.69_all.udeb
 e60b44b9b3767171ff5c56059e941ed4d0af0c47 4168 file-preseed_1.69_all.udeb
 895611958dd30cfad7775a017fa139b34b11584c 888 initrd-preseed_1.69_all.udeb
 2d99fd263885a83af4e8b68d78319b00e5828745 30808 network-preseed_1.69_all.udeb
 182f006f755946c5cb0a7b2e9067378d6b20dca0 21612 preseed-common_1.69_all.udeb
 5bcd1fdd96540966ee936a8495708cffd14942ca3b1b61f20895ea7eca3989ac 1883 preseed_1.69.dsc
 22201d2daddb3fe607d363d959c67fd1783055bee3b1bdd98b05b91df78d694c 74412 preseed_1.69.tar.xz
 43346108bdd979b64c8cf769a66e63e8eef264fd6a8fce811199d548f5ceb326 1764 env-preseed_1.69_all.udeb
 2b93e05ebfef3b507cc41af72353eb2092915f8699292052a5a76f24c2096927 4168 file-preseed_1.69_all.udeb
 4cda70550f88ec1c8f43107138c0589d9a7b40d06fab9f259fdaf74716488650 888 initrd-preseed_1.69_all.udeb
 6b7f31aed2d019f119ddf2ba2ce513716ce1ce2ae9d7087bc56e6820280b13a6 30808 network-preseed_1.69_all.udeb
 1cf0db20fc6e6c5d95e9835eb47a3cb0d76c0f2dd7e0dadcb612db9266bc0b51 21612 preseed-common_1.69_all.udeb
 85de79df60ae5ca2daf2af2232c4479e 1883 debian-installer optional preseed_1.69.dsc
 62c818e177a79d72c344bda8d8a22282 74412 debian-installer optional preseed_1.69.tar.xz
 5cbbc32ee1f4200da216f1cb13527134 1764 debian-installer extra env-preseed_1.69_all.udeb
 f5e4509d1a691eded073675deaf2f6f6 4168 debian-installer optional file-preseed_1.69_all.udeb
 d7a47c471e3b6b72a311d61a987cdd9f 888 debian-installer extra initrd-preseed_1.69_all.udeb
 881deb772fb439cc6095c5af0ae007be 30808 debian-installer standard network-preseed_1.69_all.udeb
 6c94a3417e80aa5d41acf664af7fe022 21612 debian-installer standard preseed-common_1.69_all.udeb

Version: GnuPG v1


--- End Message ---

Reply to: