Cannot get Samba core dumps
Boris Samorodov
bsam at passap.ru
Sun Dec 1 16:56:59 UTC 2019
Hi Andrea,
29.11.2019 16:29, Andrea Venturoli пишет:
> Hello.
>
> I've recently installed net/samba410 in a 11.3/amd64 jail (like I've
> done several times before(.
>
> Unlike all other cases, in this particular instance smbd is crashing
> often, but won't dump any core file.
> In the logs I find:
>> [2019/11/22 12:34:37.366207, 0]
>> ../../source3/lib/dumpcore.c:310(dump_core)
>> unable to change to %N.core
>> refusing to dump core
>
> So I tried "sysctl kern.corefile=/root/%N_%P.pid".
> Now I see:
>> [2019/11/29 12:54:14.946952, 0]
>> ../../source3/lib/dumpcore.c:315(dump_core)
>> dumping core in /root
>
> Still there's no core in jail's /root, nor base's /root!
What is the output of "sysctl kern.sugid_coredump"
command?
> I remember having examined Samba cores in the past...
>
> What should I do to be able to get them again?
>
> bye & Thanks
> av.
--
WBR, bsam
More information about the freebsd-ports
mailing list