I migrated to systemd and following the advice of the systemd wiki page, I moved /etc/env.d/02locale to /etc/locale.conf. The problem is that now the locale is not set correctly: * when I login using the linux console on tty1 or via ssh, no locale variable is set * when I run bash in gnome-terminal then only LANG is set (to "en_US.UTF-8") * when I run any graphical gnome application, then only LANG is set for that application If I symlink /etc/env.d/02locale to /etc/locale.conf then everything works correctly but I think locale should be set in one place only. Here's my complete locale file: LANG="en_US.UTF-8" LC_TIME="en_GB.UTF-8"
For comparison, in arch linux with systemd, the only place where locale variables are set is /etc/locale.conf and everything works correctly. They do it by having the following lines in /etc/profile.d/locale.sh (excerpt): if [ -r /etc/locale.conf ]; then . /etc/locale.conf fi
Created attachment 354224 [details] for reference, here's the complete /etc/profile.d/locale.sh from arch linux
to me it's dupplicate of 465468, except that one is not version specific in the title.
*** This bug has been marked as a duplicate of bug 465468 ***