From nobody Tue Jun 16 01:10:01 2026 X-Original-To: hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4gfTRw4J28z6gHFW for ; Tue, 16 Jun 2026 01:10:04 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from omta003.cacentral1.a.cloudfilter.net (omta001.cacentral1.a.cloudfilter.net [3.97.99.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gfTRw1v3Fz3Bqc; Tue, 16 Jun 2026 01:10:04 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Authentication-Results: mx1.freebsd.org; none Received: from shw-obgw-4003b.ext.cloudfilter.net ([10.228.9.157]) by cmsmtp with ESMTPS id Z65jwwAHgYhkUZIJXwy41c; Tue, 16 Jun 2026 01:10:03 +0000 Received: from spqr.komquats.com ([70.66.136.217]) by cmsmtp with ESMTPSA id ZIJVwxKNLaDwAZIJWwufhM; Tue, 16 Jun 2026 01:10:03 +0000 X-Auth-User: cschuber X-Authority-Analysis: v=2.4 cv=Cu+ys34D c=1 sm=1 tr=0 ts=6a30a26b a=h7br+8Ma+Xn9xscxy5znUg==:117 a=h7br+8Ma+Xn9xscxy5znUg==:17 a=b8+xJRgcbepLoiPQPEzLjyvsYN4=:19 a=IkcTkHD0fZMA:10 a=FelO9ux0wxsA:10 a=6I5d2MoRAAAA:8 a=EkcXrb_YAAAA:8 a=w16vAm4-AAAA:8 a=YxBL1-UpAAAA:8 a=xvTUr-6LGxaGqNkC_ycA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=LK5xJRSDVpKd5WXXoEvA:22 a=eWus_ag6ds_90y4h1ov8:22 a=Ia-lj3WSrqcvXOmTRaiG:22 Received: from slippy.cwsent.com (slippy.cwsent.com [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTP id 7298A317; Mon, 15 Jun 2026 18:10:01 -0700 (PDT) Received: by slippy.cwsent.com (Postfix, from userid 1000) id 69EFA5A; Mon, 15 Jun 2026 18:10:01 -0700 (PDT) X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.8+dev Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Baptiste Daroussin cc: Juraj Lutter , Alan Somers , hackers@freebsd.org Subject: Re: rcd(8) - new service manager daemon In-reply-to: References: <4708CCBD-4A1F-40DE-A7F1-E6E3512FE2B4@FreeBSD.org> Comments: In-reply-to Baptiste Daroussin message dated "Mon, 15 Jun 2026 10:52:39 +0200." List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Date: Mon, 15 Jun 2026 18:10:01 -0700 Message-Id: <20260616011001.69EFA5A@slippy.cwsent.com> X-CMAE-Envelope: MS4xfOvaZyf8gayRqzf+710QVvzq8J3ZVUfXi+0urkM8QqyhAkM97v0xWsihq2yg+Pd4TBy5Lk7v4jfJY/p4L9tbtyW8Fjw3qL2g7VyDULiQxUCgFmlfk1iq A508E7i2U33jjURYUab7jx9tQ83EC60/wPdxssd1UcLFuYyMZyniBWvCo675xQDJhkRY6wyBs9/93hHTmf1vQzlr2lgkp8VADrsvukTkslz/FgpSnltsebp8 jWCXdcgBelKcero3308WQXbnetXLV6d6jRt3/ew9H4GXke3jHy2ri0435Zq5UR3p X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:16509, ipnet:3.96.0.0/15, country:US] X-Rspamd-Queue-Id: 4gfTRw1v3Fz3Bqc X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated In message , Baptiste Daroussin writes: > On Mon 15 Jun 10:23, Juraj Lutter wrote: > > Hi, > > > > in the beginning: It’s truly a great work that you’ve done! > > > > > On 15. Jun 2026, at 08:47, Baptiste Daroussin wrote: > > > > > > On Sun 14 Jun 16:15, Alan Somers wrote: > > >> On Sun, Jun 14, 2026 at 1:26 PM Baptiste Daroussin > wrote: > > >>> > > >>> Hello everyone > > >>> > > >>> I have been working for the past years on rcd(8), a new service manager > > >>> daemon for FreeBSD, some of you might recall a presentation in french 1 > 5 > > >>> years ago or some discussion in BSDcam also that old! > > >>> I would like to start a discussion about its integration into the tree. > > >>> > > > > > > Speaking of ports: What is your imagination that the new rcd should be plug > ged into ports? > > > > Like, once committed into base, should ports remain with “traditional” > rc.d files until > > the rcd is the default and then switch to UCL files? Or are there any plans > to introduce > > any “parallel” mechanisms to deliver UCL an rc.d files? If yes, will th > ere be any preference > > of UCL over rc.d? > > > > Sorry for too many questions :-) > > We could deliver both, if a rc.d script has keyword NORCD, then it will be > ignored by rcd, so the .ucl file would be the only one used. Sun delivered services similar the proposal here. svcd(8) was/is a child of init(8). It's been a couple of decades since I worked on Solaris but IIRC both did coexist. I think the approach taken here is more elegant than that of Sun's/Oracle's svcd and friends and certainly easier to work with than systemd and it's unit files, some of which located in semi-documented locations. Users who wish to update the FreeBSD provided rc scripts/UCL would need to place theirs in some alternate location, though this is an advantage it also disadvantages the user when incompatible updates are applied. (Probably premature for this discussion.) This is certainly a welcome development. > > Best regards, > Bapt > -- Cheers, Cy Schubert FreeBSD UNIX: Web: https://FreeBSD.org NTP: Web: https://nwtime.org e**(i*pi)+1=0