System is going down for power off unmount error

This just started a few months ago with one of the updates.
When shutting down it shows “the system is going down for poweroff NOW!”
then a bunch of failed unmounts–/oldroot, /oldroot/sys, failed to finalize file system, ignoring…

This is not a serious issue but annoying and I’m curious as to what caused it in the update.

Have you checked this Search results for 'oldroot' - Manjaro Linux Forum ?

If you have an Nvidia GPU, there used to be a fix as seen here [pkg-upd] 510.47.03-5 (fc774f34) · Commits · Packages / Extra / nvidia-utils · GitLab

That would create the file /usr/lib/systemd/system-shutdown/nvidia.shutdown with this content in it, as seen on gitlab

#!/bin/sh
# Remove all Nvidia modules on shutdown
# to avoid errors like
# [35509.312925] sd-umoun[56020]: Failed to unmount /oldroot: Device or resource busy
# [35509.317505] sd-umoun[56021]: Failed to unmount /oldroot/sys: Device or resource busy
# [35509.322349] shutdown[1]: Failed to finalize file systems, ignoring.
#
for MODULE in nvidia_drm nvidia_modeset nvidia_uvm nvidia
do
rmmod $MODULE
done

For most systems that is no longer needed, but if you look at those search results, it will reveal more information. Some systems still require that fix.

I do have nvidia. This is awesome, thanks. I’m guessing that I need pkgbuilder?
I’ll have to look into this.