]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Turn back the clock just a little: make userboot.so always be 4th
authorWarner Losh <imp@FreeBSD.org>
Sun, 19 Aug 2018 18:18:19 +0000 (18:18 +0000)
committerWarner Losh <imp@FreeBSD.org>
Sun, 19 Aug 2018 18:18:19 +0000 (18:18 +0000)
commit295506bf9c871f873978f79ff282d63e0f2e347b
tree46ef032db87897e62225ebb2c5278d2441562c94
parent6112ee09cb8dd2f6734fb3d73c1ccb13d4cef4d5
Turn back the clock just a little: make userboot.so always be 4th

Turns out there was a hidden dependency we hasn't counted upon.  The
host load /boot/userboot.so to boot the VMs it runs. This means that
the change to lua meant suddently that nobody could run their older
VMs because LUA wasn't in 10.0, last month's HardenedBSD, 11.2 or
whatever.  Even more than for the /boot/loader* binaries, we need a
good coexistance strategy for this. While that's being designed and
implemented, drop back to always 4th for userboot.so. This will fail
safe in all but the most extreme environments (but lua-only hacks
to .lua files won't be processes in VMs until we fix it).

Differential Review: https://reviews.freebsd.org/D16805
UPDATING
stand/userboot/userboot/Makefile