Date: Mon, 13 Sep 1999 23:50:02 -0700 (PDT) From: haro@tk.kubota.co.jp (Munehiro Matsuda) To: freebsd-bugs@FreeBSD.org Subject: Re: conf/13724: Prevent ".: Out of file descriptors" error on system bootup. Message-ID: <199909140650.XAA00165@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/13724; it has been noted by GNATS.
From: haro@tk.kubota.co.jp (Munehiro Matsuda)
To: chris@calldei.com
Cc: FreeBSD-gnats-submit@FreeBSD.ORG, haro@tk.kubota.co.jp
Subject: Re: conf/13724: Prevent ".: Out of file descriptors" error on system
bootup.
Date: Tue, 14 Sep 1999 14:11:11 +0900
From: Chris Costello <chris@calldei.com>
Date: Mon, 13 Sep 1999 17:54:34 -0500
::> >Description:
::>
::> System will fail to boot with ".: Out of file descriptors" error,
::> if by accident, or by what ever reason, overwriting /etc/rc.conf
::> with /etc/defaults/rc.conf.
::> May be reproducable on -current too?
::>
::> >How-To-Repeat:
::>
::> # cp /etc/defaults/rc.conf /etc/rc.conf
::> # reboot
::
:: Isn't the real solution to this problem not to copy
::/etc/defaults/rc.conf to /etc/rc.conf?
::
::|Chris Costello <chris@calldei.com>
::|Brain -- the apparatus with which we think that we think.
::`---------------------------------------------------------
Hello Chris,
Yes, that's true.
But I've seen quite a few messages saying "I got .: Out of file
descriptors error, what's wrong?" on -stable and freebsd-users-jp
mailing-lists. It must be that, people tend to make such a mistake
easily, without knowing that they shouldn't.
To prevent such a case, I submitted this PR.
It may also be a good idea to print warning message saying,
1)should not do such a thing, and 2)should consult rc.conf(5),
when recursive source of rc.conf is detected.
Thanks you,
Haro
-------------------------------------------------------------------------------
_ _ Munehiro (haro) Matsuda
-|- /_\ |_|_| Office of Business Planning & Developement, Kubota Corp.
/|\ |_| |_|_| 1-3 Nihonbashi-Muromachi 3-Chome
Chuo-ku Tokyo 103, Japan
Tel: +81-3-3245-3318 Fax: +81-3-32454-3315
Email: haro@tk.kubota.co.jp
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909140650.XAA00165>
