Cryptsetup has to be done via script rather than udev rule since it has to prompt for input, and udev rules can't do that.
I think just two things need done to fix this: 1) cryptsetup needs a failure hook 2) try_failure_hooks needs to continue trying all failure hooks rather than return as soon as one succeeds This would allow the failure hooks to activate one or more degraded raid arrays, and finally cryptsetup to unlock the volume. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/251164 Title: boot impossible due to missing initramfs failure hook / event driven initramfs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/251164/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs