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

Brian Murray brian at ubuntu.com
Thu Jul 19 20:38:15 UTC 2012


Hello amay82, or anyone else affected,

Accepted ubiquity into precise-proposed. The package will build now and
be available at http://launchpad.net/ubuntu/+source/ubiquity/2.10.18 in
a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please change the bug tag from
verification-needed to verification-done.  If it does not, change the
tag to verification-failed.  In either case, details of your testing
will help us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: ubiquity (Ubuntu Precise)
       Status: In Progress => Fix Committed

** Tags added: verification-needed

-- 
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:
  Fix Released
Status in “ubiquity” source package in Precise:
  Fix Committed

Bug description:
  [rational]
  Ubiquity fails to create encrypted home directory when no swap if configured.

  [test case]
  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

  [regression potential]
  Should the check fail (can't see how that could be ...), we'd just be back to the current behaviour, so can't see any real regression potential here.



  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