Re: Tweaking configurations
On Fri, May 20, 2005 at 06:10:21PM +0200, C. Gatzemeier wrote:
>
> Hello,
>
> Am Friday 20 May 2005 08:12 schrieb Tzafrir Cohen:
> > The nice thing about elektra is that it allows you to add configuration
> > to a package simply by adding files, which is very package-management
> > -friendly.
>
> Isn't this like the current state with /etc files?
> OK, besides one file per key as it is the electra idea IIRC.
Today you have to do that with .d directories an explicit include-s.
You can't just install partial configuration for a different package.
>
> > CFG appears to require a running daemon to apply the config changes,
> > right?
>
> Maybe that is the case with the WBEM provider version, AFAIK the layered CFG
> is only a modular tool to edit configs on an enhanced abstracted level (node
> hirarchy with properties).
>
> CFG "is just a tool that people can use to edit existing, plain text files one
> day, and the next day to edit them by hand if you
> wish" (http://freedesktop.org/Software/CfgFAQ)
Now think what happens when you add/remove/update a package with such a
system. The package has to store all of its config information
somewhere. When a package is installed it will probably drop a file in
some directory, etc.
So on a "package change" many configuration files have to be
regenerated, even if there are only minor changes. This costs much and
is error-prone. Take a look at SuSE's YaST.
Whereas with Elektra, this whole "reconfiguration" mess is not needed.
--
Tzafrir Cohen icq#16849755 +972-50-7952406
tzafrir.cohen@xorcom.com http://www.xorcom.com
Reply to: