Date: Wed, 14 Feb 2001 10:59:35 -0800 From: Kris Kennaway <kris@obsecurity.org> To: Mike Tancsa <mike@sentex.net> Cc: Kris Kennaway <kris@obsecurity.org>, freebsd-stable@FreeBSD.ORG Subject: Re: Named crashing Message-ID: <20010214105935.B73656@mollari.cthul.hu> In-Reply-To: <5.0.1.4.0.20010214124009.02c0d7a0@marble.sentex.ca>; from mike@sentex.net on Wed, Feb 14, 2001 at 12:41:27PM -0500 References: <5.0.1.4.0.20010214113429.02305b70@marble.sentex.ca> <EE976316F1109441957E739E180A5BF202D113@pics2000.hq.pics.com> <5.0.1.4.0.20010214113429.02305b70@marble.sentex.ca> <20010214094429.D72669@mollari.cthul.hu> <5.0.1.4.0.20010214124009.02c0d7a0@marble.sentex.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Wed, Feb 14, 2001 at 12:41:27PM -0500, Mike Tancsa wrote: > At 09:44 AM 2/14/01 -0800, Kris Kennaway wrote: > >On Wed, Feb 14, 2001 at 11:58:49AM -0500, Mike Tancsa wrote: > > > > > > Actually, I think 8.2.3 is somehow crashable as well. I have a machine > > that > > > core dumped with 8.2.3REL > > > pid 104 (named), uid 53: exited on signal 11 > > > > > > named 8.2.3-REL Mon Jan 29 12:37:34 EST 2001 > > > >Someone needs to analyse the core and figure out why it's dying. > > > I could not find the core dump file. How can I config him so that he knows > where the correct location is to dump the file that is writeable by his > particular UID. Use something like: sysctl -w kern.corefile=/usr/cores/%N.core where /usr/cores is a mode 1777 directory. If you're running named setugid, you'll need sysctl -w kern.sugid_coredump=1 as well (only do this for debugging, it's a potential security risk if someone can read a corefile made by a setugid proces) Kris [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE6itWWWry0BWjoQKURAp8lAJ49kbN+0Cg+A2RZRYbd+mt84oslBgCg5d1z Q7MAycRoocpryhbnBn0Wwj0= =pU+b -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010214105935.B73656>
