core dumps not working on FreeBSD host

Marek Zarychta zarychtam at plan-b.pwste.edu.pl
Wed Feb 5 18:17:07 CET 2020


W dniu 05.02.2020 o 14:25, Marek Zarychta pisze:
> Dear list,
> 
> since upgrade from 3.0.19 to 3.0.20 I am occasionally getting errors
> like this one:
> 
> pid 23749 (radiusd), jid 1, uid 133: exited on signal 11
> 
> This issue is somehow related to network / connectivity problems and
> looks like quite a new problem (I have not seen this in 3.0.19 and
> earlier releases). It can't be easily triggered, so I am searching for
> the culprit. To find it I have tried to enable core dumps on FreeBSD for
> radiusd but without success. I have set allow_core_dumps = yes in
> radiusd.conf file. Also these sysctls are set:
> kern.sugid_coredump=1
> kern.coredump=1
> kern.corefile=/tmp/%N.%P.core
> 
> There is no problem with getting core dumps for other daemons running on
> this host, also those running with suid/sgid enabled like bind or nsd,
> so the issue looks more like daemon related problem than OS problem.
> 
> Any help would be greatly appreciated!
> 
> 
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
> 

Running radiusd -X and going through debug output I found these lines:

Changing value of PR_DUMPABLE not supported on this system
Core dumps are enabled

Which probably according to
https://github.com/FreeRADIUS/freeradius-server/blob/v3.0.x/src/lib/debug.c#L480

mean that core dumps are not really supported while running FreeRADIUS
on this OS ?


-- 
Marek Zarychta

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20200205/3ad6284a/attachment.sig>


More information about the Freeradius-Users mailing list