Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Oct 2000 12:18:44 -0700
From:      Gary Kline <kline@thought.org>
To:        Noor Dawod <noor@comrax.com>
Cc:        "Marius M. Rex" <marius@malkav.snowmoon.com>, freebsd-stable@FreeBSD.ORG
Subject:   Re: FreeBSD ignoring /etc/rc.conf
Message-ID:  <20001005121843.B8408@tao.thought.org>
In-Reply-To: <PHEBIOJOBJJLIIJCOINKAEJMCKAA.noor@comrax.com>; from noor@comrax.com on Thu, Oct 05, 2000 at 05:35:40PM %2B0200
References:  <Pine.BSF.4.21.0010051009230.26453-100000@malkav.snowmoon.com> <PHEBIOJOBJJLIIJCOINKAEJMCKAA.noor@comrax.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001005121843.B8408>