Summary: | sys-fs/cryptsetup - parallel startup warnings interfere with dmcrypt password entry | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | crusaderky |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | CONFIRMED --- | ||
Severity: | minor | CC: | bertrand, ikelos, jstein, xmw |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
crusaderky
2008-11-20 15:08:53 UTC
If you give the dmcrypt init script the notimeout keyword and apply the OpenRC patch found on bug #247036 this should fix the issue. Yes? I upgraded to openrc-0.4.3-r1 and I modified /etc/conf.d/dmcrypt as following: options='notimeout' swap=crypt-swap source=/dev/sda4 target=crypt-data source=/dev/sda3 The problem DOES persist. I Want to suggest to improve the gpg-encrypted key example in /etc/conf.d/dmcrypt by adding gpg_options='--homedir /root/.gnupg --no-tty --decrypt --quiet' By this way, you'll get the pinentry for the passphrase of the corresponding gpg-key to decrypt the dmsetup secret. my config looks like target=home source='/dev/disk/by-id/ata-HITACHI_HTS541612J9SA00_3H_....-part7' options='--cipher aes-plain' key='/root/.gnupg/home.key:gpg' # the encrypted secret for cryptsetup gpg_options='--homedir /root/.gnupg --no-tty --decrypt --quiet' ok, the encrypted secret and the decryption key on the hard disk, secured by only a passphrase is only weak compromise, but compared to the gpg-less key mode, you can switch the interactive supplied passphrase without reencrypt the whole partition. my 2 cents |