Re: Debian Configuration Packaging System
- To: firstname.lastname@example.org
- Subject: Re: Debian Configuration Packaging System
- From: Steve Langasek <email@example.com>
- Date: Fri, 11 Apr 2008 14:07:32 -0700
- Message-id: <[🔎] 20080411210732.GA4527@dario.dodds.net>
- Mail-followup-to: firstname.lastname@example.org
- In-reply-to: <email@example.com>
- References: <Pine.LNX.4.64L.firstname.lastname@example.org> <email@example.com> <Pine.LNX.4.64L.firstname.lastname@example.org> <email@example.com> <Pine.LNX.4.64L.firstname.lastname@example.org> <email@example.com> <1203932529.4166.17.camel@shizuru> <firstname.lastname@example.org> <1203964162.10629.8.camel@tomoyo> <email@example.com>
(oh, hey, look at that, someone drawing my attention back to this thread
that I meant to follow up to.)
On Mon, Feb 25, 2008 at 10:43:55AM -0800, Russ Allbery wrote:
> Josselin Mouette <firstname.lastname@example.org> writes:
> > On lun, 2008-02-25 at 10:23 -0800, Russ Allbery wrote:
> >> 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.
> Oh! Okay, that was the piece that I was missing. That's a better
> solution than what I have now.
> Thanks, I'll try to find time to look at this in the not-too-distant
I humbly offer up samba-common in unstable as an example of a package that
DTRT with ucf to manage a config file.
I wish the three-way merge support in ucf was better, but for all that, the
status quo is still pretty darn slick. :)
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/