Ubiquity fails to create encrypted home directory when no swap if configured
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubiquity (Ubuntu) |
Fix Released
|
High
|
Colin Watson | ||
Precise |
Fix Released
|
High
|
Colin Watson |
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.
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/
Apr 26 23:12:05 ubuntu ubiquity:
Apr 26 23:12:05 ubuntu ubiquity: /usr/share/
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
ProcVersionSign
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/
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)
Changed in ubiquity (Ubuntu): | |
importance: | Medium → High |
assignee: | nobody → Colin Watson (cjwatson) |
Changed in ubiquity (Ubuntu Precise): | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Colin Watson (cjwatson) |
milestone: | none → ubuntu-12.04.1 |
Changed in ubiquity (Ubuntu): | |
status: | Triaged → Fix Committed |
Changed in ubiquity (Ubuntu Precise): | |
status: | Triaged → In Progress |
description: | updated |
description: | updated |
Thanks for your report. I can reproduce with your steps. Setting to 'medium' because there is a big warning in the manual partitioner when the user continues without swap.