At the very least, follow this recent bug report: https://bugs.archlinux.org/task/63697
Closing
]]>Also Manjaro thread here:
https://forum.manjaro.org/t/sd-umount-f … oot/102412
The ratelimiting is normal, I think. It's just a load of messages on shutdown about filesystem handling that you're not supposed to see. I'm not an expert though
]]>After upgrading to systemd-243.0-1, the 'Failed to unmount /oldroot...' messages have come back. Has anyone else noticed this?
After checking around, it appears to be a regression.
I have noticed it and it was immediately apparent that it happened when I upgraded to 243.
I thought I'd be lost in threads with old instances of the bug, but Arch BBS did not disappoint.
I haven't found a workaround yet
The problem is that I can't see any logs. AFAIK journald gets sent SIGTERM before the /oldroot stuff happens
I see no open issue in systemd's github about it either.
]]>After checking around, it appears to be a regression.
]]>Thanks!
]]>diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD
index 128af94..7a69905 100644
--- a/trunk/PKGBUILD
+++ b/trunk/PKGBUILD
@@ -76,6 +76,8 @@ _backports=(
'8645ffd12b3cc7b0292acd9e1d691c4fab4cf409'
# umount: Don't bother remounting api and ro filesystems read-only
'e783b4902f387640bba12496936d01e967545c3c'
+ # umount: Reduce log level of unmount failures that will be attempted again later in shutdown
+ '456b2199f6ef0378da007e71347657bcf83ae465'
)
_reverts=(
Fixed in systemd 238.133-2
Not completely. From a dozen of lines of errors still two remain, both in my desktop install as well as in virtualbox machine:
sd-umount[466]: Failed to unmount /oldroot: Device or resource busy
shutdown[1]: Unmounting '/oldroot' failed abnormally, child process 466 aborted or exitet non-zero.
The workaround of adding 'shutdown' to HOOKS still applies, unfortunately...
]]>Tim
]]>Fixed upstream and we're waiting for a new release of systemd?
Yep, wait for version with included fix. 239 probably.
]]>I'm still seeing loads of these unnecessary oldroot messages every time I shut down, and would like to be rid of them. Although it seems from reading this thread that adding a "shutdown" hook to mkinitcpio could accomplish this, that's not really the proper way to handle it. (The "shutdown" hook is deprecated, IIUC.)
Anyone know the final word on this?
]]>