On 17/08/2019 09.20, Thorsten Kukuk wrote:
On Sat, Aug 17, Jan Engelhardt wrote:
On Saturday 2019-08-17 05:35, Thorsten Kukuk wrote:
On Sat, Aug 17, Jan Engelhardt wrote:
We develop currently an universal, really flexible config file parser for config files more or less compatible with the ini file format, it's libeconf: https://github.com/parlt91/libeconf
Is there a shortage of ini parser libraries around, or did I miss something? (libini_config, libiniparser, the-unnamed?-parser-from-samba, the-other-thing-with-augeas-lenses)
And which of them offers any of the functionality we need for this proposal?
What functionality do you mean?
To support the proposal and merge the files during reading like systemd is doing? For easier adjustment of applications? libeconf is clearly not to replace the used config file library with another one with the same functionality.
As admin, I see very problematic having defaults in one place and actual local configuration in another. It makes difficult for the admin to know the actual configuration. Do we have editors that would load both files and present the admin with the actual configuration? If we don't, I see the proposal as worse that the current status. For example, if I have to look at both /usr/etc/postfix/main.cf and /etc/postfix/main.cf, which is a big file, when the local modifications can be in different order than the defaults, it will be a nightmare to know the actual value of any random setting. -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)