Bug 1235726

Summary: installer should not present unsupported languages
Product: Red Hat Enterprise Linux 7 Reporter: Micah Abbott <miabbott>
Component: anacondaAssignee: Martin Kolman <mkolman>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1CC: anaconda-maint-list, atodorov, cww, dmoessne, ghelleks, jlebon, lfriedma, mkolman
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: anaconda-21.48.22.71-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-03 23:07:40 UTC Type: Bug
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: 1203710, 1295926, 1313485    

Description Micah Abbott 2015-06-25 15:10:39 UTC
The current RHEL Atomic Host installer presents the user a list of languages to select that can be used for the install process.  This also causes the default locale to be set on the system after the install.

Per BZ1186757, RHEL Atomic Host only supports the en_US.UTF-8, so any other locale/language that is chosen during the install process will cause errors on system after the install is completed.

I believe the installer should be modified so that no language selection is possible and it defaults to the supported locale of en_US.UTF-8.

Comment 2 Alexander Todorov 2015-08-06 10:11:53 UTC
Colin,
shouldn't we move this one to anaconda ?

Comment 3 Alexander Todorov 2015-10-01 08:00:44 UTC
This is still valid with latest 7.2 ISO.

Comment 8 Martin Kolman 2016-05-09 12:40:04 UTC
The fix has been posted for review:
https://github.com/rhinstaller/anaconda/pull/622

Comment 10 Alexander Todorov 2016-09-15 11:06:27 UTC
This is verified with the 0912.0 Atomic build.

Comment 12 errata-xmlrpc 2016-11-03 23:07:40 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2016-2158.html

Comment 13 Jonathan Lebon 2016-11-15 21:26:51 UTC
This is going to have to be reverted once supported locales are added back into RHELAH trees, as discussed in #1186757. Will open an RHBZ once that happens.

Comment 14 Martin Kolman 2016-11-15 21:44:41 UTC
(In reply to Jonathan Lebon from comment #13)
> This is going to have to be reverted once supported locales are added back
> into RHELAH trees, as discussed in #1186757. Will open an RHBZ once that
> happens.

Well, the single language mode that has been implemented for this can is not on by default and needs to be enabled by the inst.singlelang boot option. So just dropping usage of the inst.singlelang boot option on the Atomic Host side should be enough.

Comment 15 Jonathan Lebon 2016-11-15 21:51:36 UTC
(In reply to Martin Kolman from comment #14)
> Well, the single language mode that has been implemented for this can is not
> on by default and needs to be enabled by the inst.singlelang boot option. So
> just dropping usage of the inst.singlelang boot option on the Atomic Host
> side should be enough.

AFAIK, no inst.singlelang boot options are used. I thought this worked by being unconditionally enabled on RHELAH?

https://github.com/rhinstaller/anaconda/pull/622/files#diff-e258799d591833100128109ecd6e5a0bR80

It seems like it's just a matter of reverting that hunk only, right? I can submit the PR when the time is right if that's the case. :)

Comment 16 Martin Kolman 2016-11-15 22:29:33 UTC
(In reply to Jonathan Lebon from comment #15)
> (In reply to Martin Kolman from comment #14)
> > Well, the single language mode that has been implemented for this can is not
> > on by default and needs to be enabled by the inst.singlelang boot option. So
> > just dropping usage of the inst.singlelang boot option on the Atomic Host
> > side should be enough.
> 
> AFAIK, no inst.singlelang boot options are used. I thought this worked by
> being unconditionally enabled on RHELAH?
> 
> https://github.com/rhinstaller/anaconda/pull/622/files#diff-
> e258799d591833100128109ecd6e5a0bR80
Oh, right - forgot about that.

> 
> It seems like it's just a matter of reverting that hunk only, right? I can
> submit the PR when the time is right if that's the case. :)
Sure! :)