From owner-freebsd-stable Wed Apr 7 15:51: 5 1999 Delivered-To: freebsd-stable@freebsd.org Received: from mail.westbend.net (ns1.westbend.net [209.224.254.131]) by hub.freebsd.org (Postfix) with ESMTP id 936A91588A for ; Wed, 7 Apr 1999 15:50:57 -0700 (PDT) (envelope-from hetzels@westbend.net) Received: from admin (admin.westbend.net [209.224.254.141]) by mail.westbend.net (8.8.8/8.8.8) with SMTP id RAA15705; Wed, 7 Apr 1999 17:48:52 -0500 (CDT) (envelope-from hetzels@westbend.net) Message-ID: <009001be8148$ceeb2d20$8dfee0d1@westbend.net> From: "Scot W. Hetzel" To: "Brad Knowles" Cc: "FreeBSD Stable" References: <199904071422.OAA17323@klentaq1.emergingtech.org> Subject: Re: -STABLE kernel panics during install... Date: Wed, 7 Apr 1999 17:48:50 -0500 Organization: West Bend Internet MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG From: Wayne M Barnes > Don't 'pull rc.conf from defaults'. > > Instead, cp /etc/defaults/rc.conf /etc/rc.conf.local, and then > edit rc.conf.local. > Otherwise, a nasty loop is engendered by code at the end of rc.conf, > causing 'Out of file descriptors'. Other fixes for this have > been posted, but evidently not accepted. > I wouldn't do this either, as you'll get the same problem as copying it to rc.conf, because when /etc/defaults/rc.conf pulls in /etc/rc.conf.local, rc.conf.local will then pull in rc.conf & rc.conf.local (until you run out of file descriptors). If you do copy /etc/defaults/rc.conf to /etc/rc.conf or /etc/rc.conf.local make sure that you remove: ############################################################## ### Allow local configuration override at the very end here ## ############################################################## # # for i in ${rc_conf_files}; do if [ -f $i ]; then . $i fi done from the end of the file. Scot To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message