Comment 6 for bug 298906

Revision history for this message
Mattias Evensson (mevensson) wrote :

I noticed that LUKS detection is outside the retry loop which puzzled me a bit. Then I noticed that I have two entries in /conf/conf.d/cryptroot, one for the root fs and one for swap and both are on the same LVM.

So I guess my previous comment wasn't entirely correct, it's always on the fourth attempt it succeeds, never on the third.

> If I wait some time before entering the password the second time, it succeeds.

That's also incorrect. The LUKS detection must have succeeded the time I tried waiting longer making the second attempt succeed.

Changing the script to force LUKS isn't enough to make it work for me. If I don't wait some time before entering the password I still get failures. So I guess the correct solution is to add a delay until the RAID-device is ready, but I have no idea how to do that.