From owner-freebsd-questions@freebsd.org Sat Mar 17 01:02:42 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 08EC0F5C378 for ; Sat, 17 Mar 2018 01:02:42 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (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 AB7937D535 for ; Sat, 17 Mar 2018 01:02:41 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id F17E220D42 for ; Fri, 16 Mar 2018 21:02:40 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Fri, 16 Mar 2018 21:02:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=CYyOkD6HWwpKDMZx/grilXDpEcX29 km+MWa4UzjkX0U=; b=t/TI2BxeqhA10fJZ8JzEqRtNs0iY299WtoDrmnxSXyyOt +4YKztWxeNB8ZX6wAYNRKDcCKHTlnVwMwULcnWa9j1YnijdFDSat5RIuSq3op/oM 5O3jRuJn2P/mnM20o/KOhhK+Obwq6M3W0p12XkG32823qsnpx8q4UDs8JSeFp8ux p5+frXiCb8VPxoyRha18kjVlc1RQpdBgjFhImv56eHIhVkyHWgcrbXZmT1FLrS9i vJHuAfwOXicNU7VZO+4PSwo7qclAwsLKA1/NfCDvO0Mgw48/L/nJVclv9hMyUTBR URWb+Xqr7m7D/QC0mlgqvWDZjHbIh6rID/mVEGorA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=CYyOkD 6HWwpKDMZx/grilXDpEcX29km+MWa4UzjkX0U=; b=ge48usBpZvRkKl5sxwHpoC vdPH6yPAbczFP3ePKr7s4VSos5cWDAnX805MmZKwpextvkmxp0DopqSMOVpiHXhz lZ/kGbq0H+65oEujGhKn0MVKaKogMvGC19F0FzuwjvzCJhGI1/XT+2k6ECP5ilQU qjMHDitm4beb4aUf1Pc93kRAv0ZFLwPvO4uHV9i6cPoPerLBfETbVCPxenJP7GZg 4AMqkaAA3qbfcOO+ekCZUE12RLvywB3vEK8VVMRkGd15Db/To0mCPcpvnJgrot2t CgiZxrxuNVGv/TWbeY6JIRiHJvG5WaS89likiOR4mBLEYHoerRjAgroFUgQ4TSug == X-ME-Sender: Received: from desktop.local (parsley.growveg.org [82.70.91.97]) by mail.messagingengine.com (Postfix) with ESMTPA id 958837E139 for ; Fri, 16 Mar 2018 21:02:40 -0400 (EDT) Subject: Re: Removing local_unbound To: freebsd-questions@freebsd.org References: From: tech-lists Message-ID: <89cf91b2-db67-03d9-b0b0-20489e9b1649@zyxst.net> Date: Sat, 17 Mar 2018 01:02:39 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Mar 2018 01:02:42 -0000 On 15/03/2018 19:31, Bob McDonald wrote: > I'm running freeBSD 11.1 > > It comes with unbound compiled right in (version 1.5.10 I think) > > I installed unbound 1.6.8 with pkg install unbound > > My question is this. How do I get rid of the compiled in unbound programs. > (local_unbound) > > I've already stumbled across an issue where a cli command (unbound-control) > exists in both and the current path takes the 1.5.10 version first. > > I can't see to find an answer to this question anywhere. Sorry I didn't see the original question listed above as it appears in a different thread on my mail client. In order to use the port, but without rebuilding world, you'd need to call it with full path to the binary and full path to the config file. Same with unbound-control. Not ideal. And I have no idea how you'd get it to auto-load on reboot without rebuilding world without base unbound because the rc.conf variables are the same in base as in port, ie unbound_enable=yes. -- J.