ZFS + Encryption installations of Ubuntu Desktop do not come up correctly on first boot, systemd unmounts many of the zfs volumes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Release Notes for Ubuntu |
Fix Released
|
Undecided
|
Unassigned | ||
Ubuntu Manual Tests |
Triaged
|
High
|
Tim Andersson | ||
ubiquity (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
High
|
Unassigned | ||
zfs-linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
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/
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/
[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-
ProblemType: Bug
DistroRelease: Ubuntu 22.10
Package: zsys (not installed)
ProcVersionSign
Uname: Linux 5.19.0-21-generic x86_64
NonfreeKernelMo
ApportVersion: 2.23.1-0ubuntu3
Architecture: amd64
CasperMD5CheckR
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-
PATH=(custom, no username)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: zsys
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
- Didier Roche-Tolomelli (community): Approve
- Jean-Baptiste Lallement: Pending requested
- Ubuntu Installer Team: Pending requested
-
Diff: 81 lines (+30/-14)3 files modifieddebian/changelog (+7/-0)
scripts/zsys-setup (+22/-12)
ubiquity/plugins/ubi-partman.py (+1/-2)
description: | updated |
summary: |
- ZFS + Encryption installations of Ubuntu Desktop suffer various severe - problems related to the package manager + ZFS + Encryption installations of Ubuntu Desktop do not come up + correctly on first boot, systemd unmounts many of the zfs volumes |
tags: | added: foundations-triage-discuss |
Changed in ubuntu-release-notes: | |
status: | New → Fix Released |
Changed in systemd (Ubuntu): | |
status: | Confirmed → Invalid |
tags: | removed: foundations-triage-discuss |
Changed in snapd (Ubuntu): | |
status: | Incomplete → Invalid |
no longer affects: | zsys (Ubuntu) |
no longer affects: | systemd (Ubuntu) |
no longer affects: | snapd (Ubuntu) |
Changed in ubuntu-manual-tests: | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Tim Andersson (andersson123) |
"this is probably the wrong package" - do you have zsys installed? We stopped installing zsys in jammy and it shouldn't have been installed as part of a kinetic install