Bug 1040616
| Summary: | gnome does not preserve settings from /etc/locale.conf | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | jcpunk |
| Component: | gdm | Assignee: | Ray Strode [halfline] <rstrode> |
| Status: | CLOSED DUPLICATE | QA Contact: | Desktop QE <desktop-qa-list> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.0 | CC: | csieh, fmuellner, jorge.fabregas, misterbonnie, otaylor, riehecky, samkraju, walters |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1001196 | Environment: | |
| Last Closed: | 2014-02-12 15:33:09 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
jcpunk
2013-12-11 17:25:39 UTC
gnome-shell doesn't touch any locale settings, the upstream bug identified gdm not passing on LC_COLLATE to gnome-session. i just posted a comment to the upstream report: This really should be handled by pam_systemd. see: http://lists.freedesktop.org/archives/systemd-devel/2013-January/007908.html But that hasn't merged yet. In the meantime, /etc/profile.d/lang.sh has this: if [ -n "$LANG" ]; then ... else for langfile in /etc/locale.conf "$HOME/.i18n" ; do [ -f $langfile ] && . $langfile && sourced=1 done fi if [ "$sourced" = 1 ]; then ... [ -n "$LC_COLLATE" ] && export LC_COLLATE || unset LC_COLLATE ... fi but GDM sets LANG so locale.conf isn't getting source. the fix, I guess, is to not set LANG so lang.sh works. Upstream commit for gdm has a workaround: https://git.gnome.org/browse/gdm/commit/?id=c672e4e49983d285e829c1ec846d22fbf19bf29a Let's just dupe this to bug 1056181. If we go that route, the upstream commit isn't needed, and the upstream commit isn't really good enough on its own since it requires a daemon restart for changes to take affect. *** This bug has been marked as a duplicate of bug 1056181 *** |