cryptdisks doesnt start on boot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cryptsetup (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: cryptsetup
Cryptdisks doesnt start on boot.
Problem: cryptdisks-early and cryptdisks don't complete successfully
I did some bug hunting and found on boot there was an error showing twice. This is not verbatim, but it was something like
Error: exec env failed (line 34)
Since they happened twice and these processes run the same script, I knew it must have been cryptdisks.
The /lib/cryptsetup
# Always output to console
stdin=`readlink /proc/self/fd/0`
if [ "${stdin#
exec env ON_VT=yes /usr/bin/openvt -f -c `fgconsole` -w $0 "$@"
fi
Commenting the above out allows this to work. I'm not a bash guru; I don't know what is wrong there. All I know is that running the script while logged into X completes successfully.
Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug #178829, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.