[exim] segfaults on amd64 - getting coredump

Pàgina inicial
Delete this message
Reply to this message
Autor: David Saez Padros
Data:  
A: exim-dev+pdp, EXIM mailing list
Assumpte: [exim] segfaults on amd64 - getting coredump
Hi !!

>> Any hint on how to get exim produce coredumps ?
>
> Exim is probably installed setuid and your OS is probably defaulting to
> not generating coredumps for setuid programs.
>
> Turning on those coredumps is OS-dependent. On FreeBSD, set the
> kern.sugid_coredump sysctl to 1 (instead of 0). With a Linux kernel,
> it's the fs.suid_dumpable sysctl, aka /proc/sys/fs/suid_dumpable. Etc
> etc.


there no such sysctl var, i've seen some web pages talking about
kernel.suid_dumpable or kernel.core_setuid_ok bot none of them
are available on my debian, so the possible solutions are either
clear the exim suid bit or add a call to prctl with PR_SET_DUMPABLE 1
The questions are, is possible to clear the suid bit while allowing
exim to run normally ? or where should i insert the call to prtcl
so it will dump core ?

> (BTW: this belongs on exim-users, really)


maybe, but i get no success on exim-users and as it was not related
to exim configuration and i could probably get more help from developers
than from users i also tried here.

--
Thanx & best regards ...

----------------------------------------------------------------
    David Saez Padros                http://www.ols.es
    On-Line Services 2000 S.L.       e-mail  david@???
    Pintor Vayreda 1                 telf    +34 902 50 29 75
    08184 Palau-Solita i Plegamans   movil   +34 670 35 27 53
----------------------------------------------------------------