Bug 863510

Summary: locale settings not properly set for root
Product: [Fedora] Fedora Reporter: Jurgen Kramer <gtmkramer>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 18CC: anaconda-maint-list, g.kaviyarasu, jonathan, vanmeeuwen+fedora
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: 2012-10-05 17:29:13 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 Jurgen Kramer 2012-10-05 16:27:28 UTC
Description of problem:
When doing a su - to root warnings appear about locale settings

Version-Release number of selected component (if applicable):
Anaconda from Fedora18-Beta TC2

How reproducible:
always

Steps to Reproduce:
1. su -
2.
3.
  
Actual results:
See below

Expected results:
No problems with locale settings

Additional info:
Default install of Fedora 18 Beta TC2 only timezone changed to Europe/Amsterdam.
Freshly installed.


A few examples:

[kramer@localhost ~]$ su -
Password: 
-bash: warning: setlocale: LC_CTYPE: cannot change locale (en.UTF-8): No such file or directory
-bash: warning: setlocale: LC_COLLATE: cannot change locale (en.UTF-8): No such file or directory
-bash: warning: setlocale: LC_MESSAGES: cannot change locale (en.UTF-8): No such file or directory
-bash: warning: setlocale: LC_NUMERIC: cannot change locale (en.UTF-8): No such file or directory
-bash: warning: setlocale: LC_TIME: cannot change locale (en.UTF-8): No such file or directory
[root@localhost ~]# yum update
Failed to set locale, defaulting to C

[root@localhost ~]# scp lo-bash: warning: setlocale: LC_CTYPE: cannot change locale (en.UTF-8)
-bash: warning: setlocale: LC_CTYPE: cannot change locale (en.UTF-8)
[root@localhost ~]# scp local

Comment 1 Chris Lumens 2012-10-05 17:29:13 UTC

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