Public bug reported:

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-429b-41c6-b6e1-6d6d030f4223" TYPE="crypto_LUKS" 
PARTUUID="45be5903-01"
/dev/vda2: UUID="b3731d04-f3c9-485d-a89a-d6017cf5e87b" TYPE="crypto_LUKS" 
PARTUUID="45be5903-02"
/dev/vda3: UUID="0e7ad77f-ce4d-44c0-9b3c-7b8d18d8d686" TYPE="ext2" 
PARTUUID="45be5903-03"
/dev/mapper/vda2_crypt: UUID="4a40c613-7d81-431b-8c2f-f61929901c0d" TYPE="ext4"

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: ubiquity 2.21.44
ProcVersionSignature: Ubuntu 4.4.0-6.21-generic 4.4.1
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/preseed/ubuntu.seed boot=casper 
initrd=/casper/initrd.lz quiet splash ---
LiveMediaBuild: Ubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160221)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: ubiquity
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: ubiquity (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug ubiquity-2.21.44 ubuntu xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1548252

Title:
  creating LUKS partitions with manual partitioning fails to format

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1548252/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to