[Bug 989279] Re: Ubiquity fails to create encrypted home directory when no swap if configured

Daniel Kończyk 989279 at bugs.launchpad.net
Sun May 6 13:45:58 UTC 2012


The big warning says nothing about ecryptfs problems, so your reasoning
is false. Anyway, this warning has been there like forever and the
described problem appeared in this very version. It also affects current
users (like me) with plenty of RAM, who know very well that upgrading
Ubuntu is asking for problems and want to clean install a new version,
while keeping their encrypted home intact. It's the first time since I
can remember that it doesn't work.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/989279

Title:
  Ubiquity fails to create encrypted home directory when no swap if
  configured

Status in “ubiquity” package in Ubuntu:
  Triaged

Bug description:
  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/989279/+subscriptions




More information about the foundations-bugs mailing list