Public bug reported: Ubiquity fails to create encrypted home directory when no swap if configured.
1) Begin installing Ubuntu 2) Custom partitions - Don't configure a swap partition 3) When Ubiquity asks for the user name, say that you want an encrypted home folder 4) Ubiquity fails: see screenshot Last syslog lines: Apr 26 23:12:02 ubuntu ubiquity[3562]: debconffilter_done: ubiquity.components.install (current: ubi-usersetup) Apr 26 23:12:05 ubuntu kernel: [ 266.447125] Intel AES-NI instructions are not detected. Apr 26 23:12:05 ubuntu ubiquity: INFO: You do not currently have any swap space defined. Apr 26 23:12:05 ubuntu ubiquity: Apr 26 23:12:05 ubuntu ubiquity: You can create a swap file by doing: Apr 26 23:12:05 ubuntu ubiquity: $ sudo dd if=/dev/zero of=/swapfile count=12314816 Apr 26 23:12:05 ubuntu ubiquity: $ sudo mkswap /swapfile Apr 26 23:12:05 ubuntu ubiquity: $ sudo swapon /swapfile Apr 26 23:12:05 ubuntu ubiquity: Apr 26 23:12:05 ubuntu ubiquity: And then re-run /usr/bin/ecryptfs-setup-swap Apr 26 23:12:05 ubuntu ubiquity: Apr 26 23:12:05 ubuntu ubiquity: /usr/share/ubiquity/user-setup-encrypted-swap: 60: /usr/share/ubiquity/user-setup-encrypted-swap: cannot open /etc/crypttab: No such file Apr 26 23:12:05 ubuntu ubiquity: cp: cannot stat `/etc/crypttab': No such file or directory Because of the ecryptfs-setup-swap error I assume that it fails because of the missing swap partition. ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: ubiquity 2.10.16 ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14 Uname: Linux 3.2.0-23-generic x86_64 ApportVersion: 2.0.1-0ubuntu5 Architecture: amd64 CasperVersion: 1.315 Date: Fri Apr 27 00:16:03 2012 InstallCmdLine: noprompt cdrom-detect/try-usb=true file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash -- debian-installer/language=de keyboard-configuration/layoutcode?=de LiveMediaBuild: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425) ProcEnviron: TERM=xterm PATH=(custom, no user) LANG=de_DE.UTF-8 SHELL=/bin/bash SourcePackage: ubiquity UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: ubiquity (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug precise ubiquity-2.10.16 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/989279 Title: Ubiquity fails to create encrypted home directory when no swap if configured To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/989279/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs