Samba sometimes does not dump core on a SIGSEGV etc

Richard Sharpe realrichardsharpe at gmail.com
Thu Oct 13 22:38:09 MDT 2011


Hi folks,

When I was working on the Ceph VFS I noticed that Samba would not dump
core in the VFS when I caused a SIGSEGV.

In looking at this same problem elsewhere, it seems that this might be
because in the VFS Samba has done a setreuid to the mapped user, and
the Linux kernel will not allow a core dump under those circumstances.

Should the Samba SIGSEGV handler return to root before trying to dump core?

-- 
Regards,
Richard Sharpe


More information about the samba-technical mailing list