[pkg-cryptsetup-devel] Bug#493848: Source of this problem: /lib/cryptsetup/cryptdisks.functions
enygma at dreadnought.homelinux.org
enygma at dreadnought.homelinux.org
Tue Aug 5 10:50:39 UTC 2008
Package: cryptsetup
Version: 2:1.0.6-4
Followup-For: Bug #493848
The problem is, that the method do_noluks() in the
/lib/cryptsetup/cryptdisks.functions
file is broken.
The PARAMS variable is modified multiple times; before the if-loop regarding
the options about keyfiles and afterwards again. This results in calling
cryptsetup with two --key-file arguments and making the real keyfile unavailable.
The solution I use was commenting out both the first PARAMS variable modification
and the if-loop. However it might be enough to remove the first PARAMS variable
modification line:
PARAMS="$PARAMS --key-file=$key"
in that method (not tested).
regards,
Yusuf.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (850, 'unstable'), (800, 'testing'), (630, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.26 (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-3 The Linux Kernel Device Mapper use
ii libc6 2.7-13 GNU C Library: Shared libraries
ii libdevmapper1.02.1 2:1.02.27-3 The Linux Kernel Device Mapper use
ii libpopt0 1.14-4 lib for parsing cmdline parameters
ii libuuid1 1.41.0-3 universally unique id library
cryptsetup recommends no packages.
Versions of packages cryptsetup suggests:
ii dosfstools 2.11-6 utilities for making and checking
ii initramfs-tools [linux-initra 0.92e tools for generating an initramfs
ii udev 0.125-4 /dev/ and hotplug management daemo
-- no debconf information
More information about the pkg-cryptsetup-devel
mailing list