@daniel,
Thanks for the solution, and it sounds good, could you help make merge
request to finalrd to ask the maintainer's idea?
From my side, currently finalrd used by mdadm, I would like to remove
the dependency cause mdadm.
In systemd/mdadm.shutdown from mdadm, it also do "mdadm --wait-clean
--scan".
$ 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
Thanks!
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1928200
Title:
Prompt error message "Failed to unmount /oldroot" when shutdown or
reboot
To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1928200/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs