Re: cannot get core dump of crashing freeradius
Hi, follow from the users list, belongs not really there, I think. Alan DeKok, 2010-04-26 17:24:
This will become a non-issue when the prctl() calls are moved into the fr_suid_* functions. :) Would you like me to prepare a patch for that or would you rather do that yourself? Patch, please. It's just easier.
Is attached. I found no way to enable the process's dumpable flag permanently, so I just re-enable it on every uid/gid change. Not really elegant... I also propose a second (one-line) patch that allows core dumps also when running in debug mode (as mentioned on the users list). Note that the patches are not really tested, will probably do that tomorrow...
Jakob Hirsch wrote:
I also propose a second (one-line) patch that allows core dumps also when running in debug mode (as mentioned on the users list).
Note that the patches are not really tested, will probably do that tomorrow...
I've committed a similar patch to the v2.1.x branch. Please check it before 2.1.9 (i.e. within 3-4 days) Alan DeKok.
participants (2)
-
Alan DeKok -
Jakob Hirsch