I'm having a problem with this as well. With Steve's fix, mkdir -p /var/run/cryptsetup/... fails because / is mounted read-only at the time. This then prevents cryptsetup from setting the correct mode (1777). If I change /var/run/cryptsetup/... to /mnt in cryptdisk.functions everything works fine.
I'm having a problem with this as well. With Steve's fix, mkdir -p /var/run/ cryptsetup/ ... fails because / is mounted read-only at the time. This then prevents cryptsetup from setting the correct mode (1777). If I change /var/run/ cryptsetup/ ... to /mnt in cryptdisk.functions everything works fine.