zfs property jailed has to be set to "on".

This commit is contained in:
cryx 2010-01-09 00:56:24 +00:00
parent da6e501a90
commit e27c24db3a

View File

@ -149,8 +149,8 @@ will be configured and, if the jail is running, appliedto the running jail. The
may include numbers separated by '-' for ranges and commas separating individual numbers. may include numbers separated by '-' for ranges and commas separating individual numbers.
With the -z option, one or more zfs-datasets can be configured to be attached to the jail. With the -z option, one or more zfs-datasets can be configured to be attached to the jail.
You need to configure the sysctl security.jail.mount_allowed=1 and security.jail.enforce_statfs=0 You need to configure the sysctl security.jail.mount_allowed=1 and security.jail.enforce_statfs=0,
as well as "add path zfs unhide" in the devfs ruleset for the jail. set the jailed zfs property to on as well as "add path zfs unhide" in the devfs ruleset for the jail.
You can configure an altered network view (FIB) for the jail with the -f option. For setting up FIBs, see You can configure an altered network view (FIB) for the jail with the -f option. For setting up FIBs, see
setfib(1). The jail needs to be restarted after the option has been applied to take effect. setfib(1). The jail needs to be restarted after the option has been applied to take effect.