From owner-freebsd-isp Thu Mar 7 12:59: 2 2002 Delivered-To: freebsd-isp@freebsd.org Received: from web1.nexusinternetsolutions.net (web1.nexusinternetsolutions.net [206.47.131.12]) by hub.freebsd.org (Postfix) with SMTP id 984A937B41D for ; Thu, 7 Mar 2002 12:58:56 -0800 (PST) Received: (qmail 11713 invoked from network); 7 Mar 2002 21:05:58 -0000 Received: from unknown (HELO cr159591a) (24.102.18.54) by web1.nexusinternetsolutions.net with SMTP; 7 Mar 2002 21:05:58 -0000 From: "Dave" To: "Forrest W. Christian" Cc: Subject: RE: server no longer processing /usr/local/etc/rc.d on startup Date: Thu, 7 Mar 2002 16:01:30 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: Importance: Normal Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >> Manually ran /bin/sh /etc/rc and everything started as expected. >> the following is the output; > >Could this be pathing related? > >I doubt it since /etc/rc resets the path to a known value, but I did run >into the problem that rc didn't contain a path to an executable >recently... I would doubt it as well since RC gets the path from the local_startup directing in /etc/defaults/rc.conf which "apparently" is being parsed when rc is run. On reboot (when things aren't being run) the settings in /etc/rc.conf are obviously being parsed since all the interfaces are available to connect to the box remotely via SSH. This would imply (to me, perhaps incorrectly) that rc is finding and using /etc/defaults/rc.conf since that tells it to parse the /etc/rc.conf in the rc_conf_files="/etc/rc.conf /etc/rc.conf.local" line. The line above that is the local_startup="/usr/local/etc/rc.d /usr/X11R6/etc/rc.d" # startup script dirs. line... logic would dictate that if it is parsing lines below this, then it should have parsed this line as well and should know where the local_startup directories are. (not using X so no idea if that is being processed). If it was pathing related, then rc running manually should show the problem, no? The fact that manually runing each script in the rc.d directory or running rc loads everything normally is boggling me. Annoyingly facinated. Dave To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message