Red Hat Bugzilla – Bug 155847
SUPPORTED in /etc/sysconfig/i18n is not setup correctly
Last modified: 2007-11-30 17:11:04 EST
When selecting additional language support groups in the package selection, the
corresponding language codes should be added to SUPPORTED in /etc/sysconfig/i18n.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. graphicall installation selecting some language groups
Created attachment 113611 [details]
Created attachment 113612 [details]
anaconda install log
correction to initial report:
In graphical installation SUPPORTED is set to en_US... independent of the
In text mode you don't have fine grained control over the installed languages,
so this is not applicable. (SUPPORTED is correctly set up with the only
It might even make sense to go to not writing out SUPPORTED at all... it was
mostly used as a hint for setting %_install_langs for rpm installs, but since we
don't want to do that anymore, it may be superfluous.
SUPPORTED is used by system-config-language to show available languages. This
may not be the optimal solution, but I wouldn't change it for FC4 - it's simply
You're doing things backwards - add all languages you want to be supported after
the "langsupport" keyword in your kickstart file and omit the "whatever-support"
package listings. The presence of the language after langsupport will
automatically select the appropriate support package and set up SUPPORTED properly.
I'm talking about interactive installs, not kickstart.
The kickstart file in #2 is the one created by anaconda. I attached it only to
show what I have selected.
Either way we're making a change to something later than I'd like. I'll do some
closer looking at this later today.
Maybe it would make sense to store (the full) lang-table in /etc/sysconfig and
use that in s-c-language. (In the case anaconda isn't doing something strange
with languages anymore)
Alternatively, change yum, up2date, s-c-packages to generate something from the
actually installed groups.
system-config-language acts fairly sane on my laptop with no SUPPORTED line set.
So anaconda will now only write out SUPPORTED if you're doing odd things in
kickstart. And that will probably go away eventually as well.