From pwroot@jhome.DIALix.COM  Sun Jul  2 13:40:44 1995
Received: from jhome.DIALix.COM (jhome.DIALix.COM [192.203.228.69])
          by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id NAA09649
          for <FreeBSD-gnats-submit@freebsd.org>; Sun, 2 Jul 1995 13:40:39 -0700
Received: (from root@localhost) by jhome.DIALix.COM (8.6.11/8.6.9) id EAA00387; Mon, 3 Jul 1995 04:40:35 +0800
Message-Id: <199507022040.EAA00387@jhome.DIALix.COM>
Date: Mon, 3 Jul 1995 04:40:35 +0800
From: peter@haywire.dialix.com (Peter Wemm)
Reply-To: peter@haywire.dialix.com (Peter Wemm)
To: FreeBSD-gnats-submit@freebsd.org
Subject: bad setting for dumpdev in sample sysconfig
X-Send-Pr-Version: 3.2

>Number:         584
>Category:       conf
>Synopsis:       bad setting for dumpdev in sample sysconfig
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs (FreeBSD bugs mailing list)
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul  2 13:50:02 1995
>Closed-Date:    Wed Jul 5 01:02:52 PDT 1995
>Last-Modified:
>Originator:     Peter Wemm
>Release:        FreeBSD 2.0-BUILT-19950703 i386
>Organization:
DIALix Services
>Environment:

FreeBSD-current, as of a few hours ago..
FreeBSD jhome.DIALix.COM 2.0-BUILT-19950703 FreeBSD 2.0-BUILT-19950703 #11: Mon Jul  3 04:17:24 WST 1995     pwroot@jhome.DIALix.COM:/usr/src/sys/compile/JHOME  i386

>Description:

/etc/rc checks the setting of $dumpdev, and skips it if it's set to
NO.  The matching sysconfig file however, doesn't set it.
/etc/rc then runs dumpon ${dumpdev} (because it's not "NO")
and causes usage errors during startup.

>How-To-Repeat:

install distributed sysconfig file (and customize it for your host
of course.. :-)

>Fix:
	
Something like this might be appropriate..

--- sysconfig.nodumpdev	Sun Jun 25 16:32:11 1995
+++ sysconfig	Mon Jul  3 04:31:52 1995
@@ -147,7 +147,7 @@
 # disable any statically configured dumpdev, or NO to do nothing.
 # The device should normally be one of the swap devices specified
 # in /etc/fstab.
-# dumpdev=/dev/sd0b
+dumpdev=NO
 
 # Set to YES if you want kernel crashdumps to be saved for debugging
 savecore=NO

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: peter 
State-Changed-When: Wed Jul 5 01:02:52 PDT 1995 
State-Changed-Why:  
Fixed in v1.17 of sysconfig, this closes my own PR. 
>Unformatted:



