Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Apr 1999 17:48:50 -0500
From:      "Scot W. Hetzel" <hetzels@westbend.net>
To:        "Brad Knowles" <blk@skynet.be>
Cc:        "FreeBSD Stable" <freebsd-stable@FreeBSD.ORG>
Subject:   Re: -STABLE kernel panics during install...
Message-ID:  <009001be8148$ceeb2d20$8dfee0d1@westbend.net>
References:  <199904071422.OAA17323@klentaq1.emergingtech.org>

next in thread | previous in thread | raw e-mail | index | archive | help
From: Wayne M Barnes <stabilizer@klentaq1.emergingtech.org>
>     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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?009001be8148$ceeb2d20$8dfee0d1>