How to get coredumps from smbd internal errors
Andrew Tridgell
tridge at samba.anu.edu.au
Wed Oct 28 06:09:32 GMT 1998
> I'm trying to get a coredump generated from my smbd but it doesn't seem to
> want to do it! I've made a /var/adm/samba/corefiles directory, made it
> a+w, checked the ulimit settings and read the doco. (-:
depends on your OS. Current versions of Linux don't do coredumps on
processes that have changed uid. This is a kernel bug, and will
hopefully be fixed, the right fix is to set RLIMIT_CORE to 0 when a
uid change is made and allow the app to up it again.
hmmm, or maybe the problme is the exit() in smb_panic() ? hmmm, I'll
change it to abort().
meanwhile, use "panic action" instead. Mine is set to:
panic action = /usr/bin/X11/xterm -display :0 -e gdb /proc/%d/exe %d
More information about the samba-technical
mailing list