ZFS pool gets encrypted even when encryption is deselected again

Bug #1964788 reported by Hannes Hegewald
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
New
Undecided
Unassigned

Bug Description

Issue: As soon as security keys for an encrypted ZFS setup are entered, the system will get encrypted, even if this is not desired anymore and has been deselected in the installation process prior to proceeding with the installation.

Desired behavior: I expect that I can decide against encrypting my system, even when I have entered and not submitted security keys beforehand.

What happened: During the installation process, I first decided to go for an encrypted ZFS partition layout. Thus, I chose 'Advanced features', checked, 'Erase disk and use ZFS', as well as 'Encrypt the new Ubuntu installation for security', and clicked OK. I then clicked 'Continue' and entered two matching security keys. I did not opted for a recovery.

At this very point I changed my mind about encrypting the file system. I just clicked 'Back' without clearing my previously entered security keys. In 'Advanced features' I deselected the 'Encryption' checkbox and clicked 'Continue'. I was then asked to confirm the partition layout, which I did.

The rest of the installation went normal. As a surprise to me, I was asked for the security key I had previously entered. The system then boots normal.

Installation media: jammy-desktop-amd64.iso, downloaded March 11. Tested in VirtualBox and QEMU.
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu78
Architecture: amd64
CasperMD5CheckResult: pass
CasperVersion: 1.467
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 22.04
InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed maybe-ubiquity quiet splash ---
LiveMediaBuild: Ubuntu 22.04 LTS "Jammy Jellyfish" - Alpha amd64 (20220310)
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
Package: ubiquity 22.04.7 [modified: lib/partman/automatically_partition/question]
PackageArchitecture: amd64
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=C.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 5.15.0-22.22-generic 5.15.19
Tags: jammy ubiquity-22.04.7 ubuntu
Uname: Linux 5.15.0-22-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu78
Architecture: amd64
CasperMD5CheckResult: pass
CasperVersion: 1.467
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 22.04
InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed maybe-ubiquity quiet splash ---
LiveMediaBuild: Ubuntu 22.04 LTS "Jammy Jellyfish" - Alpha amd64 (20220310)
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
Package: ubiquity 22.04.7
PackageArchitecture: amd64
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=C.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 5.15.0-22.22-generic 5.15.19
RebootRequiredPkgs: Error: path contained symlinks.
Tags: jammy ubiquity-22.04.7 ubuntu
Uname: Linux 5.15.0-22-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True

Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command only once, as it will automatically gather debugging information, in a terminal:

apport-collect 1964788

When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

Changed in ubiquity (Ubuntu):
status: New → Incomplete
Revision history for this message
Hannes Hegewald (rw00t) wrote : Casper.txt

apport information

tags: added: apport-collected jammy ubiquity-22.04.7 ubuntu
description: updated
Revision history for this message
Hannes Hegewald (rw00t) wrote : Dependencies.txt

apport information

Revision history for this message
Hannes Hegewald (rw00t) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Hannes Hegewald (rw00t) wrote : UbiquityDebug.txt

apport information

Revision history for this message
Hannes Hegewald (rw00t) wrote : UbiquityDm.txt

apport information

Revision history for this message
Hannes Hegewald (rw00t) wrote : UbiquityPartman.txt

apport information

Revision history for this message
Hannes Hegewald (rw00t) wrote : UbiquitySyslog.txt

apport information

Revision history for this message
Hannes Hegewald (rw00t) wrote : Casper.txt

apport information

description: updated
Revision history for this message
Hannes Hegewald (rw00t) wrote : Dependencies.txt

apport information

Revision history for this message
Hannes Hegewald (rw00t) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Hannes Hegewald (rw00t) wrote : UbiquityDebug.txt

apport information

Revision history for this message
Hannes Hegewald (rw00t) wrote : UbiquityDm.txt

apport information

Revision history for this message
Hannes Hegewald (rw00t) wrote : UbiquityPartman.txt

apport information

Revision history for this message
Hannes Hegewald (rw00t) wrote : UbiquitySyslog.txt

apport information

Revision history for this message
Hannes Hegewald (rw00t) wrote :

Hey Erich, many thanks for your remarks. I ran apport-collect two times.

First, after having reverted my choice about encryption. Prior to the actual start of the installation.
Second, after the installation has finished. Still running the live system.

Revision history for this message
Erich Eickmeyer (eeickmeyer) wrote :

Thanks, once was enough.

Changed in ubiquity (Ubuntu):
status: Incomplete → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.