Prompt error message "Failed to unmount /oldroot" when shutdown or reboot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OEM Priority Project |
Fix Released
|
High
|
Bin Li | ||
systemd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
High
|
Dan Streetman |
Bug Description
[impact]
root fs is not cleanly unmounted on shutdown
[test case]
create a file in /etc/binfmt.
:TestFormat:
reboot the system, and then shutdown or reboot again, and watch the serial console for the error message:
sd-umount[1334]: Failed to unmount /oldroot: Device or resource busy
[regression potential]
any regression would likely cause problems on shutdown and/or reboot, or may cause problems with unmounted root fs on shutdown/reboot
[scope]
this is needed only for f
this is fixed upstream with PR 15566 which is included in v246, so this is fixed already in g and later
this isn't reproducable on b
[original description]
On ubuntu 20.04, with latest kernel and systemd, it will show error on ThinkPad X1.
sd-umount[1334]: Failed to unmount /oldroot: Device or resource busy
systemd 245.4-4ubuntu3.6
kernel: 5.8.0-53
CVE References
description: | updated |
description: | updated |
Changed in systemd (Ubuntu): | |
status: | New → Fix Released |
Changed in systemd (Ubuntu Focal): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Dan Streetman (ddstreet) |
Changed in oem-priority: | |
status: | Confirmed → Fix Released |
https:/ /github. com/systemd/ systemd/ issues/ 14981