From owner-freebsd-stable Thu Oct 5 7:39:20 2000 Delivered-To: freebsd-stable@freebsd.org Received: from dns.comrax.com (dns.comrax.com [194.90.246.124]) by hub.freebsd.org (Postfix) with ESMTP id 66B7537B66F for ; Thu, 5 Oct 2000 07:39:14 -0700 (PDT) Received: from NOOR (unknown [156.27.243.27]) by dns.comrax.com (Postfix) with SMTP id A40E21C982; Thu, 5 Oct 2000 17:39:04 +0200 (IST) From: "Noor Dawod" To: "Marius M. Rex" , Subject: RE: FreeBSD ignoring /etc/rc.conf Date: Thu, 5 Oct 2000 17:35:40 +0200 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.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 In-Reply-To: Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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