Re: rcd(8) - new service manager daemon

Dag-Erling Smørgrav <[email protected]> Mon, 15 Jun 2026 10:52:32 +0200
Newsgroups gmane.os.freebsd.devel.hackers
Message-ID <[email protected]>
Baptiste Daroussin <[email protected]> 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 - [email protected]