Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 4 product line. The current stable release is 4.9. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 189386

Summary: Chinese locale set incorrectly by system-config-language
Product: Red Hat Enterprise Linux 4 Reporter: Charles Rose <charles_rose>
Component: system-config-languageAssignee: Paul Nasrat <nobody+pnasrat>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 4.0CC: pgraner, tao, wwlinuxengineering
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2006-0737 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-11-22 13:57:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 208407    

Description Charles Rose 2006-04-19 16:53:41 UTC
(From Issue Tracker 91839)
Description of problem:
When Chinese (Simplified) is selected as one among multiple locales during
install, and set as the default locale, anaconda sets up /etc/sysconfig/i18n
correctly with the LANG variable set to "zh_CN.UTF-8".

When we use system-config-language to change the default locale to any other
language and back to Chinese (Simplified), it sets the LANG variable to
"zh_CN.GB18030" instead of "zh_CN.UTF-8" (which is the correct locale as
mentioned by the RHEL4 Release Notes). This causes garbled characters to be
displayed while in the Simplified Chinese locale when the GUI is redirected via
Dell's new Remote Access Card.

Version-Release number of selected component (if applicable):
system-config-language-1.1.8-1

How reproducible:
Always

Steps to Reproduce:
1. Install RHEL4 Update3 with Simplified Chinese as one of the locales. Set it
as the default locale
2. Postinstall, check /etc/sysconfig/i18n ; LANG=zh_CN.UTF-8
3. run system-config-language to change the default locale to some other
language and back to simplified chinese.
4. Now check /etc/sysconfig/i18n ; LANG=zh_CN.GB18030
  
Actual results:
LANG in /etc/sysconfig/i18n should be set to "zh_CN.UTF-8" when
system-config-language is used to set the locale to simplified chinese

Expected results:
LANG in /etc/sysconfig/i18n is set to "zh_CN.GB18030" when
system-config-language is used to set the locale to simplified chinese

Additional info:

/usr/share/system-config-language/language_backend.py contains the zh_CN.GB18030
hardcoded which is apparently a hack.

Comment 1 Bastien Nocera 2006-04-25 10:01:19 UTC
*** Bug 189203 has been marked as a duplicate of this bug. ***

Comment 2 Bastien Nocera 2006-04-25 10:01:26 UTC
*** Bug 189201 has been marked as a duplicate of this bug. ***

Comment 15 Charles Rose 2006-10-26 14:47:51 UTC
Bug 208407 claims to fix the RHEL 5 manifestation of this issue. Does the same
fix hold good for this as well? We were expecting this fix in RHEL4.5 fasttrack.

Comment 17 Paul Nasrat 2006-11-10 12:08:02 UTC
Commited fix as patch to package and built

Comment 22 Samuel Benjamin 2006-11-21 16:40:53 UTC
Another request from Dell to pull this into FASTRACK. I see it is already
fastrack ACKED and MODIFIED. Can Red Hat provide an estimate on when we can get
this fix released ?

--------------------
Charles Rose wrote :

Can we expect this as a fasttrack (as discussed) now that it has a fix?

18 April 2007 (RHEL 4.5) is about 5 months away, and we definitely do
not want to wait till then.

Thanks,
Charles



Comment 24 Red Hat Bugzilla 2006-11-22 13:57:20 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2006-0737.html