[systemd-devel] System locale not set in tty

Armin K. krejzi at email.com
Thu Apr 10 08:19:29 PDT 2014


On 04/10/2014 04:13 PM, Mike Gilbert wrote:
> 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.
> 

Hm, I don't recall having the problem before 210, but yea, removing the
Environment line from getty at .service fixes my problems.

Thanks.

-- 
Note: My last name is not Krejzi.


More information about the systemd-devel mailing list