X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-xen-config.git/blobdiff_plain/d425409b9678c6ee518074cc7f4115c8622087b0..refs/heads/mitchb:/debian/changelog?ds=inline diff --git a/debian/changelog b/debian/changelog index f11d096..7d0c89b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,70 @@ +invirt-xen-config (0.0.60) unstable; urgency=low + + * Fix autoinstalls to work around a modern d-i bug + + Modern d-i (at least Debian Buster, and probably others) reads + /proc/consoles and adds entries to /etc/inittab to spawn a d-i + on each of them. With debconf/priority>=high (i.e. without + the menu showing, and with d-i autodriving through the items), + if there are multiple consoles, this results in the d-i's racing + to use /var/lib/dpkg/status to record what happens as they + run the postinst of each udeb, and as a result, menu items + fail and the autoinstall fails. See Debian Bug #944125. + + We only set console=hvc0, but for reasons unknown, tty0 also + appears in /proc/consoles despite not being in /proc/cmdline, + and we don't seem to have control over that. The script that + reads /proc/consoles is /sbin/reopen-console, which also + happens to be the main rc script on sysinit in /etc/inittab. + That script (through a chain of other scripts) is also what + runs preseed/early_command if it's set. + + Normally, preseed/early_command cannot run until way too late + to address this, because you don't have the preseed until several + tasks into the install by which point it will have failed. + However, if you get the quoting right, you can set it as a + boot argument and it will run before any of the menu items, + and in fact, before d-i has started. + + Because /sbin/reopen-console ultimately is what runs + preseed/early_command, when the command runs, it is too late + to use sed to edit reopen-console, and you can't kill it + because it runs the rest of the process. At the point where + preseed/early_command runs, reopen-console has already found + the consoles and added d-i jobs for each of them to /etc/inittab. + However, it doesn't send the HUP to init until just after the + scripts including preseed/early_command are run. + + Yank the tty0 job out from inittab just in the nick of time. + This should be safe for old distros because we have always + forced the desired console to hvc0; while the problem that + necessitates this kludge didn't exist in the past, removing + any inittab job for tty0 shouldn't have any noticeable effect + on them. + + -- Mitchell Berger Wed, 01 Jan 2020 03:43:00 -0500 + +invirt-xen-config (0.0.59) unstable; urgency=low + + * Fix the fact that we can't bump RAM quotas above 2048M + (and acknowledge the reality that 2048M really isn't the rarest + thing to need these days) + + Quoting from history: + + """ + invirt-xen-config (0.0.15) unstable; urgency=low + + * Set the max memory to a really high number so we can bump it for users + * Pass the correct networking device to vif-invirtroute + + -- Evan Broder Fri, 14 Nov 2008 00:03:47 -0500 + """ + + i,i "640K ought to be enough for anyone." + + -- Mitchell Berger Tue, 23 Jul 2019 18:50:00 -0400 + invirt-xen-config (0.0.58) unstable; urgency=low * Support kickstart-based Fedora autoinstalls.