ZFS pool gets encrypted even when encryption is deselected again
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-
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu78
Architecture: amd64
CasperMD5CheckR
CasperVersion: 1.467
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 22.04
InstallCmdLine: BOOT_IMAGE=
LiveMediaBuild: Ubuntu 22.04 LTS "Jammy Jellyfish" - Alpha amd64 (20220310)
NonfreeKernelMo
Package: ubiquity 22.04.7 [modified: lib/partman/
PackageArchitec
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=C.UTF-8
SHELL=/bin/bash
ProcVersionSign
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
CasperMD5CheckR
CasperVersion: 1.467
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 22.04
InstallCmdLine: BOOT_IMAGE=
LiveMediaBuild: Ubuntu 22.04 LTS "Jammy Jellyfish" - Alpha amd64 (20220310)
NonfreeKernelMo
Package: ubiquity 22.04.7
PackageArchitec
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=C.UTF-8
SHELL=/bin/bash
ProcVersionSign
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
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/ReportingBu gs.