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

Bug#226200: marked as done (base-config: Completely unreadable messages)



Your message dated Thu, 05 Feb 2004 15:32:06 -0500
with message-id <E1AoqAQ-0002B1-00@newraff.debian.org>
and subject line Bug#226200: fixed in base-config 2.09
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 5 Jan 2004 03:44:04 +0000
>From kmuto@debian.org Sun Jan 04 21:43:31 2004
Return-path: <kmuto@debian.org>
Received: from orochi.topstudio.co.jp (mail.topstudio.co.jp) [202.224.239.193] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AdJDR-0001jh-00; Sun, 04 Jan 2004 19:07:34 -0600
Received: from localhost (localhost [127.0.0.1])
	by mail.topstudio.co.jp (Postfix) with ESMTP id 50A05223076
	for <submit@bugs.debian.org>; Mon,  5 Jan 2004 10:07:29 +0900 (JST)
Received: from mail.topstudio.co.jp ([127.0.0.1])
	by localhost (hydra [127.0.0.1]) (amavisd-new, port 10024) with ESMTP
	id 29929-02 for <submit@bugs.debian.org>;
	Mon, 5 Jan 2004 10:07:29 +0900 (JST)
Received: from hellhound (orochi.topstudio.co.jp [202.224.239.193])
	by mail.topstudio.co.jp (Postfix) with ESMTP id F19BE223025
	for <submit@bugs.debian.org>; Mon,  5 Jan 2004 10:07:28 +0900 (JST)
Received: by hellhound (Postfix, from userid 1000)
	id 8B8242140A9; Mon,  5 Jan 2004 10:07:28 +0900 (JST)
From: Kenshi Muto <kmuto@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: base-config: Completely unreadable messages
X-Debbugs-CC: Kenshi Muto <kmuto@debian.org>
User-Agent: SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 MULE XEmacs/21.4 (patch 14) (Reasonable Discussion) (i386-debian-linux)
MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")
Content-Type: multipart/signed;
 boundary="pgp-sign-Multipart_Mon_Jan__5_10:07:24_2004-1"; micalg=pgp-sha1;
 protocol="application/pgp-signature"
Content-Transfer-Encoding: 7bit
Message-Id: <20040105010728.8B8242140A9@hellhound>
Date: Mon,  5 Jan 2004 10:07:28 +0900 (JST)
X-Virus-Scanned: by amavisd-new-20030616-p5 (Debian) at topstudio.co.jp
X-BadReturnPath: kmuto@hellhound.kmuto.org rewritten as kmuto@debian.org
  using "From" header
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 
	2.60-master.debian.org_2003_11_25-bugs.debian.org_2004_1_3 
	(1.212-2003-09-23-exp) on master.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=HAS_PACKAGE,X_DEBBUGS_CC 
	autolearn=no 
	version=2.60-master.debian.org_2003_11_25-bugs.debian.org_2004_1_3
X-Spam-Level: 

--pgp-sign-Multipart_Mon_Jan__5_10:07:24_2004-1
Content-Type: text/plain; charset=US-ASCII

Package: base-config
Version: 2.08
Severity: important
Tags: patch

I've already sent a patch to debian-boot, but alioth continues down.
This bug report for recording.

This bug is critical rather than important, but I record this as
important first.

Current base-config is unusable for Japanese, Korean, Chinese, Russian
or any other who uses special terminal.

Second stage will fill screen with unreadable glyph. Bad. This is
caused by two factor.

A. 2nd stage doesn't provide Framebuffer and terminal check routine is
   corrupted, so special terminal (I recommend jfbterm) can't be used.
B. Moreover base-config don't do language fall back to English for
   them, so unreadable glyph comes (it means symbol or control
   characters are used. Of course this is unreadable and unmeaningful).

This patch fixes:
1. unset_lang_language unset LANG and LANGUAGES, but need to unset
   LC_ALL (and maybe ENCODING) also.
2. prebaseconfig.udeb removed for inserting FB module. As Pere said,
   base-config should cover it only if LANG needs (try_load_fb).
3. WRAPPER check routine is broken. New variable, WRAPPER_OPTION is
   needed (Bug#225865).
4. When WRAPPER goes fail, LANGs which use special terminal should
   unset its LANG (fall back to English).
5. Fix typo (small, but very critical) in jfbterm launch routine of
   Japanese.

--- termwrap.old	2003-12-19 05:01:52.000000000 +0900
+++ termwrap	2004-01-02 19:33:24.000000000 +0900
@@ -66,6 +66,8 @@
 	if [ "$LANG" ] ; then
 		warning "Disabling unsupported locale '$LANG'."
 		unset LANG
+		unset LC_ALL
+		unset ENCODING
 	fi
 	if [ "$LANGUAGE" ] ; then
 		warning "Disabling unsupported language list '$LANGUAGE'."
@@ -92,6 +94,11 @@
 	esac
 }
 
+try_load_fb() {
+	# Load framebuffer module
+	modprobe -q vesafb || modprobe -q vga16fb || true
+}
+
 ######################################################################
 ##	Generate the locale data files if missing
 ######################################################################
@@ -217,6 +224,7 @@
 ##	Select suitable terminal as wrapper.
 ######################################################################
 WRAPPER=""
+WRAPPER_OPTION=""
 
 # For this to work, the current locale must be valid.  The block
 # generating the locale should have taken care of that.  If it isn't
@@ -246,19 +254,58 @@
 	case $TERMINAL in
 	x)
 		#WRAPPER="/usr/X11R6/bin/kterm -e"
-		WRAPPER="/usr/X11R6/bin/krxvt -e"
+		WRAPPER="/usr/X11R6/bin/krxvt"
+		WRAPPER_OPTION="-e"
 		;;
 	console)
 		if [ "$SUBARCH" != pc9800 -a "$TERMINAL" = console ]; then
 			# Any platform except PC9800 require jfbterm
 			# to display japanese fonts on console.
-			WRAPPER="/usr/bin/jfbterm -c other,EUC-JP,iconv.UTF-8 -e"
+			try_load_fb
+			WRAPPER="/usr/bin/jfbterm"
+			WRAPPER_OPTION="-q -c other,EUC-JP,iconv,UTF-8 -e"
 		fi
 		;;
 	# On pseudo and serial, we can't tell
 	# if the terminal can display japanese fonts...
 	esac
 	;;
+eucKR|euc-KR)
+	case $TERMINAL in
+	console)
+		try_load_fb
+		WRAPPER="/usr/bin/jfbterm"
+		WRAPPER_OPTION="-q -c other,EUC-KR,iconv,UTF-8 -e"
+		;;
+	esac
+	;;
+zh_CN|GB2312)
+	case $TERMINAL in
+	console)
+		try_load_fb
+		WRAPPER="/usr/bin/jfbterm"
+		WRAPPER_OPTION="-q -c other,GB2312,iconv,UTF-8 -e"
+		;;
+	esac
+	;;
+zh_TW|BIG5)
+	case $TERMINAL in
+	console)
+		try_load_fb
+		WRAPPER="/usr/bin/jfbterm"
+		WRAPPER_OPTION="-q -c other,BIG5,iconv,UTF-8 -e"
+		;;
+	esac
+	;;
+KOI8-R)
+	case $TERMINAL in
+	console)
+		try_load_fb
+		WRAPPER="/usr/bin/jfbterm"
+		WRAPPER_OPTION="-q -c other,KOI8-R,iconv,UTF-8 -e"
+		;;
+	esac
+	;;
 UTF-8)
 	# Enable UTF-8 in console
 	if [ "$TERMINAL" = console ] ; then
@@ -284,7 +331,17 @@
 ##	Execute Wrapper.
 ######################################################################
 if [ ! -z "$WRAPPER" -a -x "$WRAPPER" ]; then
-	$WRAPPER /bin/true && exec $WRAPPER $@
+	$WRAPPER $WRAPPER_OPTION /bin/true && exec $WRAPPER $WRAPPER_OPTION $@
+	
+	case $ENCODING in
+	eucJP|EUC-JP|ujis|EUC-KR|zh_CN|zh_TW|KOI8-R)
+		# Unset LANG
+		unset_lang_language
+		;;
+	*)
+		# Nothing to do
+		;;
+	esac
 fi
 
 $@
@@ -305,7 +362,7 @@
 	# Unload ISO-8859-15 charset mapping, by loading ISO-8859-1 instead
 	try_load_charset "$ENCODING" iso01
 	;;
-eucJP|EUC-JP|ujis)
+eucJP|EUC-JP|ujis|EUC-KR|zh_CN|zh_TW|KOI8-R)
 	# Nothing to do, using wrapper
 	error "Should never end up here when using '$ENCODING'"
 	;;

--pgp-sign-Multipart_Mon_Jan__5_10:07:24_2004-1
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iEYEABECAAYFAj/4uNAACgkQQKW+7XLQPLFypgCdFne2mYEvyYELSOw1YnvRsoY8
R3wAn0QzkYZb2YSBNELtbMlQzsfcyZWU
=5mAS
-----END PGP SIGNATURE-----

--pgp-sign-Multipart_Mon_Jan__5_10:07:24_2004-1--

---------------------------------------
Received: (at 226200-close) by bugs.debian.org; 5 Feb 2004 20:35:41 +0000
>From katie@ftp-master.debian.org Thu Feb 05 12:35:41 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AoqDt-0006aS-00; Thu, 05 Feb 2004 12:35:41 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1AoqAQ-0002B1-00; Thu, 05 Feb 2004 15:32:06 -0500
From: Joey Hess <joeyh@debian.org>
To: 226200-close@bugs.debian.org
X-Katie: $Revision: 1.43 $
Subject: Bug#226200: fixed in base-config 2.09
Message-Id: <E1AoqAQ-0002B1-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Thu, 05 Feb 2004 15:32:06 -0500
Delivered-To: 226200-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_02_01 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-2.8 required=4.0 tests=HAS_BUG_NUMBER,
	REMOVE_REMOVAL_NEAR autolearn=no 
	version=2.60-bugs.debian.org_2004_02_01
X-Spam-Level: 

Source: base-config
Source-Version: 2.09

We believe that the bug you reported is fixed in the latest version of
base-config, which is due to be installed in the Debian FTP archive:

base-config_2.09.dsc
  to pool/main/b/base-config/base-config_2.09.dsc
base-config_2.09.tar.gz
  to pool/main/b/base-config/base-config_2.09.tar.gz
base-config_2.09_all.deb
  to pool/main/b/base-config/base-config_2.09_all.deb



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 226200@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Joey Hess <joeyh@debian.org> (supplier of updated base-config 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@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu,  5 Feb 2004 14:38:10 -0500
Source: base-config
Binary: base-config
Architecture: source all
Version: 2.09
Distribution: unstable
Urgency: high
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Joey Hess <joeyh@debian.org>
Description: 
 base-config - Debian base system configurator
Closes: 220477 225865 225870 226200 226344
Changes: 
 base-config (2.09) unstable; urgency=HIGH
 .
   * Kenshi Muto
     - Run jfbterm when language is non-latin/Russian.
       And when jfbterm failed, termwrap fallbacks to C. (closes: Bug#226200)
     - Add WRAPPER_OPTION (closes: Bug#225865)
     - Apply validlocale patch for support codeset style. (closes: Bug#225870)
       Thanks Mutsumi.
   * Joey Hess
     - Fix apt-setup return code if add another source question is not
       displayed.
     - List the number of available packages in apt-setup/another.
     - Use ngettext to allow for appropriate translation of the "packages"
       string.
     - Removed the last remnants of non-us support in apt-setup.
     - Remove the remainders of support for the old dbootstrap_settings file.
       Note that all the translated man pages are not badly out of date.
   * Denis Barbier
     - Switch to using gettext instead of $"" in shell scripts, and
       use xgettext -L Shell.
     - Better use of ngettext.
   * Joey Hess
     - Build-depend on gettext version 0.13.
     - Fix signular form of the ngettexted string.
     - The removal of $"" should remove the only bashism, so convert scripts
       over to /bin/sh.
     - Update copyright file.
     - Add a -c switch to tzsetup. With this switch, it will use the
       country code passed in to construct a list of likely time
       zones, and prompt accordingly.
     - Call tzsetup this way, using debian-installer/country.
       Closes: #226344
     - Use .tst files to control whether items appear on the menu.
     - Use this for keyboard, ppp, and mta setup, to avoid displaying
       those items on the menu if they will not actually do anything.
     - Add Changes-Menu field to .mnu files that forces a menu rebuild.
       This is necessary to handle mta's menutest properly.
     - US and Canada have so many screwed up time zones in zone.tab that
       it's better to have hand-written templates for their more common time
       zones. Similar templates can be added for other countries at need.
     - Also added hand-written template for Brazil.
     - Add debian-installer/language to the db, so things like
       dictionaries-common can use it.
     - Export TMPDIR.
     - Add dep on gettext-base.
     - mirror/distribution has been renamed to mirror/suite in d-i, follow
       .. er .. suite.
     - To prevent breaking beta2 too badly, set the default suite to
       testing. Unstable d-i will always override this, so it's safe to do.
     - Urgency set to high; this needs to get into testing to be tested..
   * Christian Perrier
     - Rewrite templates to save work to translators by splitting up
       a paragraph. Deeply sorry to translators who already updated their
       files.
   * Petter Reinholdtsen
     - Correct typo, ISO-8895-15 -> ISO-8859-15.
 .
   * Updated translations:
     - Bartosz Fenski
       - Updated Polish (pl) translation.
     - Giuseppe Sacco
       - Updated italian translation (it.po)
       - changed all string when selectin tasksel/dselect/...
         in order to fit the screen.
     - Kenshi Muto
       - Update Japanese translation (ja.po)
     - Bart Cornelis
       - Updated Dutch translation (debian/po/nl.po)
       - fixs translation-bugs found by Bastiaan van Eeckhoudt
         Closes: #220477
     - Ognyan Kulev
       - Updated bulgarian translation (debian/po/bg.po).
     - Claus Hindsgaul
       - Update Danish translation (da.po).
     - Dennis Stampfer
       - Updated German translation (de.po).
       - Updated German translation (debian/po/de.po).
     - André Luís Lopes
       - Updated Brazilian Portuguese (pt_BR) translation.
     - Miroslav Kure
       - Update Czech translation
     - Peter Mann
       - Update Slovak translation
     - Nikolai Prokoschenko
       - Updated russian translation
     - Anmar Oueja
       - created and translated to Arabic (ar.po)
     - Tapio Lehtonen, Tommi Vainikainen
       - Updated Finnish translation (fi.po).
     - Teófilo Ruiz Suárez
       - Updated Spanish translation (po/es.po)
     - Jordi Mallach
       - Updated Catalan translation (debian/po/ca.po).
       - Added Catalan translation (po/ca.po).
     - Carlos Z.F. Liu
       - Updated Chinese translations (po/zh_CN.po and debian/po/zh_CN.po)
     - Christian Perrier
       - Updated French translations (debian/po/fr.po and po/fr.po)
     - Konstantinos Margaritis
       - Updated Greek translations (timezones update)
     - Safir Secerovic
       - Update Bosnian translation (debian/po/bs.po)
       - Add po/bs.po
     - Miguel Figueiredo
       - Updated pt.po
     - Andre Dahlqvist
       - Update Swedish translation (po/sv.po)
     - KÄ?stutis BiliÅ«nas
       - Updated Lithuanian translations (debian/po/lt.po and po/lt.po)
     - Petter Reinholdtsen
       - Updated Norwegian Bokmål debconf translation (debian/po/no.po).
Files: 
 4cdd13e4d718a5725d152eeb63421ff5 638 base optional base-config_2.09.dsc
 8f8d550f339b33ef1c23b60de67fb868 299170 base optional base-config_2.09.tar.gz
 f03bd92d4d8257540cf937588922f385 233110 base optional base-config_2.09_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAIpww2tp5zXiKP0wRAjpaAJ4qVvFdxFzV680Ym65DDaW4xh7wHgCggRoJ
YKH6OeEBp9BZXom0Lrz0iAk=
=Cd3l
-----END PGP SIGNATURE-----



Reply to: