Your message dated Tue, 15 Dec 2020 17:18:41 +0000 with message-id <E1kpDyD-000I5C-1o@fasolo.debian.org> and subject line Bug#977490: fixed in lowmem 1.48 has caused the Debian Bug report #977490, regarding lowmem: delete graphical terminal related files in lawmen state 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.) -- 977490: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977490 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: 977490-close@bugs.debian.org
- Subject: Bug#977490: fixed in lowmem 1.48
- From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
- Date: Tue, 15 Dec 2020 17:18:41 +0000
- Message-id: <E1kpDyD-000I5C-1o@fasolo.debian.org>
- Reply-to: Samuel Thibault <sthibault@debian.org>
Source: lowmem Source-Version: 1.48 Done: Samuel Thibault <sthibault@debian.org> We believe that the bug you reported is fixed in the latest version of lowmem, 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 977490@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Samuel Thibault <sthibault@debian.org> (supplier of updated lowmem 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: Tue, 15 Dec 2020 18:15:38 +0100 Source: lowmem Architecture: source Version: 1.48 Distribution: unstable Urgency: medium Maintainer: Debian Install System Team <debian-boot@lists.debian.org> Changed-By: Samuel Thibault <sthibault@debian.org> Closes: 870574 977490 Changes: lowmem (1.48) unstable; urgency=medium . * Team upload . [ Samuel Thibault ] * README: Mention to test Xen as well. . [ Vincent McIntyre ] * lowmem/main-menu.d/5lowmem: Rename to 05lowmem so that rescue actually overrides it (Closes: #870574) . [ Holger Wansing ] * Remove trailing whitespaces from changelog file, to fix lintian tag. . [ Miao Wang ] * Delete graphical terminal related files when mem is low (Closes: #977490) Checksums-Sha1: d705dd5afa9dc287644a1101eccd64930b21fb2d 1628 lowmem_1.48.dsc 3b5c85f8cd687a2c5da13596a480c57aa18651ed 11912 lowmem_1.48.tar.xz f5476857c75e1ac383549058b73ff97ef536ad78 7321 lowmem_1.48_source.buildinfo Checksums-Sha256: e152c010fd0667a1decd2e283fa85ba9f2b2208ee99610914ee5acd93f28161c 1628 lowmem_1.48.dsc 6a5d607d4e7055b7d4fd3fb9429c488612f012e1849134b619789e359d9def41 11912 lowmem_1.48.tar.xz 5a7db82670b23ebbef16bacf9eeec098466f860c6125e5295aed138da4d68a44 7321 lowmem_1.48_source.buildinfo Files: 437518b7dc91583fa5820937f37d5bf5 1628 debian-installer optional lowmem_1.48.dsc c32bac48df1ce1c9a84bc47b7ab083fe 11912 debian-installer optional lowmem_1.48.tar.xz d2c3a7118a2801c2dcdbf31ed42fb558 7321 debian-installer optional lowmem_1.48_source.buildinfo -----BEGIN PGP SIGNATURE----- iQJJBAEBCgAzFiEEqFdOpCKEaNBGO+sMcx+GxqxheY0FAl/Y72EVHHN0aGliYXVs dEBkZWJpYW4ub3JnAAoJEHMfhsasYXmN3REP/Rq7UhR1K2GMTpIKX8E0V8iTnDYq fKmcrDyD70ZH360fKx1a5MceOonwNoPRzTt+zDeKhQpGkBHUjZRZvirRiiBpEj/F bnWB7JPUy0/k6FiQ9blgwN4QKHX0Z+1KITIz6MvoJiDsCz5Y34bMJ4TWXTShq4XS audmr2LAAiEq3J+ae5Hkksr4pNSlYc+If/iv0583z7+/pghLla7LMn8TzSIOyRAf d0/3KQdrxWyTeog7mu/plknHjjyBBWRwEDQjaiC8MObb80vh/BywrlOsMN7t4uyA 5jR7cTmPSnUHUzyYd3EstgvZMUC1Wp7DS9X4sIjgn8VZ5PAVb9Uougwz3ujjgFFO SZ9LZe+PIXaC+ickVnTtd183KJdQOTuuaOmu8WthJf+vdWDbCgGnicI+V1PWsmQ2 OpLr6RSWMF7BHBtuwB8W1rHm3i0vOq9faAkoVIdFwbazU+C36xV6eGsAbkGVCNFm CUOzpt19uNh3/y+qyBbCA8py4F9qY0bAoc/03YVfyzYub/Mn4YAN/IBZ1Iaj4WN2 niP4oe2v22gcD3nl+EfL5yx8h6c+s/cu6MzwF5ECpZq+HgEmHAoSGXUMJW/SFR3d LmwcNASaQh0vk3WVm7SRIp7h8gIYJ4+8jdl2Jl9JjtEl2gxgDSmS9I1lq2ZrUGGp WN1JNFSMQZ/u5Vb1 =Wisd -----END PGP SIGNATURE-----
--- End Message ---