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.

-- 
initrd can't mount root luks partition correctly on raid1
https://bugs.launchpad.net/bugs/298906
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to