FreeBSD-11.1 - symbolic links in jails
James B. Byrne
byrnejb at harte-lyne.ca
Mon Jun 25 16:59:15 UTC 2018
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 at 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
More information about the freebsd-questions
mailing list