cvs commit: src/etc Makefile

Brian Somers brian at Awfulhak.org
Tue Oct 5 17:59:17 PDT 2004


On Tue, 5 Oct 2004 16:57:15 -0700 (PDT), Doug Barton <DougB at FreeBSD.org> wrote:
> On Tue, 5 Oct 2004, Brian Somers wrote:
> 
> > On Tue, 5 Oct 2004 20:20:56 +0300, Ruslan Ermilov <ru at freebsd.org> 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 <brian at Awfulhak.org>                        <brian@[uk.]FreeBSD.org>
      <http://www.Awfulhak.org>                   <brian@[uk.]OpenBSD.org>
Don't _EVER_ lose your sense of humour !


More information about the cvs-src mailing list