Faulty symlink /etc/termcap

Bertram Scharpf lists at bertram-scharpf.de
Fri Mar 24 12:59:35 UTC 2017


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


More information about the freebsd-questions mailing list