Are Jails really that safe & secure?
FreeBSD Jails for Fun and Profit (2020)
31–40 of 161 posts
Re: FreeBSD Jails for Fun and Profit (2020)
#32Earlier quoted context omitted.
I beg to differ, given that HP-UX Virtual Vaults were quite alright and precede Jails.
(noticed your reply to my other comment too, please consider this a reply to both) I wasn't aware of HP-UX Virtual Vaults, thanks. However, I'd say FreeBSD Jails still had an advantage, due to being free and running on various hardware platforms, and more importantly on commodity hardware.
Unfortunately it is hard to still find documentation, given the troubles HP-UX has gone through at HP (which kind of plays into your remark regarding FreeBSD).
Still there you go, https://support.hpe.com/hpesc/public/docDisplay?docLocale=en...
Re: FreeBSD Jails for Fun and Profit (2020)
#33Earlier quoted context omitted.
Containerisation makes much more sense than virtualisation in a lot of areas: * lower runtime overhead * quicker deployment time * smaller image foot print Plus most of the advantages of VMs can still be applied. However it does massively depend on individual use cases. Qubes aims to be ultra secure and containers in Linux weren’t up to that task at the time (the situation has since improved massively).
- lower runtime overhead - quicker deployment time - smaller image foot print Firecracker beg to differ. I think you can do virtualisation and have all three you listed.
Also I’m not really in the mood to engage in a dumb flame war. I’m just answering the question as to why some people favour containers for some workflows. If firecracker works for you then keep at it.
Re: FreeBSD Jails for Fun and Profit (2020)
#34Earlier quoted context omitted.
Note that FreeBSD Jails were introduced in 1999, while Solaris Containers and Zones were introduces in 2004. At the time FreeBSD Jails were introduced, probably the only alternative that was wildly available was chroot, which is really far from what Jails offer. Full virtualization was too slow to be practical for most scenarios, back then. 1999 is the year when Pentium III was released.
I've seen nothing which would suggest that Solaris zones are more taxing than BSD jails. Did you imply that claim?
No, I didn't. I was comparing full virtualization to Jails. However, I realize now that there may not even have been a full virtualization solution available back then anyway, at least not for consumer hardware. I'll have to dig a bit on Wikipedia.
I've never used Solaris Containers / Zones, but my understanding is that the implementation was similar to FreeBSD Jails, so I have no reason to believe the performance was different.
Re: FreeBSD Jails for Fun and Profit (2020)
#35Re: FreeBSD Jails for Fun and Profit (2020)
#36Earlier quoted context omitted.
FreeBSD's appeal for me is the easy maintenance. Everything related to config is in /etc/rc.conf; tunables in /boot/loader.conf. The ZFS implementation is rock-solid. I therefore only have to fiddle with my FreeBSD server, running 80TB ZFS storage pool, once a year or so. No other OS gives me this kind of comfort and stability.
I wonder if Solaris has bigger userbase it would also appeal to you.
Re: FreeBSD Jails for Fun and Profit (2020)
#37FreeBSD Jails were so much better than everything else out there, for a long time. I'll just copy&paste part of a comment I wrote on another HN thread some time ago, since it's relevant here: [...] In fact, many years ago, when FreeBSD was my main OS (including on notebook) I went as far as to isolate each app that used internet into its own custom-setup jail [0][1]. I had Firefox, Thunderbird, Pidgin and a few other…
I beg to differ, given that HP-UX Virtual Vaults were quite alright and precede Jails.
Re: FreeBSD Jails for Fun and Profit (2020)
#38Just curious, is there an equivalent (or at least similar in spirit) to FreeBSD jails in the Windows world?
Re: FreeBSD Jails for Fun and Profit (2020)
#39Re: FreeBSD Jails for Fun and Profit (2020)
#40Just curious, is there an equivalent (or at least similar in spirit) to FreeBSD jails in the Windows world?
Windows 10 kernel supports “Sandbox”, which might be what comes closest.