Re: debconf managed configuration files

2014-02-06 Thread Dominique Dumont
On Wednesday 05 February 2014 10:42:23 Daniel Pocock wrote: > Has anybody written any further documentation about debconf with > configuration files, for example, for those that don't meet the > assumptions for the example in the debconf-devel manpage? > > Are there any particular packages that ar

Re: debconf managed configuration files

2014-02-06 Thread Vincent Danjean
On 05/02/2014 10:42, Daniel Pocock wrote: > I've also found some references to the UCF package but it is not > referenced in the debconf-devel manpage itself, is UCF the way to go or > is this a red herring? If the default configuration file is shipped as-is by the package (no changes due to debco

Re: debconf managed configuration files

2014-02-05 Thread Sam Hartman
I've tried to do a reasonable job with the krb5-config package of updating a user-managed krb5.conf and keeping it in sync with debconf data. It's quite old and I doubt it's best practice any more but it is an example of how to approach a non-shell-script package. The debconf-managed comment is an

debconf managed configuration files

2014-02-05 Thread Daniel Pocock
debconf-devel(7)[1] gives a brief example of managing a key=value configuration file with debconf "There are a lot of ways to do this, and most of them are wrong, and will often earn you annoyed bug reports. Here is one right way to do it. It assumes that your config file is really just a series