:: Re: [Dng] configuration management
Top Pagina
Delete this message
Reply to this message
Auteur: Christoph Lechleitner
Datum:  
Aan: dng
Onderwerp: Re: [Dng] configuration management
Am 2015-01-01 um 00:18 schrieb Hendrik Boom:
> On Fri, Dec 26, 2014 at 09:01:12PM +0100, Enrico Weigelt, metux IT consult wrote:
>> On 26.12.2014 18:59, Hendrik Boom wrote:
>>
>>> And, no, the idea isn't to share it with the rest or the world.
>>> The idea is for the so-called vendor branch to be shared, in this case
>>> by devuan.
>>
>> How to you intend separating/managing configs for tons of separate
>> packages ? Have configs for all available packages in one tree ?
>
> I had thought of having one tree for all packages. But yes, maybe one
> tree for each package that is installed. Not one for each availabel
> package.


Wouldn't that require strict separation of directories under /etc and
lots of softlinks and the like?

For example many packages come with some
/etc/logrotate.d/foobar
or
/etc/apache2/mods-available/foobar.load
or
/etc/apache2/conf-available/foobar.conf
and so on for many /etc/**/*.d/ directories.

Furthermore there are some files that are not specific to a single
package, either because they are in "system scope" like
/etc/passwd
/etc/shadow
/etc/group
or because they lack an "include /etc/foobar.d/" concept, like
/etc/services
(I'd love an include concept there)

Regards and Happy 2015, Christoph