[Bug 251164] Re: boot impossible due to missing initramfs failure hook / event driven initramfs
ceg
251164 at bugs.launchpad.net
Sun May 13 10:07:17 UTC 2012
The udev rules don't need to prompt, the cryptsetup that gets called
will prompt. Actually, these things work quite well in the normal
system. It seems preferable to me to adjust/improve the regular tools to
be usable in initramfs as well, rather then trying to script up and
maintain! another thing inherently limited.
Failure hooks for example will be called in a specific order (not
necessarily matching the setup), if you are looping this should time out
with a message, then if the user plugs in the missing disk it won't come
up automatically (and if it does possibly only with a large delay as all
unrelated loops need to time out first), etc. Thus, its better to go
event driven, and then why not favor a proven tool.
Reasonable timeouts (see above and https://wiki.ubuntu.com/ReliableRaid)
are another reason to go event driven, they should not be several
waiting loops stacked up and possibly blocking each other.
Bug #491463 "support upstart within an initramfs"
https://launchpad.net/~csurbhi/+archive/natty-initramfs
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to mdadm in Ubuntu.
https://bugs.launchpad.net/bugs/251164
Title:
boot impossible due to missing initramfs failure hook / event driven
initramfs
Status in “cryptsetup” package in Ubuntu:
Triaged
Status in “mdadm” package in Ubuntu:
Confirmed
Bug description:
the cryptsetup package needs proper integration into the initramfs
failure hooks
The system must not assume a particular layered setup or sequence of
appearance of (hotplug/udev/crypt/md/degraded-md/lvm) devices.
It must be able to boot with any possible combination raid, lvm, crypt
combination that the debian-installer can produce.
Description of solution in comment #15
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/251164/+subscriptions
More information about the foundations-bugs
mailing list