Debian Developers - Re: Right Way to make a configuration package

This is Interesting: Free IT Magazines  
Home > Archive > Debian Developers > October 2004 > Re: Right Way to make a configuration package





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: Right Way to make a configuration package
Petter Reinholdtsen

2004-10-30, 8:46 pm

[Jesus Climent]
> The problem being that X using Debconf to store information, Y
> modifying the info and then X getting an upgrade, the info stored by
> X using Debconf might be used again to set the values in the data
> file, which will break the initial purpose of Y.


Well, the solution to this problem is to _never_ use debconf to store
information. The configuration info should be stored in the
configuration files, and the current debconf values should be set
based on the content of the configuration files. The values in the
debconf database should only be used when no configuration file exist.

(This is sometimes summarized using statements like 'debconf is not a
registry'.)


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com