keyfile doesn't work in initramfs
This bug report was converted into a question: question #37176: keyfile doesn't work in initramfs.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cryptsetup (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
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.
Changed in cryptsetup (Ubuntu): | |
status: | Invalid → New |
Changed in cryptsetup (Ubuntu): | |
status: | New → Confirmed |
[0] nokile:~$ dpkg -s cryptsetup | grep Version
Version: 2:1.0.5-2ubuntu12