From owner-freebsd-ports@FreeBSD.ORG Sat Mar 25 00:02:01 2006 Return-Path: X-Original-To: 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 C257416A420 for ; Sat, 25 Mar 2006 00:02:01 +0000 (UTC) (envelope-from fcash@ocis.net) Received: from smtp.sd73.bc.ca (smtp.sd73.bc.ca [142.24.13.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2846543D5E for ; Sat, 25 Mar 2006 00:01:59 +0000 (GMT) (envelope-from fcash@ocis.net) Received: from localhost (localhost [127.0.0.1]) by localhost.sd73.bc.ca (Postfix) with ESMTP id 36F6D8A006D; Fri, 24 Mar 2006 16:06:42 -0800 (PST) Received: from smtp.sd73.bc.ca ([127.0.0.1]) by localhost (smtp.sd73.bc.ca [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 84790-01-54; Fri, 24 Mar 2006 16:06:36 -0800 (PST) Received: from webmail.sd73.bc.ca (unknown [10.10.10.17]) by smtp.sd73.bc.ca (Postfix) with ESMTP id B6B748A0043; Fri, 24 Mar 2006 16:06:34 -0800 (PST) Received: from webmail.sd73.bc.ca (localhost.localdomain [127.0.0.1]) by webmail.sd73.bc.ca (Postfix) with ESMTP id 87E49900044E; Fri, 24 Mar 2006 16:01:50 -0800 (PST) Received: from 192.168.0.10 (SquirrelMail authenticated user fcash) by webmail.sd73.bc.ca with HTTP; Fri, 24 Mar 2006 16:01:50 -0800 (PST) Message-ID: <44774.192.168.0.10.1143244910.squirrel@webmail.sd73.bc.ca> In-Reply-To: References: <0EF5CD301A7EA4ABAE895ACD@utd59514.utdallas.edu> <20E2B4EA-AD51-4B06-B52E-8938D5C4855B@FreeBSD.org> Date: Fri, 24 Mar 2006 16:01:50 -0800 (PST) From: "Freddie Cash" To: "Paul Schmehl" User-Agent: SquirrelMail/1.5.1 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new using ClamAV at sd73.bc.ca Cc: ports@freebsd.org Subject: Re: Startup at boot problem X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: fcash@ocis.net List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Mar 2006 00:02:01 -0000 On Fri, March 24, 2006 3:47 pm, Paul Schmehl wrote: > --On Saturday, March 25, 2006 10:03:59 +1100 Sam Lawrance > wrote: >>> I solved the problem by using the full path in the script. >>> Originally it had "exec tclsh8.4". I patched it to have "exec >>> /usr/ local/bin/tclsh8.4", and it starts fine on boot now. >>> Obviously PATH didn't have /usr/local/bin in it at the time the >>> script was being initiated. >> I'm not sure you do understand what it means. Is there an rc with >> a "PROVIDE: tclsh8.4" line to match your REQUIRE? > Maybe I don't. I *thought* PROVIDE: used ${name}, as in the name of > the daemon or script. Is that incorrect? rcorder parses the rc scripts under /etc/rc.d and /usr/local/etc/rc.d. It checks the PROVIDE: lines to make a list of all the services these scripts provide. Then it checks the REQUIRE: lines and orders all the scripts accordingly. Which means, the only values you can use in REQUIRE: lines are those that are already listed in a PROVIDE: line somewhere. I'm willing to bet there are no scripts on your (or any) system that have "PROVIDE: tclsh8.4" in them. IOW, if there's no script that PROVIDEs a service, then no other script can REQUIRE it. ---- Freddie Cash fcash@ocis.net