creating LUKS partitions with manual partitioning fails to format
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubiquity (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I tried this with the current Xenial amd64 desktop ISO. But the bug was introduced a month or two ago already, I just didn't get around to reporting it yet.
- start with blank 10 GB qemu image
- "something else" partitioning
- create 5000 MB physical volume for encryption (vda1)
- create 2000 MB physical volume for encryption (also "primary" type) (vda2)
- create 500 MB ext2 /boot (vda3)
- configure vda1_crypt for /
- configure vda2_crypt for /opt
- ack the "no swap" warning
A few seconds later you get an error "The attempt to mount a file system with type ext4 in Encrypted Volume (vda1_crypt) at / failed."
Both LUKS partitions got created, and vda2_crypt even got formatted, but
vda1_crypt didn't:
$ blkid | grep vda
/dev/vda1: UUID="10c933ae-
/dev/vda2: UUID="b3731d04-
/dev/vda3: UUID="0e7ad77f-
/dev/mapper/
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: ubiquity 2.21.44
ProcVersionSign
Uname: Linux 4.4.0-6-generic x86_64
ApportVersion: 2.20-0ubuntu3
Architecture: amd64
CasperVersion: 1.367
CurrentDesktop: Unity
Date: Mon Feb 22 09:39:24 2016
InstallCmdLine: file=/cdrom/
LiveMediaBuild: Ubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160221)
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)
I just tested this on 15.10 amd64 desktop, and it fails with the same bug. So indeed this isn't a recent regression.