From owner-freebsd-current@FreeBSD.ORG Fri Mar 2 23:40:08 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8FE8C106566C for ; Fri, 2 Mar 2012 23:40:08 +0000 (UTC) (envelope-from yuri.pankov@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 149BC8FC16 for ; Fri, 2 Mar 2012 23:40:07 +0000 (UTC) Received: by bkcjc3 with SMTP id jc3so2614698bkc.13 for ; Fri, 02 Mar 2012 15:40:07 -0800 (PST) Received-SPF: pass (google.com: domain of yuri.pankov@gmail.com designates 10.204.130.150 as permitted sender) client-ip=10.204.130.150; Authentication-Results: mr.google.com; spf=pass (google.com: domain of yuri.pankov@gmail.com designates 10.204.130.150 as permitted sender) smtp.mail=yuri.pankov@gmail.com; dkim=pass header.i=yuri.pankov@gmail.com Received: from mr.google.com ([10.204.130.150]) by 10.204.130.150 with SMTP id t22mr6088428bks.1.1330731607040 (num_hops = 1); Fri, 02 Mar 2012 15:40:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=2ONLqn63VS0TxM6P1x29AITWMVzshp/PKHJnPLBdltg=; b=SJPGdEnXW55rothvZqr6h37gHE2gUlrZNg1KwqXgkuDhTVv9kuot8v2yu0ZhZ3hrkg 0NF/MNOmwVXnUPoo8824cV7DXnYUacVXAdNP2J4gT1xv52yYj0WHxytbMdsoj5QOT1MN F/nejjoIU4KGqq/Gg4IL9l0yonZzMZ1su7W8AFmEGjT/fLZ/PmT8COyDQxXAyQ7MtAFZ qPhWFLONk/k/9KTCUJb6fSO+uPhv5ckCup8q226u/FaqTMDcEDct8AQyNuJEdAiNAsFU rLLR6mQLSggorO7x8rslt6nyAAaV7zNu1+tC0KXZY+VVVxCTwYzNFZRFHoo2cDy/JHDw BmLA== Received: by 10.204.130.150 with SMTP id t22mr4841964bks.1.1330729756152; Fri, 02 Mar 2012 15:09:16 -0800 (PST) Received: from [192.168.1.4] ([213.132.76.142]) by mx.google.com with ESMTPS id f5sm1153674bke.9.2012.03.02.15.09.14 (version=SSLv3 cipher=OTHER); Fri, 02 Mar 2012 15:09:15 -0800 (PST) Message-ID: <4F515316.8080904@gmail.com> Date: Sat, 03 Mar 2012 03:09:10 +0400 From: Yuri Pankov User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: Rotate 13 References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: src.conf ignored; phantom named X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2012 23:40:08 -0000 On Fri, 2 Mar 2012 17:41:28 -0500, Rotate 13 wrote: > I set WITHOUT_BIND="yes" in /etc/src.conf, and built/installed world. > Not only does /usr/sbin/named exist - named is actually started! > Several other WITHOUT_* variables also were apparently ignored, as > evidenced by stuff installed on running system. > > My main question is - how do I debug this? I have been combing over > makefiles under /usr/src (not to mention, going through /etc/rc.d/ > trying to figure out what actually started named). As far as I > ascertain, _WITHOUT_SRCCONF is *not* set anywhere for world building; > named_enable="no" in relevant rc.conf files; rpcbind and ntpd are not > running either. Since named daemonized, it's not easy to tell who > started it - and grepping everything in sight, I can't figure out how > it got built in the first place. > > uname -a: > FreeBSD xyz.example.com 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Thu Feb 29 > 10:28:17 CST 2012 root@xyz.example.com:/usr/obj/usr/src/sys/CUSTOM > amd64 > > I focused substantial attention on /usr/src/share/bsd.own.mk and > worked outward; but did not find anything obvious. > > Advice on where to poke for the right information, much appreciated. src.conf controls what is (not) built. To actually remove the bits marked as WITHOUT_ from the system, try running `make delete-old` in /usr/src.