Joel Reicher wrote:
> The weird thing is that I'm getting a segmentation fault but no
> core dump.
Usually one of two reaons:
-1- The milter-greylist user doesn't have permission to
write a core dump to its current working directory.
-2- The core dump size limit is set to 0, effectively
disabling core dumps.
Some operating systems also have other ways to control core
dumps. For example, FreeBSD has a number of "sysctl" MIB
values (see "sysctl kern | grep core") which can be used to
enable/disable core dumps globally, and to specify the
location and name of core dumps.
Some programs also prevent proper core dumps themselves by
installing a signal handler for SIGSEGV (which is usually a
bad idea because it makes debugging more difficult, even if
the signal handler then performs a core dump "manually").
But I think milter-greylist doesn't do that, and sendmail's
libmilter only traps SIGPIPE, SIGHUP, SIGTERM and SIGINT.
Best regards
Oliver
--
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing
Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.
'Instead of asking why a piece of software is using "1970s technology,"
start asking why software is ignoring 30 years of accumulated wisdom.'Message
Re: [milter-greylist] milter dying
2006-12-08 by Oliver Fromme
Attachments
- No local attachments were found for this message.