Red Hat Bugzilla – Bug 91235
RFE: kickstart does not allow to set LANG=POSIX or LANG=C
Last modified: 2007-04-18 12:53:51 EDT
Description of problem:
The kickstart procedure does not allow to set the locale to either
POSIX or C (which would be glibc's default). The following line in
langsupport --default POSIX en_US
Error message is:
KeyError: language POSIX not found
(in language.py, line 208 in getLangNameByNick)
I could fix this by myself by adding the appropriate lines to
/usr/share/anaconda/locale-list, I guess. But IMHO this setting
should be allowed by the standard anacoda.
Run Kickstart installation, and use "langsupport --default POSIX en_US".
I asked around and couldn't find anyone who could give me a reason why you would
want to do this :) What problem are you trying to solve that requires this setting?
I guess you are asking why I would like to kickstart-install our machines with
LANG=POSIX instead of en_US? Because all of our Linux and Unix systems
(Solaris, HP-UX, etc) are installed with POSIX being the default. You can
recognize the difference immediately, if you look at the sorting order of
"ls -a" output (i.e. the LC_COLLATE specification is different in POSIX and
pascal:/tmp/dir(15)> env LANG=POSIX ls -a
. .. .cshrc .login FILE bin lib
pascal:/tmp/dir(16)> env LANG=en_US ls -a
. .. bin .cshrc FILE lib .login
The latter order is not what I want, because it is not Unix-ish.
BTW, I cannot see a reason to NOT add "POSIX" and/or "C" to the list of
languages accepted by anaconda. Do you?
Thank you for explaining your requirements. I will forward this request to an
Saying that you're using the POSIX locale doesn't give enough boundaries on what
things like console font and the like should be. If you want to use POSIX for
your default language and are using kickstart, just change /etc/sysconfig/i18n