[systemd-devel] [PATCH] [RFC]logind: set locale in user sessions

Tom Gundersen teg at jklm.no
Wed Jan 2 10:36:12 PST 2013


On Wed, Jan 2, 2013 at 12:55 PM, Andrey Borzenkov <arvidjaar at gmail.com> wrote:
> В Wed,  2 Jan 2013 12:46:31 +0100
> Tom Gundersen <teg at jklm.no> пишет:
>> The logic is: the kernel command-line takes precedence,
>
> Why? I would understand it if list did not include user-specific
> locale.conf; but if it does, why system wide setting should override
> user specific one? To me it looks like order should be reversed (user's
> local.conf followed by kernel setting).

We tend to let the kernel command line override everything. This is
useful in case the kernel command line is used as a temporary
work-around in case somehow a wrong locale has been set, rendering the
system unusable.

If the kernel command-line is used as a permanent mechanism for
setting up the locale, I see that this is not ideal.

I don't feel strongly either way.

-t


More information about the systemd-devel mailing list