[Bug 989279] Re: Ubiquity fails to create encrypted home directory when no swap if configured
Launchpad Bug Tracker
989279 at bugs.launchpad.net
Fri Jul 13 23:30:12 UTC 2012
This bug was fixed in the package ubiquity - 2.11.15
---------------
ubiquity (2.11.15) quantal; urgency=low
* Drop hw-detect debugging attempts.
* Terminate status-to-debconf subprocess in DebconfInstallProgress more
gracefully to avoid desynchronising the debconf protocol if the
subprocess is killed between sending a command and receiving the
response (LP: #1023036).
* Make user-setup-encrypted-swap wait until partitioning has finished
before attempting to adjust /target/etc/fstab (LP: #1024343).
* Don't try and fail to set up encrypted swap if no swap partitions are
configured (LP: #989279).
-- Colin Watson <cjwatson at ubuntu.com> Sat, 14 Jul 2012 00:17:31 +0100
** Changed in: ubiquity (Ubuntu)
Status: Fix Committed => Fix Released
--
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:
In Progress
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