Hacker News Viewer

Cells for NetBSD: kernel-enforced, jail-like isolation

by akagusu on 4/7/2026, 7:54:06 PM

https://netbsd-cells.petermann-digital.de/

Comments

by: yjftsjthsd-h

This describes it as more lightweight than other options, but the "Declarative Apply Plan" feature actually seems more feature rich than FreeBSD jails. Very cool feature; actually something I would like on the host.

4/7/2026, 10:56:43 PM


by: eladx

I’ve seen a few posts about security extensions for NetBSD over the past several months and most of them build on top of the kauth(9) and secmodel(9) frameworks. I was one of the people who worked on these about twenty years ago (!) and I just wanted to say it’s heartwarming to see people still find our work useful and valuable today. Thank you. :)

4/7/2026, 8:17:30 PM


by: phkamp

And before anybody speculates too much about Matthias use of &quot;jail-like&quot;:<p>I think this can make a lot of sense, because there are many situations, in particular in embedded systems, where you can and should confine at a much smaller scale than jails are really convenient for.<p>It will also be interesting to see if &quot;Cells&quot; can make inroads in the territory the original ACL abandoned, because writing the rules was so complex that it amount to parallel meta-anti-software development.<p>Hat tip to Matthias from here.

4/7/2026, 9:32:00 PM


by: akagusu

Cells for NetBSD is an early-stage but steadily maturing system for lightweight, kernel-enforced isolation on NetBSD.<p>It closes the operational gap between simple chroot environments and full virtualization platforms such as Xen.

4/7/2026, 7:54:06 PM


by: Pay08

I&#x27;m far from familiar with Linux, is this very different from cgroups?

4/7/2026, 9:33:17 PM


by: ggm

I think the write up and rationale and FAQ are near perfect. It&#x27;s a KISS pure NetBSD model, it&#x27;s deliberately reductionist and it discusses reasoning and why it differs or is an analogue of other systems.<p>I probably won&#x27;t be using it because my core investment on FreeBSD does what I need but I think it&#x27;s interesting.

4/7/2026, 10:00:37 PM