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

Bug#376008: initramfs-tools: conffile prompt



close 376008 0.67
thanks

On Mon, Jul 03, 2006 at 11:09:40PM +0200, maximilian attems wrote:
> clone 376008 -1
> retitle -1 mkinitrd migration needs to be done in preinst
> notfound 376008 0.67
You want "close [version]"; notfound just cancels a 'found'.

> stop
> 
> On Mon, Jul 03, 2006 at 04:50:44PM -0400, Justin Pryzby wrote:
> > On Mon, Jul 03, 2006 at 09:56:38PM +0200, maximilian attems wrote:
> <snipp>
> > > would you please check the version against this bug was closed!
> > > upload said fixed in 0.67.
> > Oops, you're right.  I didn't realize this was todays upload, so
> > installed from unstable and assumed the version was latest.
> 
> ok so we agree that the issue of modifying
> /etc/initramfs-tools/initramfs.conf aka bug #376008 is fixed.
> so marking your initial bugreport as fixed.
>  
> > I think the migration from mkinitrd should happen in preinst, not in
> > postinst.  In preinst it isn't a conffile, and this is where typical
> > conffile migration (move,remove,etc) strategies exist.  In postinst,
> > it *is* a conffile, and must not be modified.  At the very least it
> > should be protected with an
> 
> well it is a very theoretical conffile as we didn't exist previously
> and no one ships that, but you are right.
dpkg will prompt on the current upgrade if you do it in preinst, but
it will not do so until the next upgrade if you do it in postinst.

Justin



Reply to: