The two mechanisms I have thought of so far, completely untested, are:

- do 'something' with the /var/lib/dpkg/info/zfsutils-linux.prerm script
supplied by plucky, questing, and whatever the next 'r' release is
called, to deal with this situation

- modify do-release-upgrade to deal with this situation (hopefully we
have a mechanism to fix do-release-upgrade in oracular after eol?)

And the approaches I've thought of to "deal with this situation" are:

- use dpkg-divert in do-release-upgrade to move aside the new binaries
and libraries during installation (so the old utilities will talk with
the old kernel interfaces during the big pile of maintainer scripts and
triggers) and then undo dpkg-divert and "finish" the zfsutils-linux
upgrade immediately before rebooting.

- use dpkg-divert in do-release-upgrade to move aside the new binaries
and libraries .. and then use a systemd service to undo the dpkg-divert
and "finish" the zfsutils-linux upgrade after reboot.

- modify the zfsutils-linux.prerm script from the newer releases to
monkeypatch / cowboy / mangle the 10_linux_zfs file and hope that that's
the only thing that triggers this problem -- and depending upon the
mangling that was done, maybe it needs to be undone, maybe not. This is
a big question mark. This script is pretty complex and I can't figure
out what it does and why.

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

Title:
  System freeze on release upgrade 24.10 oracular to 25.04 plucky with
  root fs on ZFS

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


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

Reply via email to