unmount real root partition from /mnt before the cgi/random actions
authorderaadt <deraadt@openbsd.org>
Thu, 2 Dec 2021 17:18:39 +0000 (17:18 +0000)
committerderaadt <deraadt@openbsd.org>
Thu, 2 Dec 2021 17:18:39 +0000 (17:18 +0000)
commitda3b7e6e421a20f0e536819cea00fc8bdd118137
treed4e67c0d98d00d3bc331434da934e90b9130e5d9
parentdbfd11f7a56ae40ef6ed323fce04791a59389c86
unmount real root partition from /mnt before the cgi/random actions
which run asyncronously and can grab vnodes race to make the umount fail
spuriously
problem seen and diagnosed by Yuichiro NAITO
ok florian
distrib/miniroot/install.sub