Firefox fails on the first reboot after installing Ubuntu Budgie with ZFS + encryption + recovery key
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/
ProblemType: Bug
DistroRelease: Ubuntu 22.10
Package: snapd 2.57.4+22.10ubuntu1
ProcVersionSign
Uname: Linux 5.19.0-21-generic x86_64
NonfreeKernelMo
ApportVersion: 2.23.1-0ubuntu3
Architecture: amd64
CasperMD5CheckR
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)
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.