Bug 91235 - RFE: kickstart does not allow to set LANG=POSIX or LANG=C
Summary: RFE: kickstart does not allow to set LANG=POSIX or LANG=C
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: anaconda
Version: 7.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-05-20 09:35 UTC by Andreas Luik
Modified: 2007-04-18 16:53 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-07-24 23:48:04 UTC
Embargoed:


Attachments (Terms of Use)

Description Andreas Luik 2003-05-20 09:35:22 UTC
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
ks.cfg fails:

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.


How reproducible:
Run Kickstart installation, and use "langsupport --default POSIX en_US".

Comment 1 Michael Fulbright 2003-05-20 16:11:21 UTC
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?

Comment 2 Andreas Luik 2003-05-21 08:31:21 UTC
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
en_US):

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?


Comment 3 Michael Fulbright 2003-05-22 16:11:58 UTC
Thank you for explaining your requirements.  I will forward this request to an
engineer.

Comment 4 Jeremy Katz 2003-07-24 23:48:04 UTC
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
in %post


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