System keeps asking for cryptswap password
I have a fresh installation of Kubuntu 16.04.1 (kernel 4.13.0-32-generic). The home folder is encrypted (installation option).
The OS keeps asking for the encrypted swap partition password in two cases:
- On boot, before the log in screen it always asks for the password for cryptswap.
- On
sudo apt-get upgrade
see image:
This causes two major usability problems:
- One I already asked here. Still no answer.
- The other is that the GUI software center does not automatically detect updates, it does only after I do
sudo apt-get update
. Also, it "hangs" when updating from GUI (I suspect that it is waiting for the cryptswap password that from the terminal I can write but not in the GUI).
after lots of search engine fu, I was able to find someone with the same issue as us. It was a simple fix:
sudo apt install ecryptfs-utils --reinstall
sudo update-grub
There was a long thread in 2015 about how ecryptfs-utils, GPT partitions, and swap can get a little dicey with systemd.