Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Dec 2019 19:56:53 +0300
From:      Boris Samorodov <bsam@passap.ru>
To:        Andrea Venturoli <ml@netfence.it>, freebsd-ports@freebsd.org
Subject:   Re: Cannot get Samba core dumps
Message-ID:  <420327ad-5101-94cc-57c2-afc9013571dd@passap.ru>
In-Reply-To: <7b92a562-3a90-afb9-cffb-59f93ffea0f4@netfence.it>
References:  <7b92a562-3a90-afb9-cffb-59f93ffea0f4@netfence.it>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?420327ad-5101-94cc-57c2-afc9013571dd>