From owner-freebsd-hackers Tue Jul 3 8:40: 9 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from softweyr.com (softweyr.com [208.247.99.111]) by hub.freebsd.org (Postfix) with ESMTP id D42E037B403 for ; Tue, 3 Jul 2001 08:40:02 -0700 (PDT) (envelope-from wes@softweyr.com) Received: from localhost.softweyr.com ([127.0.0.1] helo=softweyr.com ident=85cc3b134ab21195b148809cbb2606b1) by softweyr.com with esmtp (Exim 3.16 #1) id 15HSM2-0000mM-00; Tue, 03 Jul 2001 09:44:46 -0600 Message-ID: <3B41E86E.AED9E1D3@softweyr.com> Date: Tue, 03 Jul 2001 09:44:46 -0600 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: David Terrell Cc: Cyrille Lefevre , freebsd-hackers@FreeBSD.ORG Subject: Re: import NetBSD rc system References: <20010613202415.A3689@core.usrlib.org> <4rtjnv83.fsf@gits.dyndns.org> <20010702152646.B11363@pianosa.catch22.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG David Terrell wrote: > > On Thu, Jun 14, 2001 at 01:42:36PM +0200, Cyrille Lefevre wrote: > > in fact, the require keyword isn't sufficient in it's own. there > > should be pre_require and post_require keywords since nfsd needs to > > start mountd before to start nfsd then rpc.statd and rpc.lockd have to > > be started after nfsd. > > Sorry to jump in an old discussion, I don't read fbsd-hackers often > enough, apparently. > > In this situation, wouldn't you rather take the solaris option of > putting "nfs_servers" in their own startup option and start the > servers desired (maybe you don't want rpc.lockd) according to normal > rc.conf knobs. For services as tightly coupled as this that seems > like a much better way of guaranteeing ordering, and the whole package > could then depend on portmap. > > It's not like you'd ever want nfsd and not mountd, or vice versa. That's easy enough to do. With processes that are intrinsically linked like nfs and mountd, you start them from the same script. For services that are linked only by requirement, like nfs serving vs. rpc, you use the dependency controls. Nobody said the NetBSD rc system removed the need for programmers to think. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC wes@softweyr.com http://softweyr.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message