[Pkg-xen-devel] Bug#655301: Bug#655301: Bug#655301: Bug#655301: Bug#655301: Bug#655301: xcp-xapi fails to start

Ian Campbell ijc at hellion.org.uk
Thu Jan 19 20:56:21 UTC 2012


On Fri, 2012-01-20 at 03:48 +0800, Thomas Goirand wrote:
> On 01/18/2012 03:20 PM, Ian Campbell wrote:
> > Can't ucf be used for this? (e.g. generate a $TMP, or /var?, version of
> > the file and use ucf to handle the update).
> 
> As much as I know, ucf will only ask if the configuration file should be
> overwritten or not, and that's not what we want to do here, we want
> debconf as an interface to switch the TOOLSTACK value.

You ask the user if they want to overwrite their local configuration
with the one you have just generated from debconf. Maybe this isn't a
valid use of ucf, I don't know -- it was just an idea.

>  Am I wrong here
> again? :)
> 
> Can you comment on my grep -v solution?

Why not have a look at one of the undoubtedly many packages which
already does this?

Ian.


-- 
Ian Campbell


Having the fewest wants, I am nearest to the gods.
		-- Socrates






More information about the Pkg-xen-devel mailing list