[arch-general] crypttab support for non-root devices with systemd
d at falconindy.com
Sat Dec 8 20:14:44 EST 2012
On Dec 8, 2012 8:12 PM, "Karol Babioch" <karol at babioch.de> wrote:
> Am 08.12.2012 22:06, schrieb Dave Reisner:
> > Without posting it, I have no idea.
> Basically it looks like this:
> raid /dev/sdb1 "xxx"
> In this setup "/dev/sdb1" is a encrypted block device. Its not the one
> mentioned in the beginning, but the situation is quite similar. "xxx" is
> the passphrase.
> This worked just fine with the "old" initscripts. Maybe I'm missing
> something, but from my understanding of the appropriate man page it
> should actually work?
The man page makes no mention of allowing plaintext passwords in crypttab.
Sure enough, this doesn't work. Use a key file.
> > You've not mentioned the behavior you expect, either.
> Right now I get asked for the passphrase during boot. I would like this
> dialog to disappear. I would like to have the device unlocked, activated
> and mounted automatically. For the time being I would like to use
> "lvm-on-crypt", only to be replaced with "lvm-monitoring" once it hits
> the official repositories.
> Thanks for your help!
> Best regards,
> Karol Babioch
More information about the arch-general