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)
Nov 1 2024, 5:26 PM
Unknown Object (File)
Nov 1 2024, 5:26 PM
Unknown Object (File)
Nov 1 2024, 5:05 PM
Unknown Object (File)
Oct 31 2024, 3:00 AM
Unknown Object (File)
Sep 27 2024, 1:20 AM
Unknown Object (File)
Sep 21 2024, 3:17 AM
Unknown Object (File)
Sep 18 2024, 4:27 PM
Unknown Object (File)
Sep 13 2024, 1:22 AM
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.