Your message dated Sun, 17 Jan 2021 17:21:52 +0000 with message-id <E1l1BkO-000Esd-7S@fasolo.debian.org> and subject line Bug#977466: fixed in rootskel 1.133 has caused the Debian Bug report #977466, regarding rootskel: bterm cannot start when requesting graphical console and serial console at the same time 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.) -- 977466: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977466 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Cc: debian-boot@lists.debian.org
- Subject: rootskel: bterm cannot start when requesting graphical console and serial console at the same time
- From: Wang Shanker <shankerwangmiao@gmail.com>
- Date: Tue, 15 Dec 2020 20:17:50 +0800
- Message-id: <061A97F2-DCD2-495E-9E3C-038C82B7D2E8@gmail.com>
Package: rootskel
Severity: important
Tags: patch d-i
Dear Maintainer,
When installing debian and requesting more than one console, bterm
cannot be correctedly started on the graphical console. This can be
reproduced using the image files provided at
https://deb.debian.org/debian/dists/buster/main/installer-amd64/current/images/netboot/debian-installer/amd64/
. The qemu commandline used is:
qemu-system-x86_64 \
-cpu kvm64 -machine pc,accel=kvm -smp cpus=2,cores=2,sockets=1 -m 1G \
-chardev stdio,mux=on,id=char0 -monitor chardev:char0 -serial chardev:char0 \
-vnc [address]:[port],reverse \
-kernel linux -initrd initrd.gz \
-append "console=ttyS0 console=tty0"
As can be seen on the monitor, there are ``black boxes" in the place of
non-ASCII characters.
The cause of the probem is in the `S70menu` script, where the font file
get deleted when bterm is not used. In `reopen-console-linux`, we
request to start one instance of debian-installer for each console in
the inittab. It is likely that the font file get deleted when the
instance for the serial console starts and thus the instance for the
graphical console meets the problem when it needs the font file.
The attached patch fixes this issue by removing the `rm` command in that
script.
Cheers,
Miao Wamg
*** rootskel/0001-Do-not-remove-the-font-when-btrem-is-not-started.patch
From d5fd0aaf0111ce3273558e54d7625c1ae590cec4 Mon Sep 17 00:00:00 2001
From: Miao Wang <shankerwangmiao@gmail.com>
Date: Tue, 15 Dec 2020 19:42:07 +0800
Subject: [PATCH] Do not remove the font when btrem is not started
---
src/lib/debian-installer.d/S70menu | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/lib/debian-installer.d/S70menu b/src/lib/debian-installer.d/S70menu
index 4f277fc..7e16733 100644
--- a/src/lib/debian-installer.d/S70menu
+++ b/src/lib/debian-installer.d/S70menu
@@ -10,7 +10,6 @@ if [ -x "$bterm" ] && [ -e "$font" ] && [ -n "$TERM_UTF8" ] && [ -n "$TERM_FRAME
EXIT=$?
set -e
else
- rm -f $font
if [ -x "$screen_bin" -a \( "$TERM_TYPE" = network -o "$TERM_TYPE" = serial \) -a "$TERM" != dumb ]; then
# there's GNU/screen binary, run menu in it.
# call this script again with in GNU/screen, possibly in UTF-8 mode
--
2.20.1
--- End Message ---
--- Begin Message ---
- To: 977466-close@bugs.debian.org
- Subject: Bug#977466: fixed in rootskel 1.133
- From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
- Date: Sun, 17 Jan 2021 17:21:52 +0000
- Message-id: <E1l1BkO-000Esd-7S@fasolo.debian.org>
- Reply-to: Steve McIntyre <93sam@debian.org>
Source: rootskel Source-Version: 1.133 Done: Steve McIntyre <93sam@debian.org> 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 attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 977466@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. 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) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Sun, 17 Jan 2021 16:56:01 +0000 Source: rootskel Architecture: source Version: 1.133 Distribution: unstable Urgency: medium Maintainer: Debian Install System Team <debian-boot@lists.debian.org> Changed-By: Steve McIntyre <93sam@debian.org> Closes: 977466 Changes: rootskel (1.133) unstable; urgency=medium . [ Alper Nebi Yasak ] * Use /dev/tty0 as a console even if it's not in /proc/consoles . [ Miao Wamg ] * Do not remove the font when bterm is not started (Closes: #977466). Checksums-Sha1: 42abf259e3f1b23ec9c2accdfb118a7a67411ed4 1729 rootskel_1.133.dsc a89ee772feb2dd0e7fd745a83a8605f3e8a6a45f 34700 rootskel_1.133.tar.xz 80e273ee46258a9367cc02de1e27ff5ea196a21e 5616 rootskel_1.133_source.buildinfo Checksums-Sha256: a05b96a72e2275902ae5185acaa3e41b12f936a7bc1b94b7aeb3d35ba2031d5e 1729 rootskel_1.133.dsc aeb974f992075106b627fdabcfb59f49b08d1ccae4f3e9fc68811e856c0fa39e 34700 rootskel_1.133.tar.xz feacd388516b009172dc0be3bb5542e76baf951ef7d99aa4dbcdde253914acba 5616 rootskel_1.133_source.buildinfo Files: e1b9ac33b47e76e18290f9fd5d769992 1729 debian-installer standard rootskel_1.133.dsc 64b0ae791dd913f0da610c09040adcff 34700 debian-installer standard rootskel_1.133.tar.xz 817b66f33ec0abf0f5f3fa3db14305a0 5616 debian-installer standard rootskel_1.133_source.buildinfo -----BEGIN PGP SIGNATURE----- iQJFBAEBCAAvFiEEzrtSMB1hfpEDkP4WWHl5VzRCaE4FAmAEbOsRHDkzc2FtQGRl Ymlhbi5vcmcACgkQWHl5VzRCaE4TWg//akoohF2ro2k0Nmv97SLmjGlTgHufttLl EC4eie1DCYCeSK8KBomqbMD15VSGUMlVkXtEs9NNfTQog9mf0rJAqm2mTEA852mO vCRn+oXVlAq7Nd15aopxmC9sHs/XL69ndAqcdd7EOEL5DWQt/N4o4DFsuGbPJMhn RitH39Sjk3/30d0NxuQITEt8Fu1z0TcTXPFtdCezLgze2vejlvdtXUPlwi3972mj UngtR1m0+KVVqz271z927lL2Ul71D2rpOyXqFp4Vek1q6SCuAesgPuZKJ+pS/Wkp VHd8Jq0W9Yw4lCnBVpXP+11M4nB2yHMJ1OpPShQm1Ym1eSeT3zAlCJx975wyEMwE zVB0MyYmMtnSrBPCLi+P/DrgaT3anYjDVZV+M1pPIKyo4WmgKxlDC4cAfGhTRT/k dTRdr4yjfHUZ33Mj/U9QVrYuVZ8ClDaUd/v9XWQjE8OmwK6fyD0iqAfkaz8H/Fac IO0PTo5RCuTogZhsMJuiptld6373AyD2cPPSj84bRRQb1QFjOayf34gd/EIbA/V7 77RgsbtJSL6k1q0QeALkT2cTOAdLm1oKMDrYyHyAUNKfF8hBBbpTN5FvnDfo0nYE iXCQNXZMbJx74jnNIE+MIqaTmhKIdQs78oeBAATMBO21gwMOlZDIUR87s6qYdXce EwY/nqqWm4g= =1vj6 -----END PGP SIGNATURE-----
--- End Message ---