Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Mar 2017 13:59:24 +0100
From:      Bertram Scharpf <lists@bertram-scharpf.de>
To:        freebsd-questions@freebsd.org
Subject:   Faulty symlink /etc/termcap
Message-ID:  <20170324125924.GA14363@becker.bs.l>

next in thread | raw e-mail | index | archive | help
Hi,

  # ls -l /etc/termcap
  lrwxr-xr-x  1 root  wheel  23 28 Feb.  2014 /etc/termcap -> /usr/share/misc/termcap

First: Shouldn't this rather link down the hierarchy?

  lrwxr-xr-x  1 root  wheel  23 28 Feb.  2014 /etc/termcap -> ../usr/share/misc/termcap

Second: I detected that, when I do a

  # cd /usr/src
  # mkdir /usr/jail/myjail
  # make DESTDIR=/usr/jail/myjail distribution

there will be a "/usr/jail/myjail/etc/termcap" but no
"/usr/jail/myjail/usr/share/misc/termcap".

The only reason why the link is not broken is because it
links outside the jail.

Is this an issue?

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170324125924.GA14363>