Red Hat Bugzilla – Bug 160923
Incorrect content of /etc/sysconfig/i18n after install
Last modified: 2007-11-30 17:11:08 EST
Description of problem:
Fresh install of FC4 i386 with Polish choosen as instalation language.
Polish and British language packages were choosen during install.
After install /etc/sysconfig/i18n contains:
LANG setting is incorrect and should be pl_PL for iso8859-2 charset or
pl_PL.UTF8 for UTF8 charset. locale, when run, complains:
locale: cannot set LC_CTYPE to default locale: no such file or directory
locale: cannot set LC_MESSAGES to default locale: no such file or directory
locale: cannot set LC_ALL to default locale: no such file or directory
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. install as described
2. check /etc/sysconfig/i18n after reboot after install
Wrong systemwide locale setting
Correct systemwide locale setting
I am not 100% sure, but I don't think I had this problem when
installing x86_64 version.
How did you select your language? By passing lang= on the command line or by
selecting it in the UI? Also, CD install?
Network install with iso images exported by nfs, with kernel and
initrd.img loaded by pxelinux.
initrd=FC4.i386/initrd.img ip=dhcp \
method=nfs:gklab-59-004:/local/Fedora lang=pl keymap=pl
Now when I think about it, installation of x86_64 version I mentioned
previously was a DVD install with all choices made in anaconda UI.
If you boot with lang=pl_PL.UTF-8, that'll fix it
Chris -- we should canonicalize these.