[pkg-cryptsetup-devel] Bug#493848: Problem source: /lib/cryptsetup/cryptdisks.functions
Yusuf Iskenderoglu
enygma at gmx.de
Tue Aug 5 11:41:01 UTC 2008
Package: cryptsetup
Version: 2:1.0.6-4
Followup-For: Bug #493848
The problem lies in the source
file: /lib/cryptsetup/cryptdisks.functions
Right in the function do_noluks(), the variable PARAMS is set multiple
times.
In a configuration with a keyfile, this results in two --key-file
parameters,
one pointing to the correct one, and the other pointing to stdout, and
as well
as using cat and getting its output piped into cryptsetup.
In my system, I commented out both the first PARAM modification, and the
if loop,
however it might be sufficient to just remove the first line modifying
PARAMS:
PARAMS="$PARAMS --key-file=$key"
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20080805/53085048/attachment.pgp
More information about the pkg-cryptsetup-devel
mailing list