I've found two bugs with the latest versions of the scripts. Instead of attaching the full scripts again, I'll just list the fixes.

1) In the hook script, the lines that load the crypto modules into the initramfs should be changed from:

for x in $modules; do
        manual_add_modules ${x}
done

into:

for x in $modules; do
        force_load ${x}
done


2) In order to allow for passphrase entry, the following lines in the cryptsetup local-premount script should be changed from:

if [ -x "/sbin/cryptgetpw" ]; then
        /sbin/cryptgetpw | $cryptcreate
else
        $cryptcreate
fi

into:

if [ -x "/sbin/cryptgetpw" ]; then
        /sbin/cryptgetpw | $cryptcreate
else
        $cryptcreate < /dev/console
fi



Regards,
David



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to