initramfs/cryptroot: missing /lib/cryptsetup/askpass

Bug #632351 reported by Marcin Grącki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PLD Linux
New
Undecided
Unassigned

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
   cryptkeyscript="/lib/cryptsetup/askpass"
   cryptkey="Enter passphrase to unlock the disk $cryptsource ($crypttarget): "
  fi

  if ! crypttarget="$crypttarget" cryptsource="$cryptsource" \
       $cryptkeyscript "$cryptkey" | $cryptcreate --key-file=- ; then
   message "cryptsetup: cryptsetup failed, bad password or options?"
   continue
  fi
^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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.