[Bug 1955690] Re: Prompt error message "Failed to unmount /oldroot" when shutdown or reboot
Bin Li
1955690 at bugs.launchpad.net
Fri Dec 24 03:41:57 UTC 2021
*** This bug is a duplicate of bug 1940514 ***
https://bugs.launchpad.net/bugs/1940514
In systemd/mdadm.shutdown from mdadm, it also do "mdadm --wait-clean
--scan". But in ubuntu we do not install mdadm-shutdown.service, and do
ship finalrd hook.
$ cat ./debian/mdadm.finalrd
#!/bin/sh
# SPDX-License-Identifier: GPL-3.0-only
set -e
if [ "$1" = "setup" ]
then
. /usr/share/initramfs-tools/hook-functions
copy_exec /sbin/mdadm
copy_exec /sbin/mdmon
exit 0
fi
mdmon --all --takeover
mdadm -vv --wait-clean --scan
mdadm -vv --stop --scan
** Description changed:
After I installed the mdadm, it will show this error information, our
OEM vendor request to fix this issue.
The root cause is that mdadm depend on finalrd, and finalrd will switch
- rootfs to clean disk, but it cou.dn't umount /oldroot, cause it's used
+ rootfs to clean disk, but it couldn't umount /oldroot, cause it's used
by plymouth.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to mdadm in Ubuntu.
https://bugs.launchpad.net/bugs/1955690
Title:
Prompt error message "Failed to unmount /oldroot" when shutdown or
reboot
Status in finalrd:
New
Status in mdadm:
New
Status in OEM Priority Project:
New
Status in mdadm package in Ubuntu:
New
Bug description:
After I installed the mdadm, it will show this error information, our
OEM vendor request to fix this issue.
The root cause is that mdadm depend on finalrd, and finalrd will
switch rootfs to clean disk, but it couldn't umount /oldroot, cause
it's used by plymouth.
To manage notifications about this bug go to:
https://bugs.launchpad.net/finalrd/+bug/1955690/+subscriptions
More information about the foundations-bugs
mailing list