From owner-freebsd-ports@FreeBSD.ORG Thu Dec 29 20:04:52 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0873916A41F for ; Thu, 29 Dec 2005 20:04:52 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mail2.fluidhosting.com [204.14.90.12]) by mx1.FreeBSD.org (Postfix) with SMTP id 229A943D5C for ; Thu, 29 Dec 2005 20:04:49 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: (qmail 59594 invoked by uid 399); 29 Dec 2005 20:04:48 -0000 Received: from localhost (HELO ?192.168.1.101?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 29 Dec 2005 20:04:47 -0000 Message-ID: <43B44155.9040707@FreeBSD.org> Date: Thu, 29 Dec 2005 12:04:37 -0800 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 1.5 (X11/20051226) MIME-Version: 1.0 To: Jose M Rodriguez References: <43A910F8.5090009@FreeBSD.org> <200512231612.46046.josemi@redesjm.local> <43AFAFA3.7090009@FreeBSD.org> <200512291641.47341.josemi@redesjm.local> In-Reply-To: <200512291641.47341.josemi@redesjm.local> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-stable@freebsd.org, freebsd-ports@freebsd.org, Florent Thoumie Subject: Re: HEADS UP: MFC of local_startup changes to rc.d complete X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2005 20:04:52 -0000 Jose M Rodriguez wrote: > El Lunes, 26 de Diciembre de 2005 09:53, Doug Barton escribió: >> Jose M Rodriguez wrote: >>> But this doesn't solve the real problem. We've lost a reference >>> model about rc and the interaction with the base system and ports. >> I'm not sure what that last sentence means. >> > > Form our old rc system, to the initial import from NetBSD, to what we > have now in HEAD. Well, if you think it's important, please feel free to write this up and submit it. I'm not sure what value it would have. > A lot of things has been changed, an now, it's really hard to get an > idea about the boot process and the order used to launch the > components. See below. >>> - some kinda of style for ports/system rc scripts >>> - some docs about keywords and stage support >> As I said in one of my recent heads up messages, man rc(8). >> > > As far I know, rc(8) depends on the FreeBSD version used. Yes, of course. So for any given system, you have an approximation of what you are looking for. > I doubt > RELENG_4_11 rc(8) may be enough. This kind of information must be on > the porter's handbook. Feel free to submit these patches as well. Also, since this new facility is not going to be MFC'ed past RELENG_6, changing the REQUIRE lines in the scripts won't have any effect on earlier systems. >>> - some kinda of timeline model >> Timeline for what? >> > > To guess the keywords to use for the rc script. Ah, got it. You can get a good start on that by doing: rcorder -s nostart /etc/rc.d/* Once we get a better handle on where the key points for ports are, we'll add something to rc(8). Right now, it looks like anything that is going to run as part of the system it should REQUIRE: DAEMON, if it is something that is going to start as a user, it should REQUIRE: LOGIN. hth, Doug -- This .signature sanitized for your protection