From owner-freebsd-hackers@freebsd.org Sat Mar 3 11:28:47 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EE5E4F32C8F for ; Sat, 3 Mar 2018 11:28:46 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: from mail-wr0-x231.google.com (mail-wr0-x231.google.com [IPv6:2a00:1450:400c:c0c::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5422F7C687; Sat, 3 Mar 2018 11:28:46 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: by mail-wr0-x231.google.com with SMTP id k9so12548316wre.9; Sat, 03 Mar 2018 03:28:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:mail-followup-to :references:mime-version:content-disposition:in-reply-to:user-agent; bh=d85evfgHq/nldJ+7l4GsN8hG90XgeQv00l3yR5aUo3o=; b=DlXbl1F9s8M0tlSbiHePpsVV9cu+yvpGbxSioj/dPK6QxAsyrusFcMGENI9zNr+sjQ dVyQ9mRZnz5lj4Yw97gH/Bx71SJaa8+CtvLBz9FO31zXpmN0PU3jelWfmIukGnXW1dkE YjGfe33pmlXEACpLkDUhYw34sDwIHXu9/IOx9IRvBO+i/JkF1xXobc3YRn3nb4TnxIXW Q3j+dTAATBDeHREV246/CGu5GLlNOdgboe1klnmYLQtXXZ7O2zKaOd/UxZQbI1Pj2rEM WdhfQFdwwhyJ9zIZ5zauaHejj30JS/rlo2jw8Lwwh+7TopeH11TXnk6JKD9xRda//GlS HuMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to:user-agent; bh=d85evfgHq/nldJ+7l4GsN8hG90XgeQv00l3yR5aUo3o=; b=uEM7yakljUkmyDHGXQjT+hVkREnEuETG4ZNhWRprku29uqpexSSIu+0JAuROUeg1Rs SM02pvULe2YCRotU3ehHw8hR9y05tzwKWqpOhdT5v66a8RY/jS2hKf4DLaVwM2ZzK+zj dz/T/M42K1uGIeNY8gwqKFFARaXARTpny2GqTnrDbGM1Z/lBD8xeWjRjsabMTIf48xSZ x0n6jX2zea/V7Jdq7BiDBgmeSgIYZaSecsQGTeD8nXIZDFocVwI1AX5T2fNaoxIampjP ITbngZnw3fiMwg5uJFqn6JuEQTgMyUPry235EndAkMI07Ut+O8q1EFm6ApZMYNwLPQ0u urzA== X-Gm-Message-State: APf1xPA/fPhyCoWfUom89IblMeZSMGDMaxsBQGXeviOjU8ZCafv04gUW YOy3YGU5wRtWo9QNBs2D1XzjZw== X-Google-Smtp-Source: AG47ELvoiWDBd3x1WoxeU/omWhySNa9aU6acUCKEw09Iizcpq8SWrZjos1w+j3OLeuZ2yNNvTbrfMA== X-Received: by 10.223.187.72 with SMTP id x8mr7103405wrg.217.1520076524186; Sat, 03 Mar 2018 03:28:44 -0800 (PST) Received: from brick (cpc92302-cmbg19-2-0-cust461.5-4.cable.virginm.net. [82.1.209.206]) by smtp.gmail.com with ESMTPSA id y6sm2582568wmy.14.2018.03.03.03.28.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 03 Mar 2018 03:28:43 -0800 (PST) Sender: =?UTF-8?Q?Edward_Tomasz_Napiera=C5=82a?= Date: Sat, 3 Mar 2018 11:28:41 +0000 From: Edward Tomasz =?utf-8?Q?Napiera=C5=82a?= To: Alan Somers Cc: Lars Engels , Joe Maloney , "freebsd-hackers@freebsd.org" Subject: Re: OpenRC 0.35 for FreeBSD Message-ID: <20180303112841.GA2029@brick> Mail-Followup-To: Alan Somers , Lars Engels , Joe Maloney , "freebsd-hackers@freebsd.org" References: <20180302083756.GH34685@e.0x20.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.3 (2018-01-21) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2018 11:28:47 -0000 On 0302T0828, Alan Somers wrote: > On Fri, Mar 2, 2018 at 1:37 AM, Lars Engels 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