Public bug reported:

Binary package hint: initramfs-tools

When update-initramfs runs it creates a backup of the current initrd. If
one of the hooks has a MINKVER set that's not fulfilled, update-
initramfs leaves an initrd of 0 bytes and the backup. If update-
initramfs runs again, it overwrites the old backup with a new backup of
the 0 bytes initrd. During an edgy->feisty userland upgrade, "update-
initramfs -u" is run numerous times, nuking the current initrd,
rendering the system unbootable.

Attaching a fix that restores the backup. I'm not sure, though, if
restore_backup should be called only if minversion isn't met, or in all
cases where update-initramfs fails.

** Affects: initramfs-tools (Ubuntu)
     Importance: High
         Status: Unconfirmed

-- 
update-initramfs truncates initrd if MINKVER not met
https://bugs.launchpad.net/bugs/101844
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to