Date: Tue, 5 Oct 1999 23:11:41 GMT From: Nathan Ahlstrom <nrahlstr@portage.winternet.com> To: FreeBSD-gnats-submit@freebsd.org Subject: conf/14152: rc.conf(5) manpage mentions defunct savecore_enable option Message-ID: <199910052311.XAA04056@portage.winternet.com>
index | next in thread | raw e-mail
>Number: 14152
>Category: conf
>Synopsis: rc.conf(5) manpage mentions defunct savecore_enable option
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Oct 5 21:20:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator: Nathan Ahlstrom
>Release: FreeBSD 3.3-STABLE i386
>Organization:
Home Network
>Environment:
FreeBSD portage.winternet.com 3.3-STABLE FreeBSD 3.3-STABLE #0: Sun Oct 3 17:50:34 GMT 1999 root@portage.winternet.com:/usr/src/sys/compile/PORTAGE i386
>Description:
The rc.conf.5 manpage mentions the savecore_enable option. This
has been replaced by simply defining a dumpdev.
>How-To-Repeat:
Attempt to enable savecore via this option. Read /etc/rc:
# enable dumpdev so that savecore can see it
# /var/crash should be a directory or a symbolic link
# to the crash directory if core dumps are to be saved.
if [ "X${dumpdev}" != X"NO" -a -e ${dumpdev} -a -d /var/crash ]; then
dumpon ${dumpdev}
echo -n checking for core dump...
savecore /var/crash
fi
>Fix:
Here is a patch to rc.conf.5:
Index: rc.conf.5
===================================================================
RCS file: /home/ncvs/src/share/man/man5/rc.conf.5,v
retrieving revision 1.27.2.18
diff -u -r1.27.2.18 rc.conf.5
--- rc.conf.5 1999/10/02 21:41:35 1.27.2.18
+++ rc.conf.5 1999/10/05 23:05:30
@@ -986,13 +986,6 @@
these are the flags to pass to the
.Xr sendmail 8
daemon.
-.It Ar savecore_enable
-(bool) If set to
-.Ar YES
-then save kernel crashdumps for debugging purposes when the system
-comes back up after a crash. Crash images are typically stored in the
-.Pa /var/crash
-directory.
.It Ar dumpdev
(str) If not set to
.Ar NO
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199910052311.XAA04056>
