Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Oct 2000 17:35:40 +0200
From:      "Noor Dawod" <noor@comrax.com>
To:        "Marius M. Rex" <marius@malkav.snowmoon.com>, <freebsd-stable@freebsd.org>
Subject:   RE: FreeBSD ignoring /etc/rc.conf
Message-ID:  <PHEBIOJOBJJLIIJCOINKAEJMCKAA.noor@comrax.com>
In-Reply-To: <Pine.BSF.4.21.0010051009230.26453-100000@malkav.snowmoon.com>

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

Noor

-----Original Message-----
From: owner-freebsd-stable@FreeBSD.ORG
[mailto:owner-freebsd-stable@FreeBSD.ORG]On Behalf Of Marius M. Rex
Sent: Thursday, October 05, 2000 4:19 PM
To: freebsd-stable@freebsd.org
Subject: FreeBSD ignoring /etc/rc.conf


Hi,

I am using:

$ uname -a
FreeBSD utterlux.communityconnect.com 4.1-STABLE FreeBSD 4.1-STABLE
#0: Wed Oct  4 10:39:24 EDT 2000
root@utterlux.communityconnect.com:/usr/obj/usr/src/sys/UTTERLUX  i386


Though I cvsup'ed a while back, I just got to 'make installworld'
yesterday. (work has been busy)  Anyway, I rebooted this morning and
found
that it is basically ignoring my /etc/rc.conf file.  It ignores the
firewall type I setup, my default route, the fact that I have a
mouse. etc.  (It does this consistantly on each reboot)

This same thing happened to me before the last time I cvsup'ed to
4.x-stable.  I thought it was just that I did something wrong.  So I was
expecting doing it again, now that I have updated a number of
other machines sucessfully, that it would work again.

'make buildworld' 'make installworld' and mergemaster (Done completely
by
hand) went through without a hitch.  I don't quite understand what is
wrong.  But it will do this to me every time I reboot.  (Which,
admittedly, is infrequently.)

Anyone else had this problem?  I havn't sen it mentioned on the list.

Here is my /etc/rc.conf file if it matters:
-----------------------------------------------------------------------
# This file now contains just the overrides from /etc/defaults/rc.conf
# please make all changes to this file.

# -- sysinstall generated deltas -- #
linux_enable="YES"
moused_enable="YES"
# -- marius additions -- #
firewall_enable="YES"
firewall_type="CLIENT"
tcp_drop_synfin="YES"
tcp_restrict_rst="YES"
sendmail_enable="NO"
named_enable="YES"

# -- sysinstall generated deltas -- #
lpd_enable="YES"
ipv6_enable="NO"
usbd_enable="YES"
sshd_enable="YES"
ifconfig_fxp0="inet 216.89.86.152  netmask 255.255.255.0"
defaultrouter="216.89.86.128"
hostname="utterlux.communityconnect.com"
check_quotas="NO"
ntpdate_flags="bitsy.mit.edu"
ntpdate_enable="YES"
moused_enable="YES"
------------------------------------------------------------------

------------------------------------------------------------------------
-
Marius M. Rex
"Well," Brahma said, "even after ten thousand explanations, a fool is
no wiser, but an intelligent man requires only two thousand five
hundred."
                -- The Mahabharata



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message



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?PHEBIOJOBJJLIIJCOINKAEJMCKAA.noor>