[pkg-cryptsetup-devel] Bug#507722: cryptsetup: unable to enter passphrase at boot time

Jochen Schulz jrschulz at well-adjusted.de
Wed Dec 3 22:00:46 UTC 2008


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

Hi,

I am trying to use an encrypted /home filesystem on a system whose boot
process is managed by insserv.

Unfortunately, the prompt from /etc/init.d/cryptdisks isn't visible on
screen at the time I am supposed to enter the passphrase. The system
just sits idle waiting for me to enter it. Above the cursor are kernel
messages about detected devices and information about a boot log being
created.

What makes things worse (and this report Severity: important, at least
in my opinion) is that, more often than not, my keypresses are echoed to
the screen and don't get read by cryptseup at all. Since cryptsetup is
the only software needing user interaction at boot time (and both
situations look exactly equally on screen), I strongly suspect it to be
the culprit. It looks like it closes stdin even before I have the chance
to enter my passphrase.

Thanks,
Jochen.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

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:
ii  dosfstools                    3.0.1-1    utilities for making and checking 
ii  initramfs-tools [linux-initra 0.92l      tools for generating an initramfs
ii  udev                          0.125-7    /dev/ and hotplug management daemo

-- no debconf information





More information about the pkg-cryptsetup-devel mailing list