initramfs/cryptroot: missing /lib/cryptsetup/askpass
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PLD Linux |
New
|
Undecided
|
Unassigned |
Bug Description
bug in cryptsetup-
in some distros package cryptsetup contains util askpass
in /usr/share/
# copy_exec /lib/cryptsetup
/usr/share/
if [ -z "$cryptkeyscript" ]; then
cryptkeyscri
cryptkey="Enter passphrase to unlock the disk $cryptsource ($crypttarget): "
fi
if ! crypttarget=
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