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

Re: non conffiles in /etc and loading from templates?



Hi,

        I handle non confile configuration files using ucf (which
 could do with more testing and wider deployment.

	manoj

Package: ucf
Priority: optional
Section: utils
Installed-Size: 120
Maintainer: Manoj Srivastava <srivasta@debian.org>
Architecture: all
Version: 0.11
Filename: pool/main/u/ucf/ucf_0.11_all.deb
Size: 20028
MD5sum: ce8922fe82a0343641f76710208a290b
Description: Update Configuration File - preserve user changes in config files
 Debian policy states that configuration files must preserve user
 changes during package upgrade. The easy way to achieve this behavior
 is to make the configuration file a `conffile', in which case dpkg
 handles the file specially during upgrades, prompting the user as
 needed.
 .
 This is appropriate only if it is possible to distribute a default
 version that will work for most installations, although some system
 administrators may choose to modify it.  This implies that the
 default version will be part of the package distribution, and must
 not be modified by the maintainer scripts during installation (or at
 any other time).
 .
 This script attempts to provide conffile like handling for files that
 can not be labelled conffiles, are not shipped in a Debian package,
 but handled by the postinst instead.  This script allows one to
 maintain files in /etc, preserving user changes and in general
 offering the same facilities while upgrading that dpkg normally
 provides for "conffiles".
 .
 Additionally, this script provides facilities for transitioning a
 file that had not been provided conffile like protection to come
 under this schema, and attempts to minimize questions asked at
 install time. Indeed, the transitioning facility is better than the
 one offered by dpkg while transitioning a file from a non-conffile to
 conffile status.


-- 
These download files are in Microsoft Word 6.0 format. After
unzipping, these files can be viewed in any text editor, including all
versions of Microsoft Word, WordPad, and Microsoft Word Viewer From
Micro$oft
Manoj Srivastava   <srivasta@debian.org>  <http://www.debian.org/%7Esrivasta/>
1024R/C7261095 print CB D9 F4 12 68 07 E4 05  CC 2D 27 12 1D F5 E8 6E
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C



Reply to: