From owner-freebsd-hackers@FreeBSD.ORG Mon Jun 18 17:31:24 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 96DBA1065670; Mon, 18 Jun 2012 17:31:24 +0000 (UTC) (envelope-from ryao@gentoo.org) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by mx1.freebsd.org (Postfix) with ESMTP id 72EEE8FC14; Mon, 18 Jun 2012 17:31:24 +0000 (UTC) Received: from [192.168.1.2] (pool-108-46-203-161.nycmny.fios.verizon.net [108.46.203.161]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: ryao) by smtp.gentoo.org (Postfix) with ESMTPSA id A14561B4030; Mon, 18 Jun 2012 17:31:16 +0000 (UTC) Message-ID: <4FDF6586.9060501@gentoo.org> Date: Mon, 18 Jun 2012 13:29:42 -0400 From: Richard Yao User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120613 Thunderbird/10.0.5 MIME-Version: 1.0 To: Vincent Hoffman References: <20120615124849.GI96212@ass.kameli.org> <20120618081140.GK96212@ass.kameli.org> <4FDF6177.5050608@unsane.co.uk> In-Reply-To: <4FDF6177.5050608@unsane.co.uk> X-Enigmail-Version: 1.3.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Mon, 18 Jun 2012 17:53:31 +0000 Cc: Nathan Whitehorn , Outback Dingo , openrc@gentoo.org, =?ISO-8859-1?Q?Atte_Peltom=E4ki?= , "freebsd-hackers@freebsd.org" Subject: Re: Replacing rc(8) (Was: FreeBSD Boot Times) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jun 2012 17:31:24 -0000 On 06/18/2012 01:12 PM, Vincent Hoffman wrote: > On 18/06/2012 09:11, Atte Peltomäki wrote: >> On Fri, Jun 15, 2012 at 03:43:37PM -0400, Outback Dingo wrote: >>> On Fri, Jun 15, 2012 at 8:48 AM, Atte Peltomäki wrote: >>>> On Thu, Jun 14, 2012 at 02:09:38PM -0400, Richard Yao wrote: >>>>> Also, I am certain that the OpenRC developers would be thrilled if >>>>> FreeBSD adopted OpenRC. If FreeBSD core is interested in OpenRC, feel >>>>> free to contact the OpenRC and/or the Gentoo FreeBSD developers. We >>>>> would all love to see OpenRC in upstream FreeBSD. >>>> Replacing rc(8) has a lot of risks and not many benefits. Current system >>>> is somewhat limited, but it works, it's simple to understand and >>>> everyone already knows it and uses it. >>>> >>>> Solaris SMF is by far the most advanced bootup/service manager I've come >>>> across, [...] >>>> >>>> Personally, as much as I like power of SMF, I think FreeBSD devs have >>>> much more important (and interesting) things to do. >>> Theres always Launchd also......... >> Launchd is strikingly similar to SMF, which probably isn't a >> coincidence, knowing how much other code Apple pulled from Solaris >> during those days. >> > There was even some work done to get it working for FreeBSD if anyone > feels like taking it up again. > http://wiki.freebsd.org/launchd > Would someone elaborate on what launchd and SMF do well in comparison to OpenRC (or FreeBSD's init)? Gentoo does active OpenRC development. If there is anything that it could do better, please do not hesitate to let us know so that improvements can be made. Would licensing be a problem for either SMF or launchd? I know that CDDL code is not allowed in GENERIC kernels, so I would be surprised if SMF would be acceptable for FreeBSD's init system. I am not sure what the situation is for Apache 2.0 licensed code, but I would think that FreeBSD would code that is available under the 2-clause BSD license. With that said, the Gentoo developers already have OpenRC working on FreeBSD and OpenRC is available under the 2-clause BSD license, so it should have a compatible license.