Comment 14 for bug 238163

Revision history for this message
Nikolaus Rath (nikratio) wrote : Re: [Bug 238163] Re: keyfile doesn't work in initramfs

Reinhard Tartler <email address hidden> writes:
> Okay, now things become clearer.
>
> As explained before, you cannot expect to use a keyfile for the root
> file system,
[...]

But that is not what I want to do. I want to use a keyfile for the
*swap* filesystem.

> Where should the key for unencrypting the device come from?

Well, from the root file system I'd expect.

> For this reason, I'm converting your bug report to a support ticket,
> because that's what you're actually requesting. There is nothing
> wrong in the cryptsetup package in this point and the package is
> behaving exactly as I would expect it to do.

I'm afraid I still don't see why the warning is appropriate. I'd be
glad if you could try to explain again why the swap filesystem cannot
be decrypted using the key from the root filesystem (this can't be
more difficult than using removable media, can it?).

Thanks for your efforts,

   -Nikolaus

--
 <email address hidden> | College Ring 6, 28759 Bremen, Germany
 Class of 2008 - Physics | Jacobs University Bremen

 »My opinions may have changed, but not the fact that I am right.«