Fix reliability bugs in the initramfs toolchain

Registered by Colin Watson

update-initramfs fails badly if the filesystem becomes full, causing horrible confusion and bug reports. This should not happen. As well as fixing the underlying problems, can we improve the package management tools to try to ensure that there is sufficient free space to build the initramfs?

Blueprint information

Status:
Complete
Approver:
Colin Watson
Priority:
High
Drafter:
Kees Cook
Direction:
Needs approval
Assignee:
Luke Yelavich
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
Luke Yelavich
Completed by
Kees Cook

Whiteboard

2007/02/13: I've implemented the initramfs-tools side of the spec, and have also placed scripts in lvm2 and mdadm accordingly. I can't change the status/etc of this spec, however I'd consider it to be beta available, with the above note. Note that the mdadm script doesn't yet work properly, will be filing a bug and linking it to this spec.

Todo: initramfs needs to know about the devices that it needs to set up. See "How would you decide what device is needed?" at https://wiki.ubuntu.com/ReliableRaid

(?)

Work Items