Re: rcd(8) - new service manager daemon
Baptiste Daroussin <[email protected]> Mon, 15 Jun 2026 15:41:51 +0200
| Newsgroups | gmane.os.freebsd.devel.hackers |
|---|---|
| Message-ID | <[email protected]> |
On Mon 15 Jun 15:35, Alexander Leidinger wrote: > 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! this is exactly your svcj which is what convinced me to release it, because it was not easy to catchup on this one! > > 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). yes this is called templates in the rcd ucl world. Best regards, Bapt