[pkg-cryptsetup-devel] Bug#492451: cryptsetup doesn't work with encrypted root and splashy in initramfs
John Hughes
john at calva.com
Sat Jul 26 08:37:52 UTC 2008
Package: cryptsetup
Version: 2:1.0.6-3-jh1
Severity: important
Tags: patch
The askpass program, used to get the passphrase for decryption, doesn't
know how to talk to splashy. If splashy is configured in the initramfs
then the boot hangs at the point where crypsetup prompts for the
passprhrase to decrypt the root filesystem.
A simple patch to make askpass work with splashy is attached. Another,
possibly preferrable way of doing this would be to use the
/sbin/splashy_update program, via popen, to get the password. This does
imply some horrid shell quoting problems however.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.25-2-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/bash
Versions of packages cryptsetup depends on:
ii dmsetup 2:1.02.27-3 The Linux Kernel Device Mapper use
ii libc6 2.7-12 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:
pn dosfstools <none> (no description available)
ii initramfs-tools [linux-initra 0.92e tools for generating an initramfs
ii udev 0.124-4 /dev/ and hotplug management daemo
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cryptsetup.patch
Type: text/x-c
Size: 2379 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20080726/268a27e9/attachment.bin
More information about the pkg-cryptsetup-devel
mailing list