Bug 155847

Summary: SUPPORTED in /etc/sysconfig/i18n is not setup correctly
Product: [Fedora] Fedora Reporter: Ronny Buchmann <ronny-rhbugzilla>
Component: anacondaAssignee: Jeremy Katz <katzj>
Status: CLOSED RAWHIDE QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-04-27 21:51:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 136450, 155836    
Attachments:
Description Flags
generated anaconda-ks.cfg
none
anaconda install log none

Description Ronny Buchmann 2005-04-24 16:47:47 UTC
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):
10.2.0.52

How reproducible:
always

Steps to Reproduce:
1. graphicall installation selecting some language groups

Comment 1 Ronny Buchmann 2005-04-24 16:47:47 UTC
Created attachment 113611 [details]
generated anaconda-ks.cfg

Comment 2 Ronny Buchmann 2005-04-24 16:48:49 UTC
Created attachment 113612 [details]
anaconda install log

Comment 3 Ronny Buchmann 2005-04-24 16:54:29 UTC
correction to initial report:

In graphical installation SUPPORTED is set to en_US... independent of the
installation language.

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
installed language)

Comment 4 Jeremy Katz 2005-04-24 18:57:13 UTC
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.

Comment 5 Ronny Buchmann 2005-04-24 20:30:42 UTC
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
too late.

Comment 6 Chris Lumens 2005-04-25 14:08:07 UTC
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.

Comment 7 Ronny Buchmann 2005-04-25 17:13:35 UTC
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.

Comment 8 Jeremy Katz 2005-04-27 19:37:28 UTC
Either way we're making a change to something later than I'd like.  I'll do some
closer looking at this later today.

Comment 9 Ronny Buchmann 2005-04-27 21:31:29 UTC
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.

Comment 10 Jeremy Katz 2005-04-27 21:51:22 UTC
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.