On Fri, Feb 07, Daniel Morris wrote:
On Fri, Feb 07, 2020 at 08:38:41AM +0100, Thorsten Kukuk wrote:
Looking at Variant 1 is the following statement true in all cases?
"So the change in the latest file wins."
If you use the sentence out of the context, it is misleading, yes. So use it in the full context: Files are read in alphabetical order, and the change in the latest read file wins.
Assuming these three localised config system/admin config files are modified in the following time order, with one parameter set differently in each:
/etc/example.conf /etc/example.conf.d/zaks_overide.conf /etc/example.conf /etc/example.conf.d/anns_overide.conf
At least systemd and libeconf would read the files in this order: /etc/example.conf /etc/example.conf.d/anns_overide.conf /etc/example.conf.d/zaks_overide.conf So if all three modifies the same variable, the value from zaks_overide.conf will win. Thorsten -- Thorsten Kukuk, Distinguished Engineer, Senior Architect SLES & MicroOS SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany Managing Director: Felix Imendoerffer (HRB 36809, AG Nürnberg) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org