From owner-freebsd-bugs Sat Mar 9 22: 0:16 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 49A0337B416 for ; Sat, 9 Mar 2002 22:00:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2A601365045; Sat, 9 Mar 2002 22:00:01 -0800 (PST) (envelope-from gnats) Received: from lists.blarg.net (lists.blarg.net [206.124.128.17]) by hub.freebsd.org (Postfix) with ESMTP id C65AD37B400 for ; Sat, 9 Mar 2002 21:54:17 -0800 (PST) Received: from thig.blarg.net (thig.blarg.net [206.124.128.18]) by lists.blarg.net (Postfix) with ESMTP id 86161BD30 for ; Sat, 9 Mar 2002 21:54:17 -0800 (PST) Received: from localhost.localdomain ([206.124.139.115]) by thig.blarg.net (8.9.3/8.9.3) with ESMTP id VAA09147 for ; Sat, 9 Mar 2002 21:54:17 -0800 Received: (from jojo@localhost) by localhost.localdomain (8.11.6/8.11.3) id g2A5vev04253; Sat, 9 Mar 2002 21:57:40 -0800 (PST) (envelope-from swear@blarg.net) Message-Id: Date: 09 Mar 2002 21:57:40 -0800 From: "Gary W. Swearingen" Reply-To: swear@blarg.net To: FreeBSD-gnats-submit@freebsd.org Subject: conf/35725: /etc/rc should create missing "dumpdir". Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 35725 >Category: conf >Synopsis: /etc/rc should create missing "dumpdir". >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Mar 09 22:00:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Gary W. Swearingen >Release: FreeBSD 4.5-STABLE i386 >Organization: none >Environment: n/a ================ >Description: It is easy for one to follow the FAQ and man pages to configure for crash dumps and fail to get the dump captured because the user didn't know that the "dumpdir" needed to be pre-made, not just named in the rc.config file. I admit that it could be considered to be an implicit requirement, but many will not think of it without a warning. A good (?) and simple enhancement would be to have the code in /etc/rc which checks for a missing "dumpdir" create it after it determines that it is missing. Or maybe the savecore(8) program should create the directory that it is told to use (and the check removed from /etc/rc). (I don't know if there's a conventional way for programs to handle this situation.) In any case, the savecore(8) man page and FAQ should describe the requirement or lack thereof for the savecore(8) and the config procedure, respectively. P.S. I was lucky enough to have thought of the problem while examining /etc/rc during crash-dump configuration. I'm sure that many others will not be so lucky; hence this change-request. ================ >How-To-Repeat: n/a ================ >Fix: ? >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message