From owner-freebsd-ports@FreeBSD.ORG Fri May 9 18:21:13 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 70294B8E; Fri, 9 May 2014 18:21:13 +0000 (UTC) Received: from mail.iXsystems.com (newknight.ixsystems.com [206.40.55.70]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4E8DC1F8; Fri, 9 May 2014 18:21:12 +0000 (UTC) Received: from localhost (mail.ixsystems.com [10.2.55.1]) by mail.iXsystems.com (Postfix) with ESMTP id 0E47B5F9CF; Fri, 9 May 2014 11:21:12 -0700 (PDT) Received: from mail.iXsystems.com ([10.2.55.1]) by localhost (mail.ixsystems.com [10.2.55.1]) (maiad, port 10024) with ESMTP id 26979-01-5; Fri, 9 May 2014 11:20:56 -0700 (PDT) Received: from dibbler.crodrigues.org (unknown [10.8.0.34]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.iXsystems.com (Postfix) with ESMTPSA id 8906F5F996; Fri, 9 May 2014 11:20:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ixsystems.com; s=newknight0; t=1399659633; bh=tmXTOD2Jt0JFnN77QExVKL83yVp88IQqElJXdSzg7K4=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=pSC/y1boNLYLEf6eSPJ1qahqKDaA29fRnb2ZSrg0mHKDfH8qg0oaI1R8Qi4qicUuB GhDgcXp1DorwP5kVOhEniV6w+fq9FTKD+ZbSE3ER7UqYdI9vsVi4mh76K/wq8v5kyF +Inrm2eZlbV0GtuAvqQnFZ22/SUJ6c8si0pdgiU0= Message-ID: <536D1C6F.70500@ixsystems.com> Date: Fri, 09 May 2014 11:20:31 -0700 From: Craig Rodrigues User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: John Hixson , Konstantin Belousov Subject: Re: net/samba41 port compiles nmbd as a shared object, not executable References: <536BB61A.7000307@ixsystems.com> <20140508194227.GB74331@kib.kiev.ua> <20140508221006.GP58138@thinkbsd.divinix.org> In-Reply-To: <20140508221006.GP58138@thinkbsd.divinix.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Developers iXsystems , timur@freebsd.org, freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 May 2014 18:21:13 -0000 On 05/08/14 15:10, John Hixson wrote: > > So, fix what ? > We were seeing that smbd was not dumping core. It would claim to be dumping > core but wasn't. It appears this is completely unrelated. The issue > turns out to be the kern.sugid_coredump sysctl. Once this is set, smbd > will core fine. > OK, so after discussions with John, I understand what is going on. The net/samba41 port is fine, and nothing needs to be changed in it. We just need to verify in our application that kern.sugid_coredump=1 is set, in order to get debuggable coredumps from Samba. -- Craig