[Bugs] [Bug 1315201] [GSS] - smbd crashes with 3.7.6 and VFS module 4.2.3

bugzilla at redhat.com bugzilla at redhat.com
Wed Mar 9 02:18:21 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1315201

Anoop C S <anoopcs at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|needinfo?(anoopcs at redhat.co |
                   |m)                          |



--- Comment #7 from Anoop C S <anoopcs at redhat.com> ---
Hi Mukul,

Thanks for all your support. As a first step, I could finally root cause the
issue of getting truncated core files every time.

Due to the absence of LimitCORE parameter in smb service file, systemd defaults
the soft and hard limits for coredump files to 0. And we have a strange piece
of code in Samba where we set soft limit to maximum of 16MB and current soft
limit(which will be 0). Thus we always end up in creation of truncated core
files of 16MB for Samba crashes.This limitation in Samba have been recently
fixed upstream.
(https://git.samba.org/?p=samba.git;a=commit;h=58d3462bc58290d8eb5e554c6c59cf6b73ccf58a) 

So at this moment, I would like to request them to modify smb service
file(/usr/lib/systemd/system/smb.service) to include the following under
[Service] section, restart smb/ctdb services and try accessing the shares.

LimitCORE=infinity

After restarting services, as I mentioned before in previous comment
https://bugzilla.redhat.com/show_bug.cgi?id=1315201#c6, verify that cat
/proc/<smbd-pid>/limits shows Max core file size as unlimited for soft and hard
columns.

You can then attach the newly found cores which I would assume to be complete.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=NgkMrw27Vg&a=cc_unsubscribe


More information about the Bugs mailing list