[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Putting default config files in /usr [was; (newbie) Disruptive LIRC package update.]



2015-11-11 1:03 GMT+01:00 Vincent Danjean <vdanjean.ml@free.fr>:
>   Hi,
>
> Le 10/11/2015 14:49, Andrew Shadura a écrit :
>> I think you can try to do it systemd way: keep the default configuration
>> in /usr/lib, and leave /etc for local user configuration which overrides
>> the default config.
>>
>> Not sure how good is this idea, I hope others can comment on this.
>
>   For myself, I find this a very bad behavior:
> - etckeeper cannot track the evolution of the config files

Can't etckeeper keep track of other directories?
(without symlinks?)

> - if I 'modify' a file by putting another one in /etc that overrides
>   the default one in /usr, when the default will change I won't be
>   notified

You have the problem currently with the default set at compilation
time. See for example updates in samba.

> - when I want to look at the config of the software, I've to "merge"
>   two files or even two directories (one in /etc and one in /usr)

Yes. But this is easier than merging some compiled-in defaults with a
config file.

I find /etc currently polluted by unnecessary config, and welcome it
being smaller.egards

Regards


Reply to: