[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: yaird, kernel 2.6.17 and dm-crypted disks



Dne st 12. července 2006 16:32 Michael Olbrich napsal(a):
> On Wed, Jul 12, 2006 at 02:56:54PM +0200, Miroslav Maiksnar wrote:
> > I'm trying to upgrade my laptop from stable to testing including new
> > kernel. My problem is, all partitions are encrypted except /boot and for
> > security reasons I have encryption keys stored on encrypted USB flash
> > disk.
> >
> > I used kernel 2.6.13 and mkinitrd with my script, which detects plugged
> > USB flashdisk, set up and mount dm-crypted partition on it (asking for a
> > password) and using information and scripts stored there to set up
> > dm-crypted partitions on harddisk.
> >
> > Problem is, I can't find a way how to configure yaird to ignore encrypted
> > disks and let my script set it up. And i didn't find a way to configure
> > it properly via /etc/crypttab.
>
> Why should yaird ignore the encrypted disks? Afaik it should be able to
> handle your configuation. What exactly is the problem with /etc/crypttab?
> And what is the overall problem anyway? Does yaird fail to create the
> initrd or it it missing things? Some error messages would help.

Problems with /etc/crypttab are:
1) I'm not using it at all, because it is located on encrypted partition and 
at the moment, when it become accessible is everything already set up.
2) when I setup information in crypttab according to my needs, i got message 
"yaird error: encrypted device 'root' has keyfile specified 
in /etc/crypttab:6. This is not supported. (fatal)". And after some RTFM I 
found "If the source of the passphrase is something other than the console, 
abort. There are too many variables to support this reliably."

Mixi



Reply to: