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

Re: preserving user changes while managing configuration files



On Wed, 23 Nov 2011 11:53:14 +0100
Dennis van Dok <dennisvd@nikhef.nl> wrote:

> On 23-11-11 10:27, Joseph Gunn wrote:
> 
> > A popular way of accomplishing the task is to support
> > "configuration subdirectories"
> > 
> > It includes all "configuration files" in that directory. If you
> > publish a name that you will _never_ use then people can add that
> > one "as they wish".
> 
> I'm not sure I'm getting the gist of your suggestion; do you mean the
> use of /etc/mypackage/conf.d/ or some such? I'm afraid this would
> require some heavy patching of the upstream code for reading
> configuration files.

Perhaps instead you could add a simple utility to make a master config
file out of several snippets in a directory. I think quite a few
packages do that. The only one I can think of just now is exim4 but
that's probably not a very good example because it's complex.


Reply to: