[Bug 632351] [NEW] initramfs/cryptroot: missing /lib/cryptsetup/askpass
Marcin Grącki
632351 at bugs.launchpad.net
Tue Sep 7 14:00:02 CEST 2010
Public bug reported:
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
** Affects: pld-linux
Importance: Undecided
Status: New
--
initramfs/cryptroot: missing /lib/cryptsetup/askpass
https://bugs.launchpad.net/bugs/632351
You received this bug notification because you are subscribed to PLD
Linux.
Status in PLD Linux Distribution: New
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
More information about the pld-bugs
mailing list