[systemd-devel] [PATCH 2/3] conf-parser: add "ignored sections" parameter
Tom Gundersen
teg at jklm.no
Wed May 1 17:17:13 PDT 2013
On Wed, May 1, 2013 at 2:53 PM, Zbigniew Jędrzejewski-Szmek
<zbyszek at in.waw.pl> wrote:
> config_parse will ignore settings specified in 'ignored_sections'. The purpose
> is being able to share a config file between two different modules (e.g. systemd
> and systemd-sleep) without both understanding all sections. Each new section
> has only to be added to either 'sections' or 'ignored_sections' in all modules
> which parse the same config file.
What's the reason not to instead split the config files up into
smaller ones? E.g. /etc/systemd/sleep.conf. If the contents is so
different from the rest of systemd.conf that 'ignored_sections' is
necessary, this seems like a natural choice. Am I missing something?
-t
More information about the systemd-devel
mailing list