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

Bug#463728: files in /var/lib/initramfs-tools/



On 17/03/2008 maximilian attems wrote:
> On Mon, Mar 17, 2008 at 12:40:56PM +0100, Jonas Meurer wrote:
> > 
> > I'm not sure how these files went to /var/lib/initramfs-tools and if
> > this was by purpose. But update-initramfs tries to update obsolete
> > initrds if the wrong files exist in this directory.
> > 
> > Either there must be some bug in creating and/or removing files from
> > /var/lib/initramfs-tools, or in using them.
> 
> yes a sha1sum of the initramfs is stored there.
> older linux images < 2.6.24-1 generate those files but don't remove
> them on purge it is natural for update-initramfs to then just try them.
> 
> the bug is fixed in newer linux-2.6, but i guess not in kernel-package
> generated images..
> 
> so you'd prefer update-initramfs to be silent on those nuked,
> but once existing initramfs?

I'd suggest that update-initramfs either ignores those obsolete but
still present sha1sums, or at least prints a warning.

At the very least update-initramfs should go on with newer kernels which
are present but don't have a sha1sum file stored. Currently it seems to
stop after trying all versions with a sha1sum file available.

greetings,
 jonas



Reply to: