--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: cryptsetup: Files not found in initrd image
- From: Rodolfo Garcia <kix@kix.es>
- Date: Wed, 27 Jul 2011 20:17:05 +0200
- Message-id: <20110727181705.3227.66763.reportbug@kentin.kix.es>
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
--- End Message ---
--- Begin Message ---
Source: initramfs-tools
Source-Version: 0.100
We believe that the bug you reported is fixed in the latest version of
initramfs-tools, which is due to be installed in the Debian FTP archive:
initramfs-tools_0.100.dsc
to main/i/initramfs-tools/initramfs-tools_0.100.dsc
initramfs-tools_0.100.tar.gz
to main/i/initramfs-tools/initramfs-tools_0.100.tar.gz
initramfs-tools_0.100_all.deb
to main/i/initramfs-tools/initramfs-tools_0.100_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 628374@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Michael Prokop <mika@debian.org> (supplier of updated initramfs-tools package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Tue, 14 Feb 2012 14:42:23 +0100
Source: initramfs-tools
Binary: initramfs-tools
Architecture: source all
Version: 0.100
Distribution: unstable
Urgency: low
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: Michael Prokop <mika@debian.org>
Description:
initramfs-tools - generic modular initramfs generator
Closes: 454665 566401 586381 589963 601319 607888 610462 615831 624702 628374 636495 639902 649399
Changes:
initramfs-tools (0.100) unstable; urgency=low
.
Release "singing in the snow ☃☃☃"
.
[ Michael Prokop ]
* [16280bb] lsinitramfs: support xz/lzma, bzip2 and lzop as compress
methods. (Closes: #586381)
* [ee16a4e] set_initlist: redirect warning messages to stderr.
(Closes: #601319)
* [af110e0] Alternate Recommends on busybox-static (Closes: #639902,
#454665)
* [b61413d] warn user if directory is present in confdir
(Closes: #610462)
.
[ maximilian attems ]
* [5409ca7] manual_add_modules: No longer add firmware.agent too.
(Closes: #566401)
* [4f98b0b] mkinitramfs: Use version comparison for xz or other
compression tools (Closes: #624702)
* [d479b47] initramfs-tools: rephrase description
* [07c822f] mkinitramfs: Check if TMPDIR is writable
* [b9ff58c] mkinitramfs: Use /var/tmp rather then /tmp for space reasons
* [bd3c5d8] Revert "Revert "mkinitramfs: Nuke MIN_VERSION handling.""
* [313db4c] MODULES=dep: Use /sys again to decide for libata or ide
(Closes: #607888)
* [9bec96f] debian/control: Drop versioned depend on pre-Etch udev
version
* [02ea666] debian/control: Tighten dep on klibc-utils 1.5.23-2
* [5c68e6e] init: Prepare for switch_root(8) usage
* [5e1f500] update-initramfs: Cleanup nowadays unused run_lilo()
* [b0d14a0] update-initramfs: run_bootloader() hooks on create too
* [8d0ffcb] preinst: get rid of awk usage (Closes: #589963)
.
[ Timo Juhani Lindfors ]
* [63932cc] panic(): print the name of each module before loading it
* [cd1981e] panic: Load modules for highly probable USB keyboard
(Closes: #615831)
.
[ Martin Pitt ]
* [b1530ee] hooks/busybox: Fix 2.99 busybox breakage (Closes: #628374)
.
[ Alkis Georgopoulos ]
* [b938c7e] configure_networking() wait for udev to populate available
nics (LP: #682445)
.
[ Harald Hoyer ]
* [9249db6] MODULES=dep: awk free version for root dev search
.
[ Sven Joachim ]
* [717397c] copy_exec: Handle optimized libraries under multiarch paths
(Closes: #636495)
.
[ Colin Watson ]
* [6cf2bd7] mark Multi-Arch: foreign (Closes: #649399)
Checksums-Sha1:
bc2050eeb1a6bf59db6cd28df61a0ff5caa2d9aa 1020 initramfs-tools_0.100.dsc
dc490fd5ced826064036e9673a85e046123da4f5 83219 initramfs-tools_0.100.tar.gz
22bb0cebf88b5e0565760739f6ccb4f877558dfd 89390 initramfs-tools_0.100_all.deb
Checksums-Sha256:
82ba37e8eee1a451f65bcc1967b3f4d7866c19735f32f66b405ee0a2de70a9cb 1020 initramfs-tools_0.100.dsc
137e0df9d7ad85aaf0094f18c1850e6eb37b1d120efcffb158b73ec806b3b0c2 83219 initramfs-tools_0.100.tar.gz
da173ff372cfbc2b6869c42bdbe85365376052fb94363f73b89f4432a0868bf7 89390 initramfs-tools_0.100_all.deb
Files:
9bc857366110e632f554fba12d45f827 1020 utils optional initramfs-tools_0.100.dsc
1b684b9f57c5e266f6a3ebf5bbbfab12 83219 utils optional initramfs-tools_0.100.tar.gz
2a0d2934df4d5e3ddcc64997df3c0009 89390 utils optional initramfs-tools_0.100_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iEYEARECAAYFAk86ZZUACgkQ2N9T+zficujjIwCdEcCfsrXrrKNXXbdN5B3E79Al
y+IAnjGWyvw9ltDoq36cs52PW4O7sEms
=OH9R
-----END PGP SIGNATURE-----
--- End Message ---