[systemd-devel] System locale not set in tty

Mike Gilbert floppym at gentoo.org
Thu Apr 10 07:13:07 PDT 2014


On Thu, Apr 10, 2014 at 10:04 AM, Armin K. <krejzi at email.com> wrote:
> On 03/25/2014 05:35 PM, Armin K. wrote:
>> Hello there,
>>
>> I'm using stock systemd-211 release and I have noticed today that locale
>> isn't set anymore in tty.
>>
>> My X session, which runs on tty1 has the locale correctly set up, but
>> when I swich to tty2 and log in, the locale is set to POSIX, LANG isn't
>> set at all.
>>
>> Is this expected behaviour or what? Do I still need shell scripts for
>> parsing /etc/locale.conf and setting it like that in /etc/profile* scripts?
>>

This seems to have been intentional, though it occurred way before systemd-211.

http://cgit.freedesktop.org/systemd/systemd/commit/?id=1640944a847249d3f5f0fb0d5a5f820a82efaed0

On Gentoo, we have the shell read the information from /etc/locale.conf.


More information about the systemd-devel mailing list