On 6/12/19 4:10 PM, Thorsten Kukuk wrote:
> On Wed, Jun 12, Frans de Boer wrote:
>
>> 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 think the way these tools have done it is what we should strive for. For
example,
with systemd the default is in `/usr/lib/`, overrides in `/etc/`. If you ever
get
confused the tools help you find what's applied. i.e. `systemctl cat
foo.service`
lists at the top of the output which file is used.
Dusty
_______________________________________________
fhs-discuss mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/fhs-discuss