Ok, more progress.  keyctl must be installed otherwise update-initramfs
fails and you have to guess why.

And with everything plumbed in, I can't actually enter my passphrase and
the machine is unusable.  The reason is decrypt_keyctl is not using
whatever means is correct for prompting for the passphrase.  Before I
would get the prompt on the main Ubuntu screen (logo and 5 animated
dots).

That screen just animates forever.  If I switch consoles I do end up on
one that says "Caching passphrase for ....:" as what looks like a
prompt, but I can't get it to accept anything.

In recovery mode the animated ubuntu screen is not present, instead just
a text mode.  I get a prompt this time, but again can't get it to accept
anything. If I switch to the dmesg console, nothing is echoed until I
hit return. At that point decrypt_keyctl just says "No key available for
this passphrase" against the UUID of each encrypted device and then I am
dumped out at the (initramfs) shell.

So yeah, using it as things stand is a solution in spirit but in
practise leaves you with an unbootable machine.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1022815

Title:
  initramfs should try password against other devices

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/1022815/+subscriptions

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

Reply via email to