core file location for abort

Mark Andrews Mark_Andrews at isc.org
Fri Sep 10 23:31:29 UTC 2004


> Does anyone know where the core file is created on abort() in BIND 8 (is is 
> the dir where named.conf is located?) and is there a way to force an abort 
> in BIND (to test it)?
> -- 
> Jeffrey Stevens
> 

	"options { directory "/foo/bar"; }" sets the working directory.

	On most OS's the core will be written there after the directory
	clauses has been processed and acted on.  If you use -u core
	writing is disabled as a side effect of the setuid() call,
	overridable on some OS's globally.

	There should be a system call to disable this side effect of
	setuid() on a per process basis.

	Mark
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark_Andrews at isc.org


More information about the bind-users mailing list