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

Re: Debian Configuration Packaging System



On lun, 2008-02-25 at 10:23 -0800, Russ Allbery wrote:
> The problem is this: both krb5-kdc and krb5-admin-server have /etc/default
> files that control various aspects of the startup of the servers, such as
> whether a krb524d is run and what level of Kerberos v4 support is enabled
> in the KDC.  All of those parameters are prompted for by debconf if you
> select "manage my configuration with Debconf" and a corresponding
> /etc/default file is written out.  This lets people get the benefit of
> translated prompts for the possible options.
> 
> However, people have also requested an escape hatch to pass arbitrary
> options to the daemon without having to modify the init script, using the
> semi-standard DAEMON_ARGS setting in the /etc/default file.

This is one of the standard ucf use cases.

> ucf, from its DESCRIPTION in its man page, seems to handle the case of
> shipping a configuration file upstream that may also be locally modified,
> but I don't see where it handles merging in the results of debconf
> prompting.  Am I just missing something?

ucf can easily be fed with the debconf-generated file. When told to with
the proper option, it will even do a three-way merge of the proposed
(maintainer + debconf) changes to the locally modified file.

-- 
 .''`.
: :' :      We are debian.org. Lower your prices, surrender your code.
`. `'       We will add your hardware and software distinctiveness to
  `-        our own. Resistance is futile.

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=


Reply to: