Description of problem: locale information is not set right in the fedora cloud image. When you log in you see: localhost login: fedora Password: -bash: warning: setlocale: LC_CTYPE: cannot change locale (en_US.UTF-8): No such file or directory -bash: warning: setlocale: LC_COLLATE: cannot change locale (en_US.UTF-8): No such file or directory -bash: warning: setlocale: LC_MESSAGES: cannot change locale (en_US.UTF-8): No such file or directory -bash: warning: setlocale: LC_NUMERIC: cannot change locale (en_US.UTF-8): No such file or directory -bash: warning: setlocale: LC_TIME: cannot change locale (en_US.UTF-8): No such file or directory `dnf reinstall glibc-common` fixes the issue. How reproducible: Always Steps to Reproduce: 1. Start cloud image [1] in openstack or libvirt/kvm [1] - http://dl.fedoraproject.org/pub/alt/stage/23_Beta_TC4/Cloud_Images/x86_64/Images/Fedora-Cloud-Base-23_Beta_TC4-20150907.x86_64.qcow2
Wouldn't this be more a glibc issue? or is there something to be adjusted in the kickstart?
(In reply to Kevin Fenzi from comment #1) > Wouldn't this be more a glibc issue? or is there something to be adjusted in > the kickstart? Yep as it turns out we believe it is a glibc issue but it only manifests itself when run through anaconda. See bug https://bugzilla.redhat.com/show_bug.cgi?id=1262040.
Created attachment 1072311 [details] Work around BZ1262040
Fixed in the commit https://git.fedorahosted.org/cgit/spin-kickstarts.git/commit/?h=f23&id=93793acd48735b021a5551790d55c1f225aec5d8 Thank you for the patch.
I'm still seeing this on Fedora 22 images for EC2
@hannes - I don't think this was ever an issue for the F22 release images. This bug report was against F23. Can you be more specific about what issue you are seeing?
I'm seeing the same error messages as in the OP, i.e. /etc/profile.d/lang.sh: line 19: warning: setlocale: LC_CTYPE: cannot change locale (en_US.UTF-8): No such file or directory /etc/profile.d/lang.sh: line 20: warning: setlocale: LC_COLLATE: cannot change locale (en_US.UTF-8): No such file or directory /etc/profile.d/lang.sh: line 23: warning: setlocale: LC_MESSAGES: cannot change locale (en_US.UTF-8): No such file or directory /etc/profile.d/lang.sh: line 26: warning: setlocale: LC_NUMERIC: cannot change locale (en_US.UTF-8): No such file or directory /etc/profile.d/lang.sh: line 29: warning: setlocale: LC_TIME: cannot change locale (en_US.UTF-8): No such file or directory when ssh'ing into an instance created from ami-81362db1 which is a FC22 image.