[pkg-cryptsetup-devel] Bug#635631: cryptsetup: Files not found in initrd image

Rodolfo Garcia kix at kix.es
Wed Jul 27 18:17:05 UTC 2011


Package: cryptsetup
Version: 2:1.3.0-3
Severity: important

Hi,

the package cryptsetup does not include some files in the initrd image, like "busybox" or "depmod". When the system boots, if you are using key to store your key, you get something like this:

/lib/cryptsetup/scripts/crypt-usb-key.sh: line 240: busybox: not found

Then ask for the key using passphrase. Because the stty command is not installed, the key is shown in the screen.

Regards.

-- Package-specific info:
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-2.6.39-2-amd64 root=/dev/mapper/sda5_crypt ro quiet

-- /etc/crypttab
# sda5_crypt /dev/sda5 root.key luks,keyscript=/usr/local/sbin/crypto-usb-key.sh
sda5_crypt UUID=xxxxxxxx-4f86-4b6b-8114-11b631b59b3d key luks,keyscript=/usr/local/sbin/crypto-usb-key.sh
# sda6_crypt /dev/sda6 root.key luks,keyscript=/usr/local/sbin/crypto-usb-key.sh
sda6_crypt UUID=xxxxxxxx-e380-4e25-92c5-df3175a016eb key luks,keyscript=/usr/local/sbin/crypto-usb-key.sh
# sda7_crypt /dev/sda7 root.key luks,swap,keyscript=/usr/local/sbin/crypto-usb-key.sh
sda7_crypt UUID=xxxxxxxx-1fb4-4cba-a527-ceddf4c85f1e key luks,swap,keyscript=/usr/local/sbin/crypto-usb-key.sh
# sda8_crypt /dev/sda8 root.key luks,keyscript=/usr/local/sbin/crypto-usb-key.sh
sda8_crypt UUID=xxxxxxxx-96ac-4788-b6a6-683fc04efb29 key luks,keyscript=/usr/local/sbin/crypto-usb-key.sh

-- /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc			/proc           proc    defaults		0 0
/dev/mapper/sda5_crypt	/               ext3    errors=remount-ro	0 1
# /dev/sda3		/boot           ext3    defaults		0 2
UUID=abbc72aa-c390-4c3c-b95c-a525d4407aa8	/boot           ext3    defaults		0 2
/dev/mapper/sda6_crypt	/home           ext3    defaults		0 2
/dev/mapper/sda7_crypt	none            swap    sw			0 0
/dev/scd0		/media/cdrom0   udf,iso9660 user,noauto		0 0
# /dev/sda2		/media/win	ntfs	defaults		0 0
UUID=266059196058F153		/media/win	ntfs	defaults		0 0
# /dev/sda8		/media/data	ntfs	defaults		0 0
/dev/mapper/sda8_crypt	/home/kix/vm	ext3	defaults		0 3

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (1001, 'testing'), (60, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.39-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cryptsetup depends on:
ii  debconf [debconf-2.0]        1.5.40      Debian configuration management sy
ii  dmsetup                      2:1.02.63-3 The Linux Kernel Device Mapper use
ii  libc6                        2.13-7      Embedded GNU C Library: Shared lib
ii  libcryptsetup1               2:1.3.0-3   libcryptsetup shared library
ii  libpopt0                     1.16-1      lib for parsing cmdline parameters

cryptsetup recommends no packages.

Versions of packages cryptsetup suggests:
ii  busybox                       1:1.18.4-2 Tiny utilities for small and embed
ii  dosfstools                    3.0.9-1    utilities for making and checking 
ii  initramfs-tools [linux-initra 0.99       tools for generating an initramfs
ii  liblocale-gettext-perl        1.05-6+b1  Using libc functions for internati
ii  udev                          171-3      /dev/ and hotplug management daemo

-- debconf information excluded





More information about the pkg-cryptsetup-devel mailing list