From owner-freebsd-ports@freebsd.org Sun Dec 1 16:56:59 2019 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 415D21B10AA for ; Sun, 1 Dec 2019 16:56:59 +0000 (UTC) (envelope-from bsam@passap.ru) Received: from forward101j.mail.yandex.net (forward101j.mail.yandex.net [IPv6:2a02:6b8:0:801:2::101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47QvY60Vrsz417x for ; Sun, 1 Dec 2019 16:56:57 +0000 (UTC) (envelope-from bsam@passap.ru) Received: from forward102q.mail.yandex.net (forward102q.mail.yandex.net [IPv6:2a02:6b8:c0e:1ba:0:640:516:4e7d]) by forward101j.mail.yandex.net (Yandex) with ESMTP id 2C8DD1BE02A3; Sun, 1 Dec 2019 19:56:54 +0300 (MSK) Received: from mxback2q.mail.yandex.net (mxback2q.mail.yandex.net [IPv6:2a02:6b8:c0e:40:0:640:9c8c:4946]) by forward102q.mail.yandex.net (Yandex) with ESMTP id 26DDC7F20002; Sun, 1 Dec 2019 19:56:54 +0300 (MSK) Received: from vla5-dfb0352c045b.qloud-c.yandex.net (vla5-dfb0352c045b.qloud-c.yandex.net [2a02:6b8:c18:348f:0:640:dfb0:352c]) by mxback2q.mail.yandex.net (mxback/Yandex) with ESMTP id pSNMJ5xnpD-urKG1Xti; Sun, 01 Dec 2019 19:56:54 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=passap.ru; s=mail; t=1575219414; bh=mDlxPqw71vW3Sc9+gTyqb0Tz9oVKusJdVh719psU0Fc=; h=In-Reply-To:From:Date:References:To:Subject:Message-ID; b=Iguto89IoKTXlmjRVF6lJ6JKfaVG4XAm+jb2wmnadGoTpTxcntQtgUy25V2h+8OfC TAhXFviD89TDENBNGKN7irzCb6uHtMP2JIiLY8z7Q8mIoqWKrlzVuzLeHjl4fikoJT UFPlN1kyhr2Yjck6/a985dGcd37ILW3nNc5jAVmU= Received: by vla5-dfb0352c045b.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id H9AlFFM9Nx-urXGo2m5; Sun, 01 Dec 2019 19:56:53 +0300 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client certificate not present) Subject: Re: Cannot get Samba core dumps To: Andrea Venturoli , freebsd-ports@freebsd.org References: <7b92a562-3a90-afb9-cffb-59f93ffea0f4@netfence.it> From: Boris Samorodov Message-ID: <420327ad-5101-94cc-57c2-afc9013571dd@passap.ru> Date: Sun, 1 Dec 2019 19:56:53 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <7b92a562-3a90-afb9-cffb-59f93ffea0f4@netfence.it> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 47QvY60Vrsz417x X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=passap.ru header.s=mail header.b=Iguto89I; dmarc=none; spf=pass (mx1.freebsd.org: domain of bsam@passap.ru designates 2a02:6b8:0:801:2::101 as permitted sender) smtp.mailfrom=bsam@passap.ru X-Spamd-Result: default: False [-6.19 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[passap.ru:s=mail]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a02:6b8:0::/52]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[passap.ru]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[passap.ru:+]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(-3.59)[ip: (-9.50), ipnet: 2a02:6b8::/32(-4.69), asn: 13238(-3.77), country: RU(0.01)]; RCVD_IN_DNSWL_LOW(-0.10)[1.0.1.0.0.0.0.0.0.0.0.0.2.0.0.0.1.0.8.0.0.0.0.0.8.b.6.0.2.0.a.2.list.dnswl.org : 127.0.5.1]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:13238, ipnet:2a02:6b8::/32, country:RU]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Dec 2019 16:56:59 -0000 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