From owner-freebsd-hackers@FreeBSD.ORG Thu Jun 21 09:58:44 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 093441065674 for ; Thu, 21 Jun 2012 09:58:44 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 3B1CB8FC1E for ; Thu, 21 Jun 2012 09:58:42 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q5L9wc2w001659; Thu, 21 Jun 2012 11:58:38 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q5L9wbe9001656; Thu, 21 Jun 2012 11:58:37 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Thu, 21 Jun 2012 11:58:37 +0200 (CEST) From: Wojciech Puchar To: Michael Ross In-Reply-To: Message-ID: References: <4FDF6177.5050608@unsane.co.uk> <4FE0C123.8030301@gentoo.org> <4FE0F773.1080403@gentoo.org> <4FE100F9.2050009@funtoo.org> <20120620073920.GA5300@lonesome.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Thu, 21 Jun 2012 11:58:38 +0200 (CEST) Cc: Daniel Robbins , "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: Thu, 21 Jun 2012 09:58:44 -0000 >> All that's missing is a way to tell the RC system to use a different >> rc.conf file (like rc.conf.mobile, or rc.conf.wireless or >> rc.conf.whatever), and to run through the RC setup based on that file. > > ... and to be able to switch between two configurations at runtime, > without taking down services listed active in both configurations preferably. i already proposed how to make this easily with single rc.conf only. >> Our current RC system does everything needed except: >> - parallel execution of items that don't depend on each other true. can be actually added easily. >> - monitor running services and restart them if they crash should not be done, or at least not default. >> Compared to all the init/RC systems on Linux, ours has *many* >> advantages, not the least of which are: >> - very simple text configuration file it's a requirement not just adventage :) > Yes. > I don't even think it *needs* improving, but "service profiles" including > "network profiles" would be really nice and worth looking into. If we can get > that without loosing the simple text-file-based configuration, the better. we can. but from what i've seen about openrc it is overly complicated. For sure better that other things used in linux distros but still not tolerable. why replace something very good?