Nagios coredumps
Andreas Ericsson
ae at op5.se
Wed Jan 19 15:00:51 CET 2005
The daemon_dumps_core config option is really nifty (although redundant
since all systems with RLIMIT_* definitions have ulimit as well), but
unfortunately it's slightly broken. SIGSEGV is still handled by
sighandler, the daemon still does chdir("/") and non-daemon mode doesn't
dump core by default.
The attached patch takes care of it (and also sets it to TRUE by
default, a beta release should dump core if you ask me), and forces
coredumps if any of the DEBUG macros are defined, which is most likely
preferrable.
Cheers
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Lead Developer
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: nagios-coredump-fixes.diff
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20050119/d5f6dc66/attachment.ksh>
More information about the Developers
mailing list