[Bug 773] Ask password twice on init
jbj
jbj-ubu at ura.dnsalias.org
Wed Mar 15 16:16:10 UTC 2006
Public bug report changed:
https://launchpad.net/malone/bugs/773
Comment:
I had that happen to me too, the cause for me was having two volumes crypted,
/ and swap. Though I specified swap to use /dev/random as a key, the initrd still prompts for password to start swap. My workaround I keep having to do is comment swap out of crypttab and fstab, then run mkinitrd, then uncomment them for the init scripts later.
You can verify that this is happening to you by doing dmsetup table and
looking at the keys for each encrypted volume. If the keys match, it
means the same key/passphrase was used this time around. If you are
trying to have random swap encryption and the key matches byte-for-byte
your root key, mkinitrd is making the same mistake on your system as
mine.
More information about the universe-bugs
mailing list