I patched ecryptfs-setup-swap and now it works. The first modification is to avoid to run udevadm on a file (you get a "device node not found" error, harmless but annoying) The second modification is to put filename instead of UUID in /etc/crypttab if you have a swap file and not a swap partition. The third modification is to actually restart cryptdisk, since "/etc/init.d/cryptdisks restart" does nothing (see http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/vivid/cryptsetup/vivid/view/head:/debian/cryptdisks.init ), the right command is "systemctl restart cryptsetup.target"
** Patch added: "ecryptfs-setup-swap_patch_to_work_with_swapfiles.diff" https://bugs.launchpad.net/ubuntu/+source/ecryptfs-utils/+bug/1670336/+attachment/4832475/+files/ecryptfs-setup-swap_patch_to_work_with_swapfiles.diff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1670336 Title: Ubiquity problem with encrypted home option: system hangs because of ecryptfs-setup-swap not working with swapfiles To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ecryptfs-utils/+bug/1670336/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs