This still sounds like a duplicate of https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1993318 which was resolved in ubiquity 23.04.1 & 22.04.19
Specifically, systems installed with zfs using ubiquity older than 22.04.19 on jammy; and older than 23.04.1 on any later release, would produce very confusing first boot state. Everything seems to work. Until anybody calls `systemctl daemon-reload` at which point systemd would loose its mind, fail to run generators to create correct zfs mount units, and start unmounting everything it can including critical mountpoints like /home /var /usr, and so on. If after first boot, one doesn't do anything, and reboots, everything is fine. If during first boot one installs any snap, or any apt package that has any systemd unit, as part of the process `systemctl daemon-reload` will be executed, and trash the system. Reboot however, will recover the system and everything should be working as normal. I would want to mark this as duplicated of https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1993318 unless anybody can reproduce any bad behaviour after install with fresh enough daily isos of jammy or mantic, and try to "do lots of actions that could break system" _during_ the first boot after the install. -- 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