Re: rcd(8) - new service manager daemon

From: Dag-Erling_Smørgrav <des_at_FreeBSD.org>
Date: Mon, 15 Jun 2026 08:52:32 UTC
Baptiste Daroussin <bapt@FreeBSD.org> writes:
> - 2 (later): Commit init(8) changes to call rcd when present (falling
>   back to /etc/rc otherwise).  Provide a /etc/rc wrapper that invokes
>   rcd for systems that want to switch.

I think that ultimately rcd should _be_ init, and should support
systemd-style services (where the service doesn't daemonize and logs to
stderr).  I haven't looked at the code, but I suspect that very little
is missing to make that possible: rcd needs to be prepared to reap
processes it didn't fork, and it needs to be able to read /etc/ttys and
manage ttys (which aren't much different from any other service).

DES
-- 
Dag-Erling Smørgrav - des@FreeBSD.org