[pkg-cryptsetup-devel] Bug#578428: cryptsetup: Missing disk/device name in passphrase dialog: "Unlocking the disk ()"

Helmar Gerloni helmar at gerloni.net
Mon Apr 19 19:40:40 UTC 2010


Package: cryptsetup
Version: 2:1.1.0-2.1
Severity: minor
Tags: squeeze patch

When asking for the passphrase cryptsetup does not show the disk/device name:

/etc/init.d/cryptdisks start
Starting remaining crypto disks...sda6encr (starting)...
Unlocking the disk  ()
Enter passphrase:
sda6encr (started)...done.

The solution is quite simple:
diff /lib/cryptsetup/cryptdisks.functions.orig 
/lib/cryptsetup/cryptdisks.functions
355c355
< keyscriptarg="Unlocking the disk $cryptsource ($crypttarget)\nEnter 
passphrase: "
---
> keyscriptarg="Unlocking the disk $src ($dst)\nEnter passphrase: "

cat /etc/crypttab
# <target name> <source device>  <key file>  <options>
sda6encr        /dev/sda6        none        cipher=aes-cbc-plain,timeout=60

-- System Information:
Debian Release: squeeze/sid
  APT prefers proposed-updates
  APT policy: (500, 'proposed-updates'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-3-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cryptsetup depends on:
ii  dmsetup                      2:1.02.45-1 The Linux Kernel Device Mapper 
use
ii  libc6                        2.10.2-6    Embedded GNU C Library: Shared 
lib
ii  libdevmapper1.02.1           2:1.02.45-1 The Linux Kernel Device Mapper 
use
ii  libpopt0                     1.15-1      lib for parsing cmdline 
parameters
ii  libuuid1                     2.16.2-0    Universally Unique ID library

cryptsetup recommends no packages.

Versions of packages cryptsetup suggests:
ii  dosfstools                    3.0.9-1    utilities for making and checking
ii  initramfs-tools [linux-initra 0.93.4     tools for generating an initramfs
ii  udev                          151-3      /dev/ and hotplug management 
daemo

-- no debconf information





More information about the pkg-cryptsetup-devel mailing list