How to get coredumps from smbd internal errors
Tim Potter
tpot at acsys.anu.edu.au
Wed Oct 28 06:26:31 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.
I'm running under solaris at the moment.
> hmmm, or maybe the problme is the exit() in smb_panic() ? hmmm, I'll
> change it to abort().
That was one reason - if you commented out the call to smb_panic() it
actually says it is dumping core but doesn't get around it.
> meanwhile, use "panic action" instead. Mine is set to:
>
> panic action = /usr/bin/X11/xterm -display :0 -e gdb /proc/%d/exe %d
What proc entry could I use for solaris? Only linux seems to have an
exe entry.
Tim.
More information about the samba-technical
mailing list