initramfs/cryptroot: missing /lib/cryptsetup/askpass

Bug #632351 reported by Marcin Grącki on 2010-09-07
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PLD Linux

Bug Description

bug in cryptsetup-luks-initramfs-1.1.2-2.i686
in some distros package cryptsetup contains util askpass

in /usr/share/initramfs-tools/hooks/cryptroot #484 someone commented line:
# copy_exec /lib/cryptsetup/askpass

/usr/share/initramfs-tools/scripts/local-top/cryptroot #215
  if [ -z "$cryptkeyscript" ]; then
   cryptkey="Enter passphrase to unlock the disk $cryptsource ($crypttarget): "

  if ! crypttarget="$crypttarget" cryptsource="$cryptsource" \
       $cryptkeyscript "$cryptkey" | $cryptcreate --key-file=- ; then
   message "cryptsetup: cryptsetup failed, bad password or options?"
^this fails at boot from initramfs image

for my needs I replaced cited section with $cryptcreate

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers