no swap created when selecting both dm-crypt and ecryptfs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubiquity (Ubuntu) |
Expired
|
High
|
Unassigned |
Bug Description
When selecting both "Ecrypted LVM"(dm-crypt) and "Encrypt home directory"
May 18 21:17:07 ubuntu ubiquity: INFO: Setting up swap: [/dev/dm-2]
May 18 21:17:07 ubuntu ubiquity: INFO: Successfully setup encrypted swap!
May 18 21:18:56 ubuntu ubiquity: * Starting crypto disk...
May 18 21:18:56 ubuntu ubiquity: * cryptswap1 (skipped, device /dev/disk/
May 18 21:18:56 ubuntu ubiquity: ...fail!
$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 111.8G 0 disk
├─sda1 8:1 0 512M 0 part
├─sda2 8:2 0 244M 0 part
└─sda3 8:3 0 111.1G 0 part
└─sda3_crypt (dm-0) 252:0 0 111.1G 0 crypt
├─ubuntu-
└─ubuntu-
sdb 8:16 0 14.9G 0 disk
sdc 8:32 1 14.5G 0 disk
└─sdc1 8:33 1 14.4G 0 part /cdrom
loop0 7:0 0 933.9M 1 loop /rofs
$ blkid
/dev/sda1: UUID="320D-6F34" TYPE="vfat"
/dev/sda2: UUID="e75d9d7c-
/dev/sda3: UUID="79c9d6cb-
/dev/loop0: TYPE="squashfs"
/dev/sdc1: UUID="F2B2-8FBF" TYPE="vfat"
/dev/mapper/
/dev/mapper/
$ cat /target/
sda3_crypt UUID=79c9d6cb-
cryptswap1 UUID=1f4a2305-
$ tail -n +7 /target/etc/fstab
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/mapper/
# /boot was on /dev/sda2 during installation
UUID=e75d9d7c-
# /boot/efi was on /dev/sda1 during installation
UUID=320D-6F34 /boot/efi vfat defaults 0 1
/dev/mapper/
/dev/mapper/
ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: ubiquity 2.18.8
ProcVersionSign
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.2-0ubuntu4
Architecture: amd64
CasperVersion: 1.340
CurrentDesktop: Unity
Date: Mon May 19 06:22:55 2014
InstallCmdLine: BOOT_IMAGE=
LiveMediaBuild: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140518)
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: ubiquity
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | added: trusty |
Changed in ubiquity (Ubuntu): | |
importance: | Undecided → High |
After reboot, no swap mounted.
$ free -h
total used free shared buffers cached
Mem: 11G 1.2G 10G 207M 27M 603M
-/+ buffers/cache: 636M 10G
Swap: 0B 0B 0B
$ sudo swapon -a ubuntu- -vg-swap_ 1: read swap header failed: Invalid argument cryptswap1: stat failed: No such file or directory
swapon: /dev/mapper/
swapon: /dev/mapper/