From: Alberto Pianon Subject: Fix to make the script work with recent changes in cryptsetup service Bug-Ubuntu: https://launchpad.net/bugs/1886723 Last-Update: 2020-07-08 --- ecryptfs-utils.orig/src/utils/ecryptfs-setup-swap +++ ecryptfs-utils/src/utils/ecryptfs-setup-swap @@ -208,6 +208,7 @@ if [ "$NO_RELOAD" != 1 ]; then swapoff -a # Restart cryptsetup + systemctl daemon-reload systemctl restart cryptsetup.target # Turn the swap on