Comment 35 for bug 62751

Revision history for this message
Jari Kankaala (jari-kankaala) wrote : Re: Upstart doesn't activate luks volumes in cryptsetup

Hi,

I'm also trying to get encryption to work under Edgy Eft. The tip given above seems to work, but after entering the LUKS password I get dumped into a root shell. I can exit and everything seems to continue as normal. Is there anyway to avoid getting into the root shell?

The tip I followed (I put this into /lib/cryptsetup/cryptdisks.functions):
stdin=`readlink /proc/self/fd/0`
if [ "${stdin#/dev/null}" != "$stdin" ] && [ "$ON_VT" != "yes" ]; then
    exec env ON_VT=yes /usr/bin/openvt -f -c `fgconsole` -w $0 "$@"
fi