Re: rcd(8) - new service manager daemon

From: Alexander Leidinger <Alexander_at_Leidinger.net>
Date: Mon, 15 Jun 2026 13:35:29 UTC
Am 2026-06-15 08:47, schrieb Baptiste Daroussin:

> rcd adds features not in launchd (or beyond what launchd does): native 
> jail(2)
> integration for service isolation (like recent addition to rcng), 
> rctl(2)
> resource control (like rcng), OOM protection via PROC_SPROTECT (like 
> rcng),
> embedded Lua for service hooks, template units for per-instance 
> services
> (dhclient@em0), and JSON Schema validation.

Do I understand this and another reply correctly, that it incorporates 
into the rcd binary the "service jails" functionality which I introduced 
into rcng (<service>_svcj="YES" and <service>_svcj_options), but it is 
not a fully functional containerization environment like docker or 
kubernetes or such?

If I understand this correctly: both thumbs up!

There is a way of per-instance services in the ports tree. One example 
is www/oauth2-proxy (simplest example without much dependencies). As it 
rcd backward compatible I don't worry about the existing ports tree. My 
point here is: Are you aware of it? And as I have not seen the syntax of 
your UCL, do you think it allows similar flexibility? I have similar 
per-instance template support in www/openhab (but this is more complex 
to setup in testing than the oauth2-proxy).

Bye,
Alexander.

-- 
http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF
http://www.FreeBSD.org    netchild@FreeBSD.org  : PGP 0x8F31830F9F2772BF