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

Bug#376008: initramfs-tools: conffile prompt



clone 376008 -1
retitle -1 mkinitrd migration needs to be done in preinst
notfound 376008 0.67
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.
 
> f=/etc/initramfs-tools/modules
> if [ ! -e "$f" ] && [ ! -L "$f" ]; then

clone your bug report of so that this will be adressed in the next
upload, thanks for your eagle eyes, will move that to preinst.

regards

-- 
maks



Reply to: