@linux-rog: Oh, yes. I could click the button "Yes, it affects me" a few times for all the other people who complain at me.
I have written a short shell script I run every time when I need to fix this issue:
#!/usr/bin/env bash
mkswap /dev/sda2 -U [UUID from /etc/crypttab] -L swap swapon /dev/sda2 ecryptfs-setup-swap swapon -s
It works, but has the disadvantage that everytime it is called, a new entry is created in both /etc/fstab and /etc/crypttab. But they do not work anyway.
@linux-rog: Oh, yes. I could click the button "Yes, it affects me" a few times for all the other people who complain at me.
I have written a short shell script I run every time when I need to fix this issue:
#!/usr/bin/env bash
mkswap /dev/sda2 -U [UUID from /etc/crypttab] -L swap setup-swap
swapon /dev/sda2
ecryptfs-
swapon -s
It works, but has the disadvantage that everytime it is called, a new entry is created in both /etc/fstab and /etc/crypttab. But they do not work anyway.