cvs commit: src/etc Makefile

Brian Somers brian at Awfulhak.org
Wed Oct 6 23:52:48 PDT 2004


On Wed, 6 Oct 2004 23:45:41 +0300, Ruslan Ermilov <ru at freebsd.org> wrote:
> Hi Brian,
> 
> On Tue, Oct 05, 2004 at 11:02:04PM +0100, 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?
> > 
> Please explain in more detail, I don't get it.  (There are several
> symlinks already exist in /etc, and most of them are absolute.)
>

Well, it looks like there's rmt -> /usr/sbin/rmt and termcap ->
/usr/share/misc/termcap.  I'd vote for making these relative too ;*)

I don't think these are as important as it's pretty rare that a person
needs to change /etc/termcap these days, and even more rare that they
would want to change /etc/rmt.

People with removable disks might want to configure them on one system
and then attach them to another, and part of that configuration might
be to set up a nameserver.  It would be an easy mistake to change
/mnt/etc/namedb/named.conf, ship the disk, then find out that you've
just broken the machine you configured from...

-- 
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