Re: Debian Configuration Packaging System
- To: debian-devel@lists.debian.org
- Subject: Re: Debian Configuration Packaging System
- From: Steve Langasek <vorlon@debian.org>
- Date: Fri, 11 Apr 2008 14:07:32 -0700
- Message-id: <[🔎] 20080411210732.GA4527@dario.dodds.net>
- Mail-followup-to: debian-devel@lists.debian.org
- In-reply-to: <87ve4canbo.fsf@windlord.stanford.edu>
- References: <Pine.LNX.4.64L.0802221908210.8173@vinegar-pot.mit.edu> <87pruln8e3.fsf@windlord.stanford.edu> <Pine.LNX.4.64L.0802242018280.12868@yaz-pistachio.mit.edu> <878x19lrua.fsf@windlord.stanford.edu> <Pine.LNX.4.64L.0802242103170.12868@yaz-pistachio.mit.edu> <87oda5k89n.fsf@windlord.stanford.edu> <1203932529.4166.17.camel@shizuru> <87ve4cdhfe.fsf@windlord.stanford.edu> <1203964162.10629.8.camel@tomoyo> <87ve4canbo.fsf@windlord.stanford.edu>
(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 <joss@debian.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
> future.
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/
slangasek@ubuntu.com vorlon@debian.org
Reply to: