Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jun 2018 12:59:06 -0400
From:      "James B. Byrne" <byrnejb@harte-lyne.ca>
To:        freebsd-questions@freebsd.org
Subject:   FreeBSD-11.1 - symbolic links in jails
Message-ID:  <5c01d3596c548d3bac00e22ff2fcd2a5.squirrel@webmail.harte-lyne.ca>

next in thread | raw e-mail | index | archive | help
I am curious about the following observed behaviour:

On the host I see this:

ll /usr/jails/mx32/etc/a*
lrwxr-xr-x  1 root  wheel      17 Jun 25 12:45
/usr/jails/mx32/etc/aliases -> /etc/mail/aliases

more /usr/jails/mx32/etc/aliases
# $FreeBSD: releng/11.1/etc/mail/aliases 243752 2012-12-01 15:11:46Z
rwatson $
#       @(#)aliases     5.3 (Berkeley) 5/24/90
#
. . .

On the jail I see this:

ll /etc/alias*
lrwxr-xr-x  1 root  wheel      17 Jun 25 12:45 /etc/aliases ->
/etc/mail/aliases

# $FreeBSD: releng/11.0/etc/mail/aliases 243752 2012-12-01 15:11:46Z
rwatson $
# @(#)aliases 5.3 (Berkeley) 5/24/90
# mx32
#
. . .

I wish to confirm that this is intended behaviour; that a single
symbolic link can have differing target files depending whether one is
in a jail or not.


-- 
***          e-Mail is NOT a SECURE channel          ***
        Do NOT transmit sensitive data via e-Mail
 Do NOT open attachments nor follow links sent by e-Mail

James B. Byrne                mailto:ByrneJB@Harte-Lyne.ca
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3




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