From owner-cvs-all@FreeBSD.ORG Wed Oct 6 00:59:17 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F9CF16A4CE; Wed, 6 Oct 2004 00:59:17 +0000 (GMT) Received: from gw.Awfulhak.org (awfulhak.demon.co.uk [80.177.173.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id DEB3043D48; Wed, 6 Oct 2004 00:59:16 +0000 (GMT) (envelope-from brian@Awfulhak.org) Received: from dev.lan.Awfulhak.org (brian@dev.lan.Awfulhak.org [172.16.0.5]) by gw.Awfulhak.org (8.13.1/8.13.1) with SMTP id i960xDgp015830; Wed, 6 Oct 2004 01:59:13 +0100 (BST) (envelope-from brian@Awfulhak.org) Date: Wed, 6 Oct 2004 01:59:15 +0100 From: Brian Somers To: Doug Barton Message-ID: <20041006015915.24a444b3@dev.lan.Awfulhak.org> In-Reply-To: <20041005164914.U3095@bo.vpnaa.bet> References: <200410051303.i95D38Nl047864@repoman.freebsd.org> <20041005170427.548e6e9d@dev.lan.Awfulhak.org> <20041005172056.GA4568@ip.net.ua> <20041005230204.5401f0be@dev.lan.Awfulhak.org> <20041005164914.U3095@bo.vpnaa.bet> X-Mailer: Sylpheed-Claws 0.9.12a (GTK+ 1.2.10; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.64 X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on gw.lan.Awfulhak.org cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: Ruslan Ermilov cc: re@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/etc Makefile X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Oct 2004 00:59:17 -0000 On Tue, 5 Oct 2004 16:57:15 -0700 (PDT), Doug Barton wrote: > On Tue, 5 Oct 2004, Brian Somers wrote: > > > On Tue, 5 Oct 2004 20:20:56 +0300, Ruslan Ermilov wrote: > >>> Shouldn't this be: > >>> > >>> ln -fhs ../var/named/etc/namedb ${DESTDIR}/etc/namedb > >>> > >> No. > > > > If I mount an alternate filesystem hierarchy somewhere, isn't it a bit > > useless/dangerous for symlinks to point outside of it? > > The attached patch combines the best of the various ideas that have been > disucssed on this topic. > > 1. Incorporates Ruslan's improvements to where things are done related > to the symlink in src/etc/Makefile. > > 2. Incorporates Brian's suggestion to make the link relative. This is > the best way I can see to make it work as expected in all cases, > including complete alternate filesystems. It should also solve the > release engineering problem. > > 3. Add a new knob, NO_BIND_MTREE, as suggested by the folks who already > have stuff in /var/named that they don't want me to mess with. :) > > 4. Updates make.conf(5) with the new stuff, and corrects a few paths > that have changed since I last updated it. > > If everyone finds this acceptable, I will commit it, and then ask re@ > for permission to MFC it, hopefully before 5-RC1. > > Thanks to everyone who contributed to this train of thought. No complaints from here. Cheers. -- Brian Don't _EVER_ lose your sense of humour !