[pkg-cryptsetup-devel] Bug#507727: cryptsetup: luksOpen gives misleading error message when dm-crypt module isn't loaded

Moritz Lenz mlenz at physik.uni-wuerzburg.de
Wed Dec 3 23:05:01 UTC 2008


Package: cryptsetup
Version: 2:1.0.6-6
Severity: normal

'cryptsetup luksOpen' fails with the message
'Command failed: No key available with this passphrase'
when the cause of the problem is tht the dm-crypt kernel module is not
loaded.
This is very confusing, and meant an unnecessary long debugging session
for me.
(In this case it would haven been rather easy to detect, since
/dev/mapper/control didn't exist).
Just observed on a fresh Lenny install (with RC1 installer).


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

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

Versions of packages cryptsetup depends on:
ii  dmsetup                      2:1.02.27-4 The Linux Kernel Device
Mapper use
ii  libc6                        2.7-16      GNU C Library: Shared libraries
ii  libdevmapper1.02.1           2:1.02.27-4 The Linux Kernel Device
Mapper use
ii  libpopt0                     1.14-4      lib for parsing cmdline
parameters
ii  libuuid1                     1.41.3-1    universally unique id library

cryptsetup recommends no packages.

Versions of packages cryptsetup suggests:
pn  dosfstools                    <none>     (no description available)
ii  initramfs-tools [linux-initra 0.92j      tools for generating an
initramfs
ii  udev                          0.125-7    /dev/ and hotplug
management daemo

-- no debconf information

-- 
Moritz Lenz
http://perlgeek.de/ |  http://perl-6.de/ | http://sudokugarden.de/





More information about the pkg-cryptsetup-devel mailing list