From owner-freebsd-stable Thu Oct 5 12:18:53 2000 Delivered-To: freebsd-stable@freebsd.org Received: from gershwin.tera.com (gershwin.tera.com [207.224.230.28]) by hub.freebsd.org (Postfix) with ESMTP id 0AB2537B502 for ; Thu, 5 Oct 2000 12:18:50 -0700 (PDT) Received: from thought.org (tao.sea.tera.com [207.108.223.55]) by gershwin.tera.com (8.9.3/8.9.3) with ESMTP id MAA26146; Thu, 5 Oct 2000 12:18:47 -0700 (PDT) Received: (from kline@localhost) by thought.org (8.11.0/8.11.0) id e95JIil08697; Thu, 5 Oct 2000 12:18:44 -0700 (PDT) (envelope-from kline) Date: Thu, 5 Oct 2000 12:18:44 -0700 From: Gary Kline To: Noor Dawod Cc: "Marius M. Rex" , freebsd-stable@FreeBSD.ORG Subject: Re: FreeBSD ignoring /etc/rc.conf Message-ID: <20001005121843.B8408@tao.thought.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from noor@comrax.com on Thu, Oct 05, 2000 at 05:35:40PM +0200 X-Organization: Thought Unlimited. Public service Unix since 1986. Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Oct 05, 2000 at 05:35:40PM +0200, Noor Dawod wrote: > Hi Marius, > > I once had a similar problem. The solution was that one of the many > /etc/rc.* (a hunch: check /etc/rc.firewall) is not properly reading > /etc/defaults/rc.donf correctly, and this is causing mis-understanding > in your box. > > The /etc/rc.firewall should have at the begining of it the following > lines: > > if [ -r /etc/defaults/rc.conf ]; then > . /etc/defaults/rc.conf > source_rc_confs > elif [ -r /etc/rc.conf ]; then > . /etc/rc.conf > fi > > Make sure this is inserted correctly. > I had a very similar experience after my 3.x to 4.x upgrade. Only things in the default rc.conf were seen; my /etc/rc.conf.local file was ignored. I knew it was a scripting problem but wasn't sure where to begin looking. Long story short, things began working after I mv'd the rc.conf.local file to /etc/rc.conf; also adding echo's within the file. The idea of having a large unchanging /etc/defaults/rc.conf seems like a major win--a stroke of genius. Couldn't we add some minor debug features to this configuration that printed to stdout that "No local rc configuration file found!" if that were the case? Just a thought; something to make sysadmin a bit easier. Anyone using *BSD is a heavy-hitter by default; still, paving any rough roads would help. gary -- Gary D. Kline kline@tao.thought.org Public service Unix To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message