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

Bug#940028: marked as done (launching d-i on multiple consoles doesn't play well with preseeding)

Your message dated Mon, 23 Dec 2019 19:35:38 +0000
with message-id <E1ijTUQ-0001Kr-M3@fasolo.debian.org>
and subject line Bug#940028: fixed in rootskel 1.132
has caused the Debian Bug report #940028,
regarding launching d-i on multiple consoles doesn't play well with 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

940028: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=940028
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: rootskel
Version: 1.131
Severity: important

I like to create Xen domU virtual machines using debian-installer, with
preseeding for a no-questions-asked experience. This works well with stretch,
but when I try to use buster images (from debian/dists/buster/main/installer-amd64/current/images/netboot/xen/ in the public repository) I find that I am
being asked some questions (by localechooser) despite the preseeding. Moreover,
the exact questions asked vary from run to run even if I make no changes to
my setup. Occasionally I even get netcfg failures.

>From the installer log I see that two instances of debian-installer are being
run in parallel, one for each of the consoles hvc0 and tty0:

Sep 10 10:02:13 reopen-console: Looking at console hvc0 from /proc/consoles
Sep 10 10:02:13 reopen-console:    Adding hvc0 to consoles list
Sep 10 10:02:13 reopen-console:    hvc0 is preferred
Sep 10 10:02:13 reopen-console: Looking at console tty0 from /proc/consoles
Sep 10 10:02:13 reopen-console:    Adding tty0 to consoles list
Sep 10 10:02:13 reopen-console: Adding inittab entry for hvc0
Sep 10 10:02:13 reopen-console: Adding inittab entry for tty0
Sep 10 10:02:13 reopen-console: Restarting init to start d-i on the consoles we found
Sep 10 10:02:13 init: reloading /etc/inittab
Sep 10 10:02:13 init: starting pid 208, tty '/dev/tty4': '/usr/bin/tail -f /var/log/syslog'
Sep 10 10:02:13 init: starting pid 209, tty '/dev/hvc0': '/sbin/debian-installer'
Sep 10 10:02:13 init: starting pid 210, tty '/dev/tty0': '/sbin/debian-installer'

This seems to be new behaviour since stretch, introduced in version 1.128 of
package rootskel. I suspect that the two debian-installer instances are
racing each other. To confirm this, I unpacked initrd.gz, made a simple change
to sbin/reopen-console (adding inittab entries only for cons in $preferred
instead of for cons in $consoles), repacked, and run an installation again
with much better results (no more questions from localechooser).

I do appreciate that for interactive d-i use it's nice to have it show up on
all consoles; but not at the expense of breaking fully automated installation.

--- End Message ---
--- Begin Message ---
Source: rootskel
Source-Version: 1.132

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

Debian distribution maintenance software
Steve McIntyre <93sam@debian.org> (supplier of updated rootskel 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: Mon, 23 Dec 2019 19:06:44 +0000
Source: rootskel
Architecture: source
Version: 1.132
Distribution: unstable
Urgency: medium
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Steve McIntyre <93sam@debian.org>
Closes: 930970 932416 940028
 rootskel (1.132) unstable; urgency=medium
   [ Helmut Grohne ]
   * Fix FTCBFS: Make gcc substitutable. (Closes: #930970)
   [ Samuel Thibault ]
   * src/usr/lib/finish-install.d/06rootskel: Rename to 07rootskel to have
     users set up. Enable high-contrast theme when installation was made with the
     dark theme. Enable compiz ezoom features for accessibility.
   [ Dimitri John Ledkov ]
   * Specify fs_spec field in fstab-linux mount points. Some tools parse
     /proc/mounts and try to match on the spec field to find where sysfs is
     mounted (ie. dasdfmt on s390x). This makes d-i environment look more
     similar to the installed systems.
   [ Steve McIntyre ]
   * Tweak how multiple consoles are used. If we detect that we're
     trying to run using preseeding, do *not* run on multiple consoles
     in parallel as that causes race conditions and weird
     behaviour. Instead, just run on the "preferred" console.
     Closes: #940028, #932416
 37e770dfc4bc0c55084a162af279b179d23da758 1729 rootskel_1.132.dsc
 113f7624b064710436f498af375489028f5ff52a 34524 rootskel_1.132.tar.xz
 b2ef40ba77e95f55c8a975f1ec7a54886677732f 5471 rootskel_1.132_source.buildinfo
 245ded40322f9c2847b25bec7b3a00b0ecacbf5c4891d394c5641f718946d48d 1729 rootskel_1.132.dsc
 7a6f5469a779fb08a41226bbc0649833f22ad6875e9c55a6dd4198c5d8b5b5e6 34524 rootskel_1.132.tar.xz
 ca3256a0495cf369e3c8d4081d75b1ef001896e04e1c6b502df25d78ea75ddf5 5471 rootskel_1.132_source.buildinfo
 8d8b986139e93ca6181f1b8bc2a01b3b 1729 debian-installer standard rootskel_1.132.dsc
 608d6197ae681a9bf968530d2ad0f05c 34524 debian-installer standard rootskel_1.132.tar.xz
 7902a7250de6f04479561b8f435dee87 5471 debian-installer standard rootskel_1.132_source.buildinfo



--- End Message ---

Reply to: