[Bug 238163] Re: keyfile doesn't work in initramfs

n0PxN0p 238163 at bugs.launchpad.net
Tue Aug 13 10:07:11 UTC 2013


** Changed in: cryptsetup (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to cryptsetup in Ubuntu.
https://bugs.launchpad.net/bugs/238163

Title:
  keyfile doesn't work in initramfs

Status in “cryptsetup” package in Ubuntu:
  Confirmed

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/238163/+subscriptions




More information about the foundations-bugs mailing list