canonical-ubuntu-qa team mailing list archive
-
canonical-ubuntu-qa team
-
Mailing list archive
-
Message #01493
[Bug 1993318] Re: ZFS + Encryption installations of Ubuntu Desktop do not come up correctly on first boot, systemd unmounts many of the zfs volumes
BTW
this bug was closed, when fix migrated in Lunar release.
This bug report is missing:
Lunar fix released
ubiquity (23.04.2) lunar; urgency=medium
* Fix lunar's pep8, not cought with local rebuild due to noautomatic.
ubiquity (23.04.1) lunar; urgency=medium
[ Sebastien Bacher ]
* d-i/source/user-setup/debian/user-setup-udeb.templates:
remove 'lxd' from user-default-groups and add 'users' instead,
it will let lxd default to unprivileged containers which is better
see https://discourse.ubuntu.com/t/easy-multi-user-lxd-setup for details
(lp: #1949115)
[ Dimitri John Ledkov ]
* Re-enable zfs encryption
* zsys-setup: generate correct zfs-list.cache for target (LP: #1993318)
-- Dimitri John Ledkov <dimitri.ledkov@xxxxxxxxxxxxx> Mon, 28 Nov 2022
16:48:59 +0000
--
You received this bug notification because you are a member of
Canonical's Ubuntu QA, which is subscribed to Ubuntu Manual Tests.
https://bugs.launchpad.net/bugs/1993318
Title:
ZFS + Encryption installations of Ubuntu Desktop do not come up
correctly on first boot, systemd unmounts many of the zfs volumes
Status in Ubuntu Manual Tests:
Triaged
Status in Release Notes for Ubuntu:
Fix Released
Status in ubiquity package in Ubuntu:
Fix Released
Status in zfs-linux package in Ubuntu:
Confirmed
Status in ubiquity source package in Jammy:
Fix Released
Bug description:
This is *probably* the wrong package, but it's the best I can figure
for this, so here goes.
Hardware: Kubuntu Focus XE, 32 GB RAM, 1 TB SSD, 11th Gen Intel Core
i5, UEFI, no secure boot. Testing done in GNOME Boxes, BIOS, 4 GB RAM,
50 GB disk space . OS is Ubuntu Desktop, Kinetic Final ISO.
[Testcase]
tl;dr encrypted-zfs, firstboot, `systemctl daemon-reload` must not
unmount half of mountpoints, ie. /var/lib.
Steps to reproduce:
1. Boot the Ubuntu desktop ISO.
2. Select "Install Ubuntu" and proceed with the installation process.
3. When you get to the "Installation type" screen, select "Advanced Options", and enable ZFS + Encryption.
4. Proceed with the rest of the installation as normal.
5. Reboot into the newly installed system.
6. Log in.
7. Run "sudo apt update" in a terminal.
Expected result: The package database should be updated normally.
Actual result: You are presented with the following errors at the end
of the apt output:
Reading package lists... Error!
E: flAbsPath on /var/lib/dpkg/status failed - realpath (2: No such file or directory)
E: Could not open file - open (2: No such file or directory)
E: Problem opening
E: The package lists or status file could not be parsed or opened.
Notes: Switching to a TTY will print a crash error message related to
the same missing /var/lib/dpkg/status file. Running "sudo touch
/var/lib/dpkg/status" will allow "sudo apt update" to function and fix
the crashed process in the TTY.
[End Testcase]
Once you log in, you'll notice that Firefox is missing (bug #1993279),
and you will likely be presented with a ton of error messages and
other scary junk. At least one of those error messages was related to
update-manager in my experience, and another one was from "check-new-
release-gtk".
ProblemType: Bug
DistroRelease: Ubuntu 22.10
Package: zsys (not installed)
ProcVersionSignature: Ubuntu 5.19.0-21.21-generic 5.19.7
Uname: Linux 5.19.0-21-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.23.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Tue Oct 18 09:55:27 2022
InstallationDate: Installed on 2022-10-18 (0 days ago)
InstallationMedia: Ubuntu 22.10 "Kinetic Kudu" - Release amd64 (20221018)
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no username)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: zsys
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-manual-tests/+bug/1993318/+subscriptions