dhcpcd-discuss

Suggestions: configuration file flexibility

Langlois, Maxime

Mon Apr 15 15:50:59 2019

Hi Roy,

Here are some suggestions for features that I wish would exist while
designing our current embedded platform, but that I also think would be
useful for others as well. This would add some level of flexibility in
specifying user configuration.

The most basic thing would be to allow specification of a custom path
for the config file, as in an embedded system, the root filesystem is
not always writable, and writable files can be stored elsewhere on a
different mount point.

Another great addition would be allowing modular configuration. In
other terms, allow splitting the configuration in separate files under
a common directory (i.e. /etc/dhcpcd.d/*.conf). Keeping dhcpcd.conf for
daemon's specific and common configuration and adding an optional
setting for specifying a path for additional configs. This would allow
separation of daemon's specific and common configuration from
interface's specific configuration. One could even split each
interface's configuation in its own file.

Thanks for the great work!
Maxime

Follow-Ups:
Re: Suggestions: configuration file flexibilityRoy Marples
References:
static routers not exposed in hooksLanglois, Maxime
Re: static routers not exposed in hooksRoy Marples
Archive administrator: postmaster@marples.name