Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Apr 2008 13:23:38 -0500
From:      Brooks Davis <brooks@freebsd.org>
To:        current@freebsd.org, arch@freebsd.org
Subject:   ddb scripts now load by default
Message-ID:  <20080421182338.GB20417@lor.one-eyed-alien.net>

next in thread | raw e-mail | index | archive | help

--uZ3hkaAS1mZxFaxD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

I've changed the default value of ddb_enable to YES so we now load ddb
scripts from ddb.conf by default.  Developers expecting to perform
active deugging should add ddb_enable=3DNO or change the script to not
perform at textdump and reboot the machine.

This is another step toward hopefully shipping 8.0 with DDB built
in and generating useful crash dumps.  The security implications of
doing so need to be carefully considered and in particular the GENERIC
kernel will probably want to be shipped with at least the options
DDB_UNATTENDED and SC_DISABLE_KDBKEY.

The fact that the watchdog driver changes it's behavior based on
DDB_UNATTENDED is probably a bug that should be fixed.

-- Brooks

----- Forwarded message from Brooks Davis <brooks@FreeBSD.ORG> -----

=46rom: Brooks Davis <brooks@FreeBSD.ORG>
Date: Mon, 21 Apr 2008 18:18:00 +0000 (UTC)
To: brooks@FreeBSD.ORG
Subject: [src] cvs commit: src/etc/defaults rc.conf

brooks      2008-04-21 18:17:48 UTC

  FreeBSD src repository

  Modified files:
    etc/defaults         rc.conf=20
  Log:
  Change the default of ddb_enable to YES so we default to generating textd=
umps
  on panic.  This means you get a potentially useful dump even if your syst=
em
  is running X when you panic.
 =20
  X-MFC after:    never
 =20
  Revision  Changes    Path
  1.332     +1 -1      src/etc/defaults/rc.conf
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"


Index: src/etc/defaults/rc.conf
diff -u src/etc/defaults/rc.conf:1.331 src/etc/defaults/rc.conf:1.332
--- src/etc/defaults/rc.conf:1.331	Sun Apr 20 20:37:20 2008
+++ src/etc/defaults/rc.conf	Mon Apr 21 18:17:48 2008
@@ -33,7 +33,7 @@
 apm_enable=3D"NO"		# Set to YES to enable APM BIOS functions (or NO).
 apmd_enable=3D"NO"	# Run apmd to handle APM event from userland.
 apmd_flags=3D""		# Flags to apmd (if enabled).
-ddb_enable=3D"NO"		# Set to YES to load ddb scripts at boot.
+ddb_enable=3D"YES"	# Load ddb scripts at boot.
 ddb_config=3D"/etc/ddb.conf"	# ddb(8) config file.
 devd_enable=3D"YES" 	# Run devd, to trigger programs on device tree change=
s.
 devd_flags=3D""		# Additional flags for devd(8).


----- End forwarded message -----

--uZ3hkaAS1mZxFaxD
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (FreeBSD)

iD8DBQFIDNupXY6L6fI4GtQRAtdjAJwPdHZUZqli7sELZAopBBfSKwc5kQCgh3UZ
ovXYqK48cVWHGFMcjznnkh0=
=uT6F
-----END PGP SIGNATURE-----

--uZ3hkaAS1mZxFaxD--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080421182338.GB20417>