Page MenuHomeFreeBSD

Turn back the clock just a little: make userboot.so always be 4th
AbandonedPublic

Authored by imp on Aug 19 2018, 6:05 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 20 2023, 2:28 AM
Unknown Object (File)
Nov 9 2023, 11:08 AM
Unknown Object (File)
Oct 7 2023, 9:58 AM
Unknown Object (File)
Sep 23 2023, 12:51 AM
Unknown Object (File)
May 14 2023, 6:34 AM
Unknown Object (File)
Apr 25 2023, 6:33 PM
Unknown Object (File)
Apr 11 2023, 1:06 PM
Unknown Object (File)
Feb 4 2023, 12:06 PM
Subscribers

Details

Reviewers
rgrimes
jhb
kevans
Group Reviewers
bhyve
Summary

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).

Note: This is a short-term band-aide.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 18956
Build 18598: arc lint + arc unit

Event Timeline

imp added reviewers: jhb, kevans.
This revision is now accepted and ready to land.Aug 19 2018, 6:06 PM

Hi @imp is there anything pending to commit this patch?

We've fixed this via other means.
I have no plans to commit this. It's not needed. Kyle fixed all the issues.