Bug 1241381

Summary: Setting locale failed for LC_MEASUREMENT = "C.UTF-8", LC_TIME = "C.UTF-8", LANG = "en_US.UTF-8"
Product: [Fedora] Fedora Reporter: Michael S. Tsirkin <mst>
Component: glibcAssignee: Carlos O'Donell <codonell>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: arjun.is, codonell, fweimer, jakub, law, mnewsome, pfrankli
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-09-16 15:19:07 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:

Description Michael S. Tsirkin 2015-07-09 06:48:43 UTC
Description of problem:
I installed Fedora 22 selected default english/us locale, but changed
units to metric and date/time format to standard.


Version-Release number of selected component (if applicable):
glibc-2.21-5.fc22.x86_64

How reproducible:
unknown

Steps to Reproduce:
1. install fedora 22 kde 64 bit version (e.g. in a vm)
2. select default locale, change units to metric
3. install. this will set up these values:
LC_MEASUREMENT = "C.UTF-8",
LC_TIME = "C.UTF-8",
LANG = "en_US.UTF-8"
4. login and run any program, for example man or perl 

Actual results:
error about incorrect LC setting is produced.
perl:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "",
        LC_ALL = (unset),
        LC_MEASUREMENT = "C.UTF-8",
        LC_TIME = "C.UTF-8",
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
man:
man: can't set the locale; make sure $LC_* and $LANG are correct

Expected results:
no warnings, applications use the selected locale

Additional info:
Please note LC values were setup by installer.
if the LC values are incorrect, then it's installer's fault,
please reassign there.

Comment 1 Carlos O'Donell 2015-09-16 15:19:07 UTC
There is no C.UTF-8 locale. This looks like a duplicate of bug 902094, which requests we add a C.UTF-8 locale, which we will do shortly in Rawhide.

*** This bug has been marked as a duplicate of bug 902094 ***