Hacker News new | ask | show | jobs
by ipalreadytaken 3169 days ago
0.9.3 Jails support has no foreseeable changes going forward as far as upgradability. 0.9.2 was Alpha support for BSD to see if there was any interest, once it was determined that there was interest we started looking at what it would take to have a stable implementation. One of the things we had to do was make a version of vmadm for FreeBSD which took a different approach than iocage (what we used in 0.9.2).

We are from a SmartOS background so of course we are biased to SmartOS, but there are software packages that work better on BSD, and it does have some interesting potential with wider hardware support.

Freebsd vmadm has jails, and lx jail support right now. We are looking at adding bhyve. It should not be a large task as we took a jail in a jail approach in order to have vnet support but still lock down in inner jail. This made adding lx jails a minimal task, and I expect bhyve to be no different.

Thanks for the compliments! We love FiFo and hope you do too!

1 comments

How are the FreeBSD lx jails? Do they leverage Joyent's work, or can't (because CDDL vs BSD)...
Please don't quote me on this. I think it's not a License question but they're taking a different approach. Linux binary compatibility has been around for a while now, at least longer than modern LX zones (I don't know about old Solaris lx zones).

There are some more subtle differences like the for BSD Linux emulation is a global setting and 'lx jails' are just jails w/ a Linux userland while branded zones are special kind of zones.

I think FreeBSD’s capability to run Linux binaries predates even lx branded zones in Solaris 10.
It does, I was a bit confused at first as well. It should be noted when project fifo says "lx jails" it does not mean LX branded zones from SmartOS. It means FreeBSD's native Linuxulator. Which has been in FreeBSD for.. many many years. It's a similar take on LX zones, but FreeBSD native. It does the same thing. Runs native Linux binaries.
Asking because last time I looked the FBSD stuff wasn't "really there". This would seem to still be the situation: "a true (albeit limited) ABI implementation is provided."

https://www.freebsd.org/cgi/man.cgi?linux

As soon as you see “syscall translation”, those are the magic words and they mean that the support is pretty complete. Sure there might be edge cases but if glibc can make a Linux syscall and get good data back, that’s it.