From owner-freebsd-questions@FreeBSD.ORG Thu Apr 5 20:43:51 2012 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A93621065673 for ; Thu, 5 Apr 2012 20:43:51 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 14E2B8FC12 for ; Thu, 5 Apr 2012 20:43:50 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [IPv6:2001:8b0:151:1:fa1e:dfff:feda:c0bb]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id q35Khkrm059706 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Thu, 5 Apr 2012 21:43:47 +0100 (BST) (envelope-from matthew@FreeBSD.org) X-DKIM: OpenDKIM Filter v2.5.1 smtp.infracaninophile.co.uk q35Khkrm059706 Authentication-Results: smtp.infracaninophile.co.uk/q35Khkrm059706; dkim=none (no signature); dkim-adsp=none Message-ID: <4F7E03FA.9040101@FreeBSD.org> Date: Thu, 05 Apr 2012 21:43:38 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 To: bsd References: <47BE4A7A-E5E4-498B-A994-9CC331D3CA85@todoo.biz> In-Reply-To: <47BE4A7A-E5E4-498B-A994-9CC331D3CA85@todoo.biz> X-Enigmail-Version: 1.4 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig775B63F63B07C99D200E300C" X-Virus-Scanned: clamav-milter 0.97.4 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: Liste FreeBSD Subject: Re: Problem installing bind in jail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Apr 2012 20:43:51 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig775B63F63B07C99D200E300C Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 05/04/2012 18:24, bsd wrote: > I have decided to recompile bind in the latest version and I am > running into a problem which is caused by bind port not following the > FreeBSD requisites and trying to install things in /usr/include/isc What on earth gives you the idea that dns/bind98 doesn't conform to hier(7)? The bind ports are all installing stuff correctly: the only files that get installed in an 'isc' or 'isccc' sub-directory are c-language header files. That's perfectly legal according to the rules. No problem there. I suggest turning off the REPLACE_BASE option in the port. You really don't need it -- install as normal under /usr/local (which I guess should fix the writablity problems). Then all you need to enable the ports version of named is to put the following in /etc/rc.conf: named_enable=3D"YES" named_program=3D"/usr/local/sbin/named" That's it. You can now start up the ports version of named by: /etc/rc.d/named start The bind port creates symlinks for named.conf, rndc.conf and rndc.key in /usr/local/etc so you can control the ports version of bind in the usual way using rndc(8). (Well, assuming you've set up /etc/namedb/named.conf properly.) Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --------------enig775B63F63B07C99D200E300C Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk9+BAEACgkQ8Mjk52CukIzzjgCcCx+0+WrXKKgXgd0D/o+HDBpQ mRMAn23zeQcq3c0C0P6E9bvkLPXnGiDk =11xL -----END PGP SIGNATURE----- --------------enig775B63F63B07C99D200E300C--