keyfile doesn't work in initramfs
Binary package hint: cryptsetup
I am using an encrypted root and swap partition. As long as I enter the keys manually ("none" in /etc/crypttab), everything works fine.
Now I wanted to save the key for the swap fs on the root fs as I did for other encrypted filesystems. However, for the swap partition, this results in update-initramfs complaining that:
> cryptsetup: WARNING: target sda7_crypt uses a key file, skipped
Probably as a result of this, I can no longer resume the system, it always performs an ordinary boot.
I see no real reason why this should be a problem. If I enter both keys over the keyboard, I am first asked for the key of the root fs, so it seems to me that there should be no problem in retrieving the key for the swap fs from the just mounted root fs.