Comment 17 for bug 251164

Revision history for this message
Phillip Susi (psusi) wrote :

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.