From owner-freebsd-arch Thu Oct 18 15:49:30 2001 Delivered-To: freebsd-arch@freebsd.org Received: from smtp.noos.fr (camus.noos.net [212.198.2.70]) by hub.freebsd.org (Postfix) with ESMTP id D150B37B403 for ; Thu, 18 Oct 2001 15:49:25 -0700 (PDT) Received: (qmail 82323127 invoked by uid 0); 18 Oct 2001 22:49:20 -0000 Received: from unknown (HELO gits.dyndns.org) ([212.198.231.187]) (envelope-sender ) by 212.198.2.70 (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 18 Oct 2001 22:49:20 -0000 Received: (from root@localhost) by gits.dyndns.org (8.11.6/8.11.6) id f9IMnJk11734; Fri, 19 Oct 2001 00:49:19 +0200 (CEST) (envelope-from root) Message-Id: <200110182249.f9IMnJk11734@gits.dyndns.org> Subject: Re: New rc.d init script roadmap In-Reply-To: To: Dag-Erling Smorgrav Date: Fri, 19 Oct 2001 00:49:18 +0200 (CEST) Cc: Gordon Tetlow , arch@freebsd.org, kevin.way@overtone.org Reply-To: clefevre@citeweb.net From: Cyrille Lefevre Organization: ACME X-Face: X-Mailer: ELM [version 2.4ME+ PL94c (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Dag-Erling Smorgrav wrote: > Gordon Tetlow writes: > > [...] > > # PROVIDE: nfsd > > # REQUIRE: mountd > > [...] > > All the dependency information is coded in comments. Although, with the > > required_vars there, it doesn't help to put nfs_server=YES unless you > > specifically enable mountd and rpcbind, it doesn't do squat. > > This is what rcorder(8) is for. you are wrong, rcorder isn't usable in such condition. it can be only used at boot time w/ all files in parameter. let's try : cat << EOF > /tmp/nfsd # PROVIDE: nfsd # REQUIRE: mountd EOF cat << EOF > /tmp/mountd # PROVIDE: mountd EOF rcorder /tmp/nfsd rcorder: requirement `mountd' in file `/tmp/nfsd' has no providers. /tmp/nfsd Gordon (and I) say he would be allowed to do : /etc/rc.d/nfsd [force]start which start mountd (and rpcbind) if required. using NetBSD rc script, this is not feasible in the current state. Cyrille. -- Cyrille Lefevre mailto:clefevre@citeweb.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message