On Wed, Jun 12, Frans de Boer wrote: > I myself find it more logical to have just one directory albeit with > subdirectories indicating it's use. That is /etc.
This creates quite some problems with updating configuration files, especially with atomic updates, but also in standard Linux Distributions. That's why many software tools are already storing the distribution specific configuration file somewhere well hidden in /usr/lib and /etc only contains the host specific changes done by an administrator. https://github.com/thkukuk/atomic-updates_and_etc/blob/master/README.md contains more background informations. > Also, SUSE itself has already the /etc/sysconfig, so why another one under / > usr? That's what I was afraid of with /usr/sysonfig, that people will mix it up wiht /etc/syconfig ... > How do you differentiate between /etc and /usr/etc? What is their respective > purpose? /usr/etc - distribution/system specific default configuration files /etc - host specific changes to configuration files done by the sysadmin. Only look at systemd, sysctl, modprobe, ... They all store the distribution/system specific configuration files well hidden in /usr/lib/... and /etc only contains the changes done by the admin. > I also expect that some distributions will make /usr/etc a link to /etc. > Defeating its intended purpose (whatever that might be). This wouldn't make any sense. Either the distributions support a distribution specific default configuration with admin overrides, then /usr/etc must be a directory, or they don't support it, then /usr/etc is not needed at all. > By the way, if it where just the naming, I would go for something like /usr/ > config(s) instead of .../etc. Then again, I do not fully understand why one > would have configuration files under /usr where actually only binaries and > fixed data should reside. Because it's the reality already today, only in a really uncoordinated, chaotic, not admin friendly way. Thorsten -- Thorsten Kukuk, Distinguished Engineer, Senior Architect SLES & MicroOS SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendoerffer, Mary Higgins, Sri Rasiah, HRB 21284 (AG Nuernberg) _______________________________________________ fhs-discuss mailing list [email protected] https://lists.linuxfoundation.org/mailman/listinfo/fhs-discuss
