Appears to be present in a vanilla Ubuntu 22.04.1 Desktop minimal
install on amd64 with ZFS and encryption.

Ubuntu Software fails to launch, with errors including

  snap.snapd-desktop-integration.service: Failed at step CHDIR spawwning 
/usr/bin/snap: No such file or directory
  internal error, please report: running "snap-store.ubuntu-software" failed: 
cannot find installed snap "snap store" at revision 582: missing file 
/snap/snap-store/582/meta/snap.yaml

/snap/snap-store/582/ is empty. snapd.service is active (running)

"snap list" shows all snaps as "broken".

"sudo snap refresh" produces errors due to firefox's missing snap.yaml.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to zfs-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1970066

Title:
  (Encrypted) ZFS breaks 22.04 installation

Status in snapd package in Ubuntu:
  Confirmed
Status in zfs-linux package in Ubuntu:
  Confirmed
Status in snapd source package in Jammy:
  Confirmed
Status in zfs-linux source package in Jammy:
  Confirmed

Bug description:
  On a freshly installed 22.04.0 amd64 Desktop with (encrypted) ZFS, removing 
the Firefox snap breaks:
  * the current gnome-shell session - it returns to gdm3 login prompt
  * snapd - all snaps are marked 'broken'
  * dpkg - dpkg status database is lost

  Reproducible on dedicated hardware and VMs. Not reproducible on a
  default (/ on ext4) installation.

  Video showing the whole process on a freshly installed system:
  
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1970066/+attachment/5583102/+files/1970066.webm

  journalctl -b output:
  
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1970066/+attachment/5583100/+files/1970066_journal.txt

  /proc/self/mountinfo:
  
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1970066/+attachment/5583101/+files/1970066_mountinfo.txt

  Installation procedure: 
  - Minimal installation
  - Tick 'download updates'
  - Tick 'install third party software'
  - Erase disk and use ZFS + encrypt
  - Require password to log in

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1970066/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to