Date: Sat, 3 Mar 2018 11:28:41 +0000 From: Edward Tomasz =?utf-8?Q?Napiera=C5=82a?= <trasz@FreeBSD.org> To: Alan Somers <asomers@freebsd.org> Cc: Lars Engels <lme@freebsd.org>, Joe Maloney <jmaloney@ixsystems.com>, "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org> Subject: Re: OpenRC 0.35 for FreeBSD Message-ID: <20180303112841.GA2029@brick> In-Reply-To: <CAOtMX2i9bXooFN9faeErsjB4YVs7ykShdTfFO4YNawZJRpY2vg@mail.gmail.com> References: <CAFvkmYNBtH-MizOLVnSR0c5VuYRpYEDpyWig2x%2By7PM6rQkL=A@mail.gmail.com> <20180302083756.GH34685@e.0x20.net> <CAOtMX2i9bXooFN9faeErsjB4YVs7ykShdTfFO4YNawZJRpY2vg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 0302T0828, Alan Somers wrote: > On Fri, Mar 2, 2018 at 1:37 AM, Lars Engels <lme@freebsd.org> wrote: > > > On Thu, Mar 01, 2018 at 08:02:23PM -0500, Joe Maloney wrote: > > > Hello hackers, > > > I have been working on a single diff version of OpenRC for FreeBSD: > > > > > > https://github.com/pkgdemon/freebsd/commit/ > > b6885cd533c848a1b4f3582f48e40c883669b35c > > > > Thanks for your work! > > > > > > > > Why OpenRC? The licensing is right, and it's a way of adding modern > > > features to service management without reinventing the wheel. That's > > > my sales pitch. > > > > Hm, that does not convince me. FreeBSD's rc is also BSD licensed and did > > not reinvent any wheel. > > Could you maybe give some comparison between OpenRC and our rc? What > > does OpenRC better? > > > > Thanks! > > > > Lars > > > > Parallel startup, mainly. Some time ago I played with an idea of making it possible within our existing rcNG infrastructure. I've modified rcorder(8) to add a "-p" flag, which modifies its output from the current "one script per line" to "list of scripts that can be run in parallel per line", using the existing rc metadata ("PROVIDES" et al), and modified /etc/rc to make use of that. I had to give it up due to other obligations, but should anyone want to pick it up, the code is here: https://reviews.freebsd.org/D3715 There's also an unrelated review for the "supervise" functionality for rc scripts, which includes changes for sshd, cron, and syslogd: https://reviews.freebsd.org/D7474
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180303112841.GA2029>