cryptdisks doesnt start on boot

Bug #238774 reported by feld
2
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/cryptdisks.functions file around line 34:

# Always output to console
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

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.

Revision history for this message
Reinhard Tartler (siretart) wrote :

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.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.