Comment 3 for bug 475936

The workaround proposed here will not work in the archive at large. I believe the correct fix is to signal mountall to rescan at the end of the do_swap() and do_tmp() functions in /lib/cryptsetup/cryptdisks.functions. Could someone test whether this fixes the issue?:

    PID=$(status mountall 2>/dev/null | sed -e '/,/{s/.*,[^0-9]*//;q};d')
    [ -n "$PID" ] && kill -USR1 $PID || true

If it doesn't, please also add the following command to the top of the "script" block in /etc/init/cryptdisks-enable.conf:

    initctl log-priority debug

and attach the resulting /var/log/syslog file to this bug.