From owner-freebsd-questions Wed Dec 1 18: 6:27 1999 Delivered-To: freebsd-questions@freebsd.org Received: from 24-25-220-29.san.rr.com (24-25-220-29.san.rr.com [24.25.220.29]) by hub.freebsd.org (Postfix) with ESMTP id 2815514D79 for ; Wed, 1 Dec 1999 18:06:23 -0800 (PST) (envelope-from Doug@gorean.org) Received: from gateway.gorean.org (gateway.gorean.org [10.0.0.1]) by 24-25-220-29.san.rr.com (8.9.3/8.8.8) with ESMTP id SAA55024; Wed, 1 Dec 1999 18:06:17 -0800 (PST) (envelope-from Doug@gorean.org) Date: Wed, 1 Dec 1999 18:05:47 -0800 (PST) From: Doug Barton X-Sender: doug@24-25-220-29.san.rr.com To: Annelise Anderson Cc: freebsd-questions@freebsd.org Subject: Re: periodic daily reruns rc.conf.local? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 1 Dec 1999, Annelise Anderson wrote: > When periodic daily (and periodic monthly, and perhaps periodic > weekly) run, they seem to also rerun rc.conf.local. I have a > couple programs that start from there. > I have moved the stuff I start from rc.conf.local to > /usr/local/etc/rc.d, which is where it should be. Nevertheless, > why are the "periodics" rerunning rc.conf.local? I don't see > anything in the scripts that tells them to do this. I have not > edited them. There are a LOT of things in /etc that source /etc/defaults/rc.conf (and thus, /etc/rc.conf[.local]). I would imagine (although I haven't looked at the source) that periodic does this itself, as oppposed to the scripts doing it. Either way, you've hit upon the solution, namely don't start anything in the conf files. They should hold variable definitions only. Perhaps we need better warnings/documentation on this, since this is the second time it's come up (that I've seen) in the last month or so. Doug -- "Welcome to the desert of the real." - Laurence Fishburne as Morpheus, "The Matrix" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message