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

Bug#343302: initramfs-tools: should not regenerate images on upgrade



Package: initramfs-tools
Severity: important

The latest version of initramfs-tools (0.44) calls update-initramfs in
postinst to regenerate the latest initramfs on upgrades (see initramfs-tools
changelog, version 0.40ubuntu6).

This can be potentially very dangerous if the newer initramfs-tools for some
reason generates unbootable images as all images will be replaced with
unbootable ones (meaning that even older kernels kept in /boot as a fallback
solution might fail).

For instance, earlier combinations of initramfs-tools and udev automatically
loaded the ide-disk module for me. 0.44 doesn't and since it replaced all
initramfs-images without warning, none of my kernels boot (ok, it was simple
to fix, insmod the module, resume boot, then fix the error and regenerate the
images).

I think the auto-regereration should:
o be reverted; or
o carry a big warning; or
o be configurable

Regards,
David




Reply to: