From owner-freebsd-current@FreeBSD.ORG Sun Feb 23 07:46:29 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DF78330D for ; Sun, 23 Feb 2014 07:46:29 +0000 (UTC) Received: from mail-ie0-x230.google.com (mail-ie0-x230.google.com [IPv6:2607:f8b0:4001:c03::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id ADC0C1302 for ; Sun, 23 Feb 2014 07:46:29 +0000 (UTC) Received: by mail-ie0-f176.google.com with SMTP id rd18so2566287iec.35 for ; Sat, 22 Feb 2014 23:46:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=oabS6R1A2tEU1VvjdjnRI1lzm5Nh+Zj0Nl9v8l8UkwA=; b=J+CmsB5Se3paVTlj4Yeg4vO+6jxxmjujeH754xqaSAhLbk9mw9F/I2SgBl28ux4idS FBvOS5cC/3k82oWCoeS6FscZmMqV2GMnicaFxcAMv1BiGfR3z1jZTVJEIlvIcJ83kSe+ F64oRoOrGqKulAcrDcDTs5txU0mrleSy1pdh/vM5kk1ZVW9F5l1mcRDgnkiZkfplpIuf LrRw2qbjTTNRMguubd3yoCbM6aAqQjtGZ0HvRcFPLU11s9qJz960Jwxn76zXG1r9JzOZ qGaLXU/6d1zxZq7FbetaACVmpI4niV13tG2lMbT4Ba64+GSQl7Vm4mv9NsFvTPtxoULH OMzQ== MIME-Version: 1.0 X-Received: by 10.43.182.74 with SMTP id pl10mr9624005icc.70.1393141589159; Sat, 22 Feb 2014 23:46:29 -0800 (PST) Received: by 10.50.164.227 with HTTP; Sat, 22 Feb 2014 23:46:29 -0800 (PST) In-Reply-To: References: Date: Sun, 23 Feb 2014 01:46:29 -0600 Message-ID: Subject: Re: libinit idea From: Scot Hetzel To: =?ISO-8859-1?Q?Bruno_Lauz=E9?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-current@freebsd.org" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Feb 2014 07:46:29 -0000 On Sat, Feb 22, 2014 at 5:54 PM, Bruno Lauz=E9 wrote: > https://github.com/brunolauze/libnit > > I know there's really big debate about init system but here's my tentativ= e to propose a new model to replace rc. > > Let's call it libinit but the name as no significance for now. > > I started coding a library with the following architecture. > > the main idea is to rewrite rc in C language. > > a utility called system would act a little bit like service command does. > > a folder would contains libraries instead of scripts inside [target]/etc/= rc.d > so we can add as many librairies a user desire and interlink the order of= each piece among all like in rc. > libraries don't belong in [target]/etc/rc.d, they would have to be in {/usr,}/lib{exec,}/rc.d or ${PREFIX}/lib{exec,}/rc.d --=20 DISCLAIMER: No electrons were maimed while sending this message. Only slightly bruised.