Bug 82528 - Firstboot should be in chosen languages
Firstboot should be in chosen languages
Status: CLOSED RAWHIDE
Product: Red Hat Public Beta
Classification: Retired
Component: firstboot (Show other bugs)
phoebe
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Brent Fox
qa-i18n
:
Depends On:
Blocks: 79578
  Show dependency treegraph
 
Reported: 2003-01-22 23:44 EST by David Joo
Modified: 2008-05-01 11:38 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-02-03 15:52:42 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description David Joo 2003-01-22 23:44:23 EST
Description of problem:
For CJK installation, first boot is in English rather than CJK

Version-Release number of selected component (if applicable):


How reproducible:
Every installation

Steps to Reproduce:
1. Install in CJK
2. reboot
3.
    
Actual results:
Firstboot in English.

Expected results:
Firstboot in CJK

Additional info:
I believe this is caused because, when init script runs it is running in 
Enlish since we can't show CJK on the console. It would be good when firstboot 
runs, if it can grep /etc/sysconfig/i18n value and determine the locale from 
there.
Comment 1 Brent Fox 2003-01-28 16:44:33 EST
I've tried adding ". /etc/profile.d/lang.sh" to the top of the initscript on my
test machine as notting suggested, but this had no effect.

notting: any other idea what I need to do in the initscript?  running
/usr/sbin/firstboot directly brings up Japanese just fine, so there must be
something missing in the initscript.
Comment 2 Brent Fox 2003-01-31 16:51:39 EST
notting: any ideas here?  I'm sort of over my head in initscript land.
Comment 3 Bill Nottingham 2003-01-31 17:35:17 EST
Fixed in CVS. What happens is that since /etc/init.d/functions sets LC_MESSAGES
to en_US, this gets inherited from /etc/rc, so we have to unset it first.
Comment 4 Brent Fox 2003-02-03 13:37:44 EST
QA: firstboot-1.0.5-2 should contain the fix.
Comment 5 Jay Turner 2003-02-03 15:52:42 EST
Fix confirmed with firstboot-1.0.5-2.

Note You need to log in before you can comment on or make changes to this bug.