[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
immediately.)


-- 
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
too.

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:
https://bugs.kali.org/view.php?id=2143

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:
https://www.linuxquestions.org/questions/debian-26/kernel-preseed-argument-vs-preseed-cfg-doesn%27t-work-4175534979/

-- 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
attached.

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
pp.
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)


-----BEGIN PGP SIGNED MESSAGE-----
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>
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: 805291
Changes:
 preseed (1.69) unstable; urgency=medium
 .
   [ Raphaël Hertzog ]
   * Invert env-preseed and initrd-preseed so that the former overrides
     the latter. Closes: #805291
Checksums-Sha1:
 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
Checksums-Sha256:
 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
Files:
 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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJWkUTRAAoJENBLo6ABJdXA+xIQAMjo6B/kQgsgJd9JO/OP4l5T
kE9XIzb+/Qaqw3TRUHRzzVpCGwQJDuxaddM/bXbbq7KRxkk7MS6tXXq2TlgbP8iK
Ny2UG/k+qY/pUC7kB+F1YaqUgn9LIfvavlmA+Hta5yxrZ63N+XSBizNJa29yhSE/
VRt41s6cNXwe3shY8rN8girH8TYheMvIy07QZ/02vWEPCy3WSbRvMW/PriqbEWo3
co7CcZpIgcrZNBksLwLIYD/qv6bd3ELxLV5Ag8YTTf3faEG+FlYaF/2/HeivhOJ9
sZJpG5wbWKhoO7XPnIqBVp4W2BGhFC9KO0K0NK9Y8henX0PENeJLVsVlDy2+Zlc+
E46CJ7tJarWftbGipOF5lxBydhFIba36OFcyW/vgVvuof6ubVcL9jPqUH/Ju0+Lz
a+ZFHPeSmR7FYfUgDLYlxjGYRdppJbdwjNVZz948/aUWtHgFv3yiKrPy3h3jr/K4
nLcFQn/3YKFQ6j2ECRuPWt0sExKnTX6CGEBuLDe+WA0g8on5lam9yoRAEqeVxtF5
v9GwDUnjf6YldaTmVvN0raCB3kSLqYtkzU1mQJc4D0jMEwBNGyAZQTKS/rstGjkl
g25kCf2nCClLZ/TuyYXni0G68fr/pt1tbitwgleWaCf/uIkkhlPw+23+8KoaeD2o
l2GmGB9cnh7iMA3hheyV
=XOQE
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: