Bug 722380

Summary: Bus error in build-locale-archive on postinstall
Product: [Fedora] Fedora Reporter: Akira TAGOH <tagoh>
Component: glibcAssignee: Andreas Schwab <schwab>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: fweimer, i18n-bugs, jakub, maxamillion, rrakus, schwab
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: 2011-07-15 09:31:11 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:

Description Akira TAGOH 2011-07-15 06:46:43 UTC
Description of problem:
When logging in on VT, the following warnings appears:
-bash: warning: setlocale: LC_CTYPE: cannot change locale (ja_JP.UTF-8): No such file or directory
-bash: warning: setlocale: LC_COLLATE: cannot change locale (ja_JP.UTF-8): No such file or directory
-bash: warning: setlocale: LC_MESSAGES: cannot change locale (ja_JP.UTF-8): No such file or directory
-bash: warning: setlocale: LC_NUMERIC: cannot change locale (ja_JP.UTF-8): No such file or directory
-bash: warning: setlocale: LC_TIME: cannot change locale (ja_JP.UTF-8): No such file or directory

This was introduced by executing unset LC_* in /etc/profile.d/lang.sh. this is easy to reproduce if do "unset LC_CTYPE" on the shell say.

Version-Release number of selected component (if applicable):
bash-4.2.10-4.fc16.x86_64

How reproducible:
always

Steps to Reproduce:
1.login on VT
2.
3.
  
Actual results:
the above warnings appears

Expected results:
shouldn't appears

Additional info:
What locale one use seems not matter. changing the locale in /etc/sysconfig/i18n to LANG=en_US.UTF-8 and logout say, I still see similar warnings but for en_US.UTF-8, not for ja_JP.UTF-8 then.

Comment 1 Akira TAGOH 2011-07-15 09:11:08 UTC
Okay, there seems no /usr/lib/locale/locale-archive and when manually running build-locale-archive, I got "Bus error" message.

Reassigning to glibc.

Comment 2 Andreas Schwab 2011-07-15 09:31:11 UTC

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