Firefox fails on the first reboot after installing Ubuntu Budgie with ZFS + encryption + recovery key

Bug #1993279 reported by Aaron Rainbolt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hardware: Kubuntu Focus XE, 32 GB RAM, 1 TB SSD, 11th Gen Intel Core i5, UEFI, no secure boot. Test done in Virtualbox, BIOS, 4 GB RAM, 2 CPUs. The problem can also be reproduced in GNOME Boxes. ISO in use is the Ubuntu Budgie Kinetic Final ISO.

Steps to reproduce:

1: Boot the ISO in your virtualization software of choice.
2: Click "Try Ubuntu Budgie" (don't click install or you'll end up not being able to see important buttons if you're on VBox)
3: Click the application menu, search for Display, and increase the resolution to something more sane (1360x768 is what I used).
4: Double-click "Install Ubuntu Budgie 22.10".
5: Proceed with the installation as normal, however, when you are on the "Installation Type" screen, click "Advanced Options", then enable ZFS with encryption.
6: When prompted to set a passphrase, also enable the generation of a recovery key. (Note that it is not important to save this key, you can just let it be discarded when the OS installation is finished.) Then proceed with the rest of the installation as you normally would.
7: Reboot into the newly installed system, unlock the disk, and log in.
8: Open a Tilix terminal, and run "firefox".

Expected result: Firefox should launch.

Actual result: The following error message is displayed: "internal error, please report: running "firefox" failed: cannot find installed snap "firefox" at revision 1943: missing file /snap/firefox/1943/meta/snap.yaml"

ProblemType: Bug
DistroRelease: Ubuntu 22.10
Package: snapd 2.57.4+22.10ubuntu1
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: Budgie:GNOME
Date: Tue Oct 18 05:03:24 2022
InstallationDate: Installed on 2022-10-18 (0 days ago)
InstallationMedia: Ubuntu-Budgie 22.10 "Kinetic Kudu" - Release amd64 (20221018)
Snap.Changes: no changes found
SourcePackage: snapd
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Aaron Rainbolt (arraybolt3) wrote :
Revision history for this message
Aaron Rainbolt (arraybolt3) wrote :

It is not necessary to create a recovery key to reproduce this bug. Also, the bug does **not** appear if you use LVM + encryption rather than ZFS + encryption.

Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

Can you please run:
$ snap list
$ sudo journalctl -u snapd
$ mount
$ sudo systemctl status snap-firefox-1943.mount

and attached the output to this report? I wonder if this is zfs specific

Revision history for this message
Aaron Rainbolt (arraybolt3) wrote :

This bug also affects Ubuntu Desktop.

Revision history for this message
Aaron Rainbolt (arraybolt3) wrote :

@mvo Output of the requested commands: https://termbin.com/v46g

Revision history for this message
Alberto Mardegan (mardy) wrote (last edit ):

Thanks Aaron, I'm marking this as a duplicate of bug 1993318; there seems to be some serious issue with ZFS, which might go beyond snapd alone.

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.