[Pkg-cryptsetup-devel] Bug#475838: cryptsetup: Would like to use decrypt_derived with a source mapping other than that of the root filesystem

Sam Morris sam at robots.org.uk
Sun Apr 13 10:09:38 UTC 2008


Package: cryptsetup
Version: 2:1.0.6-1
Severity: wishlist

I only have /home encrypted, not the root filesystem... my crypttab
looks like this:

durandal-home_crypt /dev/mapper/durandal-home none luks
durandal-swap_crypt /dev/mapper/durandal-swap durandal-home_crypt cipher=aes-cbc-essiv:sha256,size=256,hash=sha256,keyscript=/lib/cryptsetup/scripts/decrypt_derived

However the initramfs hooks only include the durandal-swap_crypt in the
initramfs, thus I get an error, "decrypt_derived: failed to find
durandal-home_crypt in dmtable" at boot time.

Alternatively, if there is another way to set up encrypted swap so that
I can hibernate to it, I would love to hear it. :)

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (530, 'testing'), (520, 'unstable'), (510, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages cryptsetup depends on:
ii  dmsetup                      2:1.02.24-4 The Linux Kernel Device Mapper use
ii  libc6                        2.7-10      GNU C Library: Shared libraries
ii  libdevmapper1.02.1           2:1.02.24-4 The Linux Kernel Device Mapper use
ii  libpopt0                     1.10-3      lib for parsing cmdline parameters
ii  libuuid1                     1.40.8-2    universally unique id library

cryptsetup recommends no packages.

-- no debconf information





More information about the Pkg-cryptsetup-devel mailing list