lua vs. luajit libraries
As it is now, no lua libraries are usable from kresd, except those that come with luajit or kresd itself.
Well it doesn't really need any ATM, because we don't do root trust anchor bootstrapping, http module or other less usual stuff. I guess cqueues would be considered useful by some, as we'll add auto-reloading feature for RPZ that depends on that.
I actually don't know how the
*.so parts of lua libs are shareable between vanilla lua and luajit. That would need investigation. I've seen distros packaging for each implementation separately (5.1, 5.2, luajit), but I don't know if that's truly necessary.
Cross-link that brought me to this: https://forum.turris.cz/t/luajit-require-not-work-in-omnii/9289