[pkg-cryptsetup-devel] Bug#585099: cryptsetup: "plymouth ask-for-password --prompt" command not found

Alexandre Rossi alexandre.rossi at gmail.com
Wed Jun 9 06:56:52 UTC 2010


Package: cryptsetup
Version: 2:1.1.2-1
Severity: normal
Tags: patch

Using the graphical boot loader plymout fails with the following error:
"plymouth ask-for-password --prompt" command not found

This trivial patch fixes the problem. Cheers!

diff -Nru cryptsetup-1.1.2.old//debian/cryptdisks.functions cryptsetup-1.1.2/debian/cryptdisks.functions
--- cryptsetup-1.1.2.old//debian/cryptdisks.functions   2010-05-27 14:42:30.000000000 +0200
+++ cryptsetup-1.1.2/debian/cryptdisks.functions    2010-06-09 08:48:47.000000000 +0200
@@ -310,7 +310,7 @@

    while [ "$tried" -lt "$TRIES" ]; do
        if [ -n "$KEYSCRIPT" ]; then
-           if "$KEYSCRIPT" "$keyscriptarg" | cryptsetup $PARAMS luksOpen "$src" "$dst"; then
+           if $KEYSCRIPT "$keyscriptarg" | cryptsetup $PARAMS luksOpen "$src" "$dst"; then
                break
            fi
        else


-- Package-specific info:
-- /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-2.6.32-5-amd64 root=UUID=3d07d6e2-a06b-4a61-9943-814a01380fd3 ro quiet splash

-- /etc/crypttab
# <target name>	<source device>		<key file>	<options>
# /dev/hda3
cryptedhome	UUID=55b66054-2c21-4c3f-85a3-a45f3e0f971d	none		luks

-- /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# /dev/hda1       /               ext3    noatime,errors=remount-ro 0       1
LABEL=root       /               ext3    noatime,errors=remount-ro 0       1
# /dev/hda2       none            swap    sw              0       0
UUID=1522f6fb-6629-4129-b758-62512a22509e       none            swap    sw              0       0
/dev/mapper/cryptedhome	/home	ext3	defaults     	0	0
# /dev/hda5       /data           ext3    defaults        0   0
UUID=6eba1b6f-354c-4538-a349-ed6c8a9a2794       /data           ext3    defaults        0   0

-- lsmod
Module                  Size  Used by
binfmt_misc             6431  1
acpi_cpufreq            5555  0
firewire_sbp2          11514  0
firewire_core          36736  1 firewire_sbp2
crc_itu_t               1307  1 firewire_core
loop                   11783  0
sha256_generic          8692  2
aes_x86_64              7340  2
aes_generic            25714  1 aes_x86_64
cbc                     2539  1
dm_crypt               10507  1
snd_hda_codec_idt      42465  1
snd_hda_intel          19907  1
snd_hda_codec          54244  2 snd_hda_codec_idt,snd_hda_intel
snd_hwdep               5380  1 snd_hda_codec
snd_pcm                60471  2 snd_hda_intel,snd_hda_codec
arc4                    1274  2
snd_seq                42881  0
ecb                     1841  2
snd_timer              15582  2 snd_pcm,snd_seq
snd_seq_device          4493  1 snd_seq
snd                    46446  10 snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_seq,snd_timer,snd_seq_device
soundcore               4598  1 snd
iwl3945                52876  0
snd_page_alloc          6249  2 snd_hda_intel,snd_pcm
iwlcore                77442  1 iwl3945
mac80211              136844  2 iwl3945,iwlcore
led_class               2433  2 iwl3945,iwlcore
i2c_i801                7830  0
cfg80211              101432  3 iwl3945,iwlcore,mac80211
joydev                  8411  0
dell_laptop             1969  0
rfkill                 13044  2 cfg80211,dell_laptop
evdev                   7352  15
tpm_tis                 7336  0
battery                 4998  0
dcdbas                  5048  1 dell_laptop
ac                      2192  0
tpm                     9917  1 tpm_tis
pcspkr                  1699  0
tpm_bios                4521  1 tpm
psmouse                49777  0
serio_raw               3752  0
wmi                     4323  0
processor              30231  3 acpi_cpufreq
ext3                  106518  3
jbd                    37085  1 ext3
mbcache                 5050  1 ext3
dm_mod                 53754  3 dm_crypt
sd_mod                 29777  5
crc_t10dif              1276  1 sd_mod
ata_generic             2983  0
uhci_hcd               18521  0
i915                  252896  2
drm_kms_helper         20065  1 i915
drm                   142551  3 i915,drm_kms_helper
i2c_algo_bit            4225  1 i915
i2c_core               15712  5 i2c_i801,i915,drm_kms_helper,drm,i2c_algo_bit
video                  17445  1 i915
ata_piix               21012  4
thermal                11674  0
ehci_hcd               31039  0
button                  4650  1 i915
libata                133520  2 ata_generic,ata_piix
scsi_mod              122117  3 firewire_sbp2,sd_mod,libata
tg3                    95663  0
libphy                 14054  1 tg3
thermal_sys            11942  3 processor,video,thermal
output                  1692  1 video
usbcore               121959  3 uhci_hcd,ehci_hcd
nls_base                6361  1 usbcore


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

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

Versions of packages cryptsetup depends on:
ii  dmsetup                      2:1.02.48-1 The Linux Kernel Device Mapper use
ii  libc6                        2.11.1-3    Embedded GNU C Library: Shared lib
ii  libdevmapper1.02.1           2:1.02.48-1 The Linux Kernel Device Mapper use
ii  libpopt0                     1.16-1      lib for parsing cmdline parameters
ii  libuuid1                     2.17.2-3    Universally Unique ID library

cryptsetup recommends no packages.

Versions of packages cryptsetup suggests:
ii  busybox                       1:1.15.3-1 Tiny utilities for small and embed
ii  dosfstools                    3.0.9-1    utilities for making and checking
ii  initramfs-tools [linux-initra 0.96.1     tools for generating an initramfs
ii  udev                          157-1      /dev/ and hotplug management daemo

-- no debconf information





More information about the pkg-cryptsetup-devel mailing list