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

Bug#762007: marked as done (Kernel command line handling change breaks d-i user-params functionality)

Your message dated Sat, 11 Oct 2014 07:03:46 +0000
with message-id <E1XcqiQ-0000zp-Bi@franck.debian.org>
and subject line Bug#762007: fixed in debian-installer-utils 1.109
has caused the Debian Bug report #762007,
regarding Kernel command line handling change breaks d-i user-params functionality
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

762007: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=762007
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: debian-installer-utils
X-Debbugs-CC: debian-kernel@lists.debian.org

(CCing debian-kernel just FYI, since I don't think this can/should be
fixed with a kernel change, likewise filing against
debian-installer-utils and not the kernel even though a kernel change
introduced the breakage)

A recent change to the kernel[0] (from v3.15 onwards) has changed the
way the kernel handles its command line, such that it now ignores
anything passed after a "--" marker. This has broken d-i's own use of
that marker which was to separate options intended for the installer
only (before the marker) from those which are intended to be both
consumed by the d-i kernel and propagated to the final installation
(after the marker, returned by the user-params utility).

It used to be that you could do:
        vmlinuz some/preseed=value -- console=ttyFOO
which would have the dual affect of having the kernel console (and hence
installer UI) run on ttyFOO and also, via grub-installer's use of
user-params, propagate the console=ttyFOO into the final grub config
(similarly for other bootloaders).

With the kernel change this no longer works -- the kernel doesn't put
its console on ttyFOO since it stops parsing at the --. So you get
silence on boot.

To get the old behaviour you need
        vmlinuz some/preseed=value console=ttyFOO -- console=ttyFOO
which is pretty tedious.

Just using
        vmlinuz some/preseed=value console=ttyFOO
doesn't propagate the console=ttyFOO to the installed system.

Since the kernel change was related to the "systemd abusing kernel
cmdline" debacle I'm not overly keen on raising this upstream and I
don't think that changing the kernel in a way which diverges from
upstream would not be the right approach here.

I don't know how widely used/documented/Supported this ability was, but
I thought e.g. the pxe and isolinux cfgs made use of it.

Not sure what we can do about this. Perhaps choose another separator
("=="?) and make user-params support both?


[0] https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=51e158c12aca3c9ac63988611a97c05109b14dc9

--- End Message ---
--- Begin Message ---
Source: debian-installer-utils
Source-Version: 1.109

We believe that the bug you reported is fixed in the latest version of
debian-installer-utils, 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 762007@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Christian Perrier <bubulle@debian.org> (supplier of updated debian-installer-utils 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: SHA256

Format: 1.8
Date: Sat, 11 Oct 2014 07:41:14 +0200
Source: debian-installer-utils
Binary: di-utils-shell di-utils-reboot di-utils-exit-installer di-utils di-utils-mapdevfs di-utils-terminfo
Architecture: source all i386
Version: 1.109
Distribution: unstable
Urgency: medium
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Christian Perrier <bubulle@debian.org>
 di-utils   - Miscellaneous utilities for the debian installer (udeb)
 di-utils-exit-installer - Exit installer (udeb)
 di-utils-mapdevfs - mapdevfs utility for the debian installer (udeb)
 di-utils-reboot - Reboot (udeb)
 di-utils-shell - Execute a shell (udeb)
 di-utils-terminfo - Terminfo entries needed by newt/slang in debian installer (udeb)
Closes: 762007
 debian-installer-utils (1.109) unstable; urgency=medium
   [ Ian Campbell ]
   * Accept "---" as user-params separator in addition to "--" (Closes: #762007)
 bcf0eb0abe3ee4cab88e4c02d523cf57cecc060d 2235 debian-installer-utils_1.109.dsc
 3f55019cd4da8755d622e0f7e97c2de2d9eda2e0 97164 debian-installer-utils_1.109.tar.xz
 a4270e966571f2621b0e15e4c1236ed336d3ce69 24924 di-utils-shell_1.109_all.udeb
 525fbf61cdd1d9cfd789b1cff4ef7781957f4179 10990 di-utils-reboot_1.109_all.udeb
 546f30e8cf6c22889db27d50a30b408ecdfc2a6f 2990 di-utils-exit-installer_1.109_all.udeb
 7646b1fdd851c0900f3cb3f6cb2060f94d7f7776 36506 di-utils_1.109_i386.udeb
 fac265f61494f27a5f47f3dad234999b63a1dfc1 2372 di-utils-mapdevfs_1.109_i386.udeb
 ea0148ff0752e0bbacfdf787abe18cc42a19d60c 2434 di-utils-terminfo_1.109_i386.udeb
 5658b099dabb1405600303f745a0d91a9cf727dc98b957b4a52e1af21f79d94d 2235 debian-installer-utils_1.109.dsc
 01a3b98292ac4d46bd5e7fafb96170fef43e26391d7698d0dc69de840567ca4e 97164 debian-installer-utils_1.109.tar.xz
 37c23472438c8a747ccbe7a44031aa75c3de3752095fdbf00559ea08ec79c43f 24924 di-utils-shell_1.109_all.udeb
 421316a3138fb82795d6ce1328b56a75163ee5fbaacfee6144f8ad1f3408a87e 10990 di-utils-reboot_1.109_all.udeb
 4750e1c9d0920ccabd42af34d401e62eedf7de7812f0f2e209a6844a7ab0b875 2990 di-utils-exit-installer_1.109_all.udeb
 aa7c5241ba720e4472eef3944cb98f8a1355be0f813638489ef013ee20fc065f 36506 di-utils_1.109_i386.udeb
 2cba426603b096044dfdefb778087af7b5484d4c035c35ea47d6210ed824f91f 2372 di-utils-mapdevfs_1.109_i386.udeb
 55e8ba79ba01faeaed7da8839d9bd1ac56aa0b79c465eb4ca4d92184a07c72ca 2434 di-utils-terminfo_1.109_i386.udeb
 103142ce0e58fef6807991747ca11d67 2235 debian-installer standard debian-installer-utils_1.109.dsc
 cff518a2f8ef42b14c9705407fd63402 97164 debian-installer standard debian-installer-utils_1.109.tar.xz
 875d01e154ef9e788d5ce0ea6fa22bdf 24924 debian-installer standard di-utils-shell_1.109_all.udeb
 b875f2b35ab46438d8ac240ad3ec6b85 10990 debian-installer standard di-utils-reboot_1.109_all.udeb
 807b514870e06ab99f0b650b99c792a0 2990 debian-installer extra di-utils-exit-installer_1.109_all.udeb
 a63d5d8d8a93853e60409402790e8abf 36506 debian-installer standard di-utils_1.109_i386.udeb
 021bdb9e8ad1a79aa4018bc722a00bdc 2372 debian-installer standard di-utils-mapdevfs_1.109_i386.udeb
 935ec96f5dc113ac408bd945deb44498 2434 debian-installer standard di-utils-terminfo_1.109_i386.udeb

Version: GnuPG v1.4.12 (GNU/Linux)


--- End Message ---

Reply to: