Skip site navigation (1)Skip section navigation (2)
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

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

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 machin=
e=20
> > 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.
>=20
>=20
> I could not find the core dump file. How can I config him so that he know=
s=20
> where the correct location is to dump the file that is writeable by his=
=20
> particular UID.

Use something like:

sysctl -w kern.corefile=3D/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=3D1 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

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

-----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-----

--eAbsdosE1cNLO4uF--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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