** Attachment added: "main.log"
   
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/2169500/+attachment/6005691/+files/main.log

** Tags added: apport-collected dist-upgrade wayland-session

** Description changed:

  During upgrade to 26.04, the zfs key load unit was renamed from zfs-
  load-key-rpool.service to [email protected].  When another
  package (probabaly tpm-udev) postinst ran `systemctl daemon-reload`,
  that triggered systemd to tear down everything bound to the inactive
  unit including my interactive session.
  
  (AI used to help with the diagnosis)
  
  I was able to recover from the terminal by running `sudo-rs dpkg
  --continue -a`, the upgrade also renamed the sudo command, which was not
  very helpful.
  
  1. Journal: old unit name was active at boot
  
    Source: journalctl -b 708732e878724076af5f58669bf97b65 (the boot the
  upgrade ran in; currently -b -1).
  
    Oct 04 20:11:52.070422 shauns-framework systemd[1]: Starting 
zfs-load-key-rpool.service - Load ZFS key for rpool...
    Oct 04 20:11:52.070630 shauns-framework systemd[1]: Finished 
zfs-load-key-rpool.service - Load ZFS key for rpool.
  
  2. dpkg.log: new zfsutils unpacked at 20:26:36, not configured until
  after the failure
  
    Source: /var/log/dpkg.log
  
    2026-10-04 20:26:36 upgrade zfsutils-linux:amd64 2.2.2-0ubuntu9.5 
2.4.1-1ubuntu5.1
    2026-10-04 20:26:36 status unpacked zfsutils-linux:amd64 2.2.2-0ubuntu9.5
    2026-10-04 20:26:36 status unpacked zfsutils-linux:amd64 2.4.1-1ubuntu5.1
    2026-10-04 20:47:15 configure zfsutils-linux:amd64 2.4.1-1ubuntu5.1 <none>
    2026-10-04 20:47:18 status installed zfsutils-linux:amd64 2.4.1-1ubuntu5.1
  
  3. Journal: first daemon-reload after the unpack, then immediate
  teardown
  
    Same journal boot. The previous reload was at 20:25:53, before the
  unpack.
  
    Oct 04 20:25:53 shauns-framework systemd[1]: Reloading finished in 634 ms.
    Oct 04 20:29:03.206292 shauns-framework systemd[1]: Reload requested from 
client PID 57039 ('systemctl') (unit [email protected])...
    Oct 04 20:29:03.206302 shauns-framework systemd[1]: Reloading...
    Oct 04 20:29:03.653210 shauns-framework systemd[1]: Reloading finished in 
446 ms.
    Oct 04 20:29:03.695839 shauns-framework systemd[1]: -.mount: Failed to 
enqueue stop job, ignoring: Job type stop is not applicable for unit -.mount.
    Oct 04 20:29:03.712815 shauns-framework systemd[1]: Stopping 
session-2.scope - Session 2 of User shaun...
    Oct 04 20:29:03.716485 shauns-framework systemd[1]: Unmounting root.mount - 
/root...
    Oct 04 20:29:03.802090 shauns-framework systemd[1]: Unmounting srv.mount - 
/srv...
    Oct 04 20:29:03.803488 shauns-framework systemd[1]: Unmounting 
usr-local.mount - /usr/local...
    Oct 04 20:29:03.862577 shauns-framework systemd[1]: Unmounting 
var-lib-apt.mount - /var/lib/apt...
    Oct 04 20:29:03.864176 shauns-framework systemd[1]: Unmounting 
var-lib-dpkg.mount - /var/lib/dpkg...
    Oct 04 20:29:03.866296 shauns-framework umount[57410]: umount: 
/var/lib/apt: target is busy.
    Oct 04 20:29:03.869937 shauns-framework umount[57418]: umount: 
/var/lib/dpkg: target is busy.
    Oct 04 20:29:03.884661 shauns-framework systemd[1]: Stopping 
systemd-journal-flush.service - Flush Journal to Persistent Storage...
  
  ProblemType: Bug
  DistroRelease: Ubuntu 26.04
  Package: zfsutils-linux 2.4.1-1ubuntu5.1
  ProcVersionSignature: Ubuntu 7.0.0-38.38-generic 7.0.14
  Uname: Linux 7.0.0-38-generic x86_64
  NonfreeKernelModules: zfs
  ApportVersion: 2.34.1-0ubuntu0.1
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Oct  4 21:06:12 2026
  InstallationDate: Installed on 2025-01-10 (632 days ago)
  InstallationMedia: Ubuntu 24.04.1 LTS "Noble Numbat" - Release amd64 
(20240827.1)
  SourcePackage: zfs-linux
  UpgradeStatus: Upgraded to resolute on 2026-10-04 (0 days ago)
+ --- 
+ ProblemType: Bug
+ ApportVersion: 2.34.1-0ubuntu0.1
+ Architecture: amd64
+ CasperMD5CheckResult: pass
+ CrashDB: ubuntu
+ CrashReports:
+  640:120:109:276456:2026-10-04 20:29:05.410190207 +0100:2026-10-04 
20:29:04.444199653 +0100:/var/crash/_usr_bin_gnome-session.120.crash
+  644:0:109:0:2026-10-04 20:53:35.751258651 +0100:2026-10-04 
20:53:35.699258657 +0100:/var/crash/kdump_lock
+ CurrentDesktop: ubuntu:GNOME
+ DistroRelease: Ubuntu 26.04
+ InstallationDate: Installed on 2025-01-10 (632 days ago)
+ InstallationMedia: Ubuntu 24.04.1 LTS "Noble Numbat" - Release amd64 
(20240827.1)
+ NonfreeKernelModules: zfs
+ Package: ubuntu-release-upgrader-core 1:26.04.25
+ PackageArchitecture: all
+ ProcVersionSignature: Ubuntu 7.0.0-38.38-generic 7.0.14
+ Tags: resolute wayland-session dist-upgrade
+ Uname: Linux 7.0.0-38-generic x86_64
+ UpgradeStatus: Upgraded to resolute on 2026-10-04 (0 days ago)
+ UserGroups: adm cdrom dialout dip docker lpadmin plugdev sudo users
+ VarLogDistupgradeTermlog:
+  
+ _MarkForUpload: True

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2169500

Title:
  Upgrade to 26.04 killed desktop session mid-upgrade due to zfs systemd
  unit rename

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2169500/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to