Persistent partition needs recovery after clean shutdown
After performing a clean shutdown by choosing “Shutdown immediately”, the persistent ext4 partition needs to perform recovery. As a result, if the USB drive is set read-only thought its hardware switch, the tails boot will hang after the persistent disk encryption password is entered. This is because if ext4 detects that it needs to recover by is read only, the mount will fail. If the disk is not read-only there is a dmesg log entry saying EXT4 recovery complete.
I was able to fix this by manually unmounting all the persistent partitions, and removing the cryptsetup mapping, before shutting down.
This is using Tails 0.19 with persistence (apt-cache, apt-lists, persistent folder and dotfiles)
Feature Branch: bugfix/unmount-persistent-volume-on-shutdown