Red Hat Bugzilla – Bug 15731
Setting japanese locale, causes all OS commands to fail
Last modified: 2008-05-01 11:37:57 EDT
Installed a mostly default english version of Pinstripe Beta-3 and also
If you run:
1. export LANG=japanese (valid language as listed by a "locale -a" )
On Beta-3 I get:
Tue Aug 8 10:33:07 BST 2000
On Beta-5 I get:
date: loadlocale.c:220: _nl_load_locale: Assertion `idx % 4 == 0' failed.
Now the behaviour I got on Beta-3 seems plausible, i.e. it thinks that
japanese is not a valid locale, and reverts to using "C". I would have
preferred to have seen some funny japanese characters in the date string
but I am not too concerned since it does not prevent anything else from
The behaviour on Beta-5 is more worrying - since I get this error for any
OS command I run e.g. "ls".
you need to rebuild the locale-ja package from the src.rpm using "rpm
--rebuild". After installing the resulting binary package, the Japanese locale
will work again.
This has been fixed here for quite some time.
So can you confirm that this is not going to be a problem in the final RedHat7.0
release ? - or will everyone have to download and re-compile the source ?
oh, of course this won't be a problem in final - Japanese support would be
The locale def is in the glibc package now, so if the binary format ever changes
again there won't be problems.