A fix is now proposed upstream: https://code.launchpad.net/~chris- bainbridge/finalrd/+git/finalrd/+merge/514466
The patch adds an explicit runtime-library list (libmount.so.1), probes it with the dynamic loader against the actual systemd-shutdown binary, verifies the soname resolved, and copies its dependency closure into /run/initramfs. A failed probe now logs a warning instead of silently building an exitrd without libmount. Upstream bug: https://bugs.launchpad.net/bugs/2174025 Tested by assembling the exitrd in a sandbox: libmount.so.1, libblkid.so.1, libselinux.so.1 and libpcre2-8.so.0 are present and the exitrd's loader resolves libmount.so.1 for /shutdown. A real reboot test is still pending. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2155465 Title: finalrd causes errors to be displayed during shutdown or reboot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/finalrd/+bug/2155465/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
