In a VM, I've reproduced some very strange behavior with plymouth and cryptsetup. On a new install, I see:
- plymouth ask-for-password exits non-zero, and returns an empty string to the cryptsetup hook
- if I hit Esc to switch to the text interface instead of the graphical splash, then the first passphrase attempt after switching always fails, and the second one always succeeds
- when in graphical mode, plymouth ask-for-password never return non-zero
I don't have any explanation for this behavior at the moment. It has also not been reproducible on my laptop (real hardware), where I use crypted root with cryptsetup+plymouth, but I will do a test shortly.
In a VM, I've reproduced some very strange behavior with plymouth and cryptsetup. On a new install, I see:
- plymouth ask-for-password exits non-zero, and returns an empty string to the cryptsetup hook
- if I hit Esc to switch to the text interface instead of the graphical splash, then the first passphrase attempt after switching always fails, and the second one always succeeds
- when in graphical mode, plymouth ask-for-password never return non-zero
I don't have any explanation for this behavior at the moment. It has also not been reproducible on my laptop (real hardware), where I use crypted root with cryptsetup+ plymouth, but I will do a test shortly.