Public bug reported: ecryptfs-setup-swap fails when activating swap at the end, giving the following error message:
swapon: cannot open /dev/mapper/cryptswap1: No such file or directory However, after a reboot, encrypted swap works. This happens because cryptsetup service works slightly differently now, and, after modifying /etc/crypttab, it is required to call "systemctl daemon-reload" before restarting cryptsetup service at the end of ecryptfs-setup-swap script. SOLUTION: add "systemctl daemon-reload" before "systemctl restart cryptsetup.target" ** Affects: ecryptfs Importance: Undecided Status: New ** Affects: ecryptfs-utils (Ubuntu) Importance: Undecided Status: New ** Also affects: ecryptfs Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1886723 Title: ecryptfs-setup-swap fails when activating swap To manage notifications about this bug go to: https://bugs.launchpad.net/ecryptfs/+bug/1886723/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs