[Pkg-cryptsetup-devel] Bug#444914: temporary-cryptsetup-$$ files appear in /dev/mapper

Dick Middleton dick at lingbrae.com
Mon Oct 1 19:16:40 UTC 2007


Package: cryptsetup
Version: 2:1.0.5-2
Severity: important


I have a curious effect; sometimes I get an error with luksOpen such as this:

Failed to setup dm-crypt key mapping.
Check kernel for support for the aes-cbc-plain cipher spec and verify that /dev/mapper/vg02-devil contains at least 261 sectors.
Failed to read from key storage
Command failed: No key available with this passphrase.

None of these problems exist - it's a perfectly valid luks partition
so the cause remains a mystery for the moment .... however:

On a subsequent attempt to luksOpen it will most likely succeed but
there then remains a file /dev/mapper/temporary-cryptsetup-$$ where $$
is obviously a process number.  This file can be removed with a
luksClose.

To reiterate, this file remains after a subsequent successful attempt
not after the preceeding failure.

This problem has only appeared on my system after upgrading the
hardware from a k7 system to an amd64 system and changing to a Debian
stock kernel (2.6.22-2-amd64) rather than a home brew (2.6.19) one.

Dick


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.22-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages cryptsetup depends on:
ii  dmsetup                      2:1.02.20-2 The Linux Kernel Device Mapper use
ii  libc6                        2.6.1-1     GNU C Library: Shared libraries
ii  libdevmapper1.02.1           2:1.02.20-2 The Linux Kernel Device Mapper use
ii  libgcrypt11                  1.2.4-2     LGPL Crypto library - runtime libr
ii  libpopt0                     1.10-3      lib for parsing cmdline parameters
ii  libselinux1                  2.0.15-2+b1 SELinux shared libraries
ii  libsepol1                    2.0.3-1+b1  Security Enhanced Linux policy lib
ii  libuuid1                     1.40.2-1    universally unique id library

cryptsetup recommends no packages.

-- no debconf information





More information about the Pkg-cryptsetup-devel mailing list