[systemd-devel] [PATCH] {locale, vconsole}-setup.c: unconditionally read config file settings

Lennart Poettering lennart at poettering.net
Tue May 3 09:02:19 PDT 2011


On Tue, 03.05.11 16:39, harald at redhat.com (harald at redhat.com) wrote:

> From: Harald Hoyer <harald at redhat.com>
> 
> systemd-vconsole-setup did not process any configuration files, if it
> found at least one parameter on the kernel command line.
> 
> First we should read all config file parameter settings and let them
> be overwritten by kernel command line parameters afterwards.

Hmm, we actually did things like this on purpose, in order to avoid
"mixed" configurations. i.e. if you set "LANG=de_DE" on the kernel
command line you would probably be very much annoyed if LC_MESSAGES=C
which you set in the config file would still hold.

Hence we decided to either take the set of config options altogther or
none at all, but not try to merge them.

Does that make sense to you?

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list