My whole HDD and home dir are encrypted (so it seems to encrypt the swap partition too by default) I accidentaly shutdown the PC by with the power button. The result was that Ubuntu was starting only in recovery mode and I had to reinstall it. Even the debian in virtualbox, which was running at the time of the shutdown, was messed up. It started in read only mode, fsck fixed it partly but there are still problems.
So, how come this encrypted swap causes so much trouble and is this going to happen every time there is hard shutdown?
I installed 17.04 which SUPPOSEDLY comes with swap file instead of partition, but I don't see a swap file and there is still swap partition. I installed fresh, so it did not keep anything from the previous install.