svn commit: r250998 - stable/9/share/man/man5

Jeremie Le Hen jlh at FreeBSD.org
Sun May 26 14:35:36 UTC 2013


Author: jlh
Date: Sun May 26 14:35:35 2013
New Revision: 250998
URL: http://svnweb.freebsd.org/changeset/base/250998

Log:
  MFC r249591:
      Document jail_<jname>_parameters option.
  
      The description explains why we should not configure "path",
      "host.hostname", "command", "ip4.addr" and ip6.addr" parameters with
      this, but rather use the historical rc.conf(5) options.

Modified:
  stable/9/share/man/man5/rc.conf.5
Directory Properties:
  stable/9/share/man/man5/   (props changed)

Modified: stable/9/share/man/man5/rc.conf.5
==============================================================================
--- stable/9/share/man/man5/rc.conf.5	Sun May 26 14:14:42 2013	(r250997)
+++ stable/9/share/man/man5/rc.conf.5	Sun May 26 14:35:35 2013	(r250998)
@@ -3943,6 +3943,42 @@ Set to the root directory used by jail
 Unset by default.
 Set to the fully qualified domain name (FQDN) assigned to jail
 .Va jname .
+.It Va jail_ Ns Ao Ar jname Ac Ns Va _parameters
+.Pq Vt str
+Unset by default.
+Set extra parameters for jail
+.Va jname ,
+such as 
+.Dq Li allow.chflags
+or
+.Dq Li children.max .
+See
+.Xr jail 8
+for a list of available parameters.
+Note that the following parameters are already defined by
+.Pa rc.d/jail
+script out of their corresponding
+.Nm
+variables:
+.Bl  -tag -width "host.hostname" -offset indent
+.It Li path
+set from 
+.Va jail_ Ns Ao Ar jname Ac Ns Va _rootdir
+.It Li host.hostname
+set from
+.Va jail_ Ns Ao Ar jname Ac Ns Va _hostname
+.It Li command
+set from
+.Va jail_ Ns Ao Ar jname Ac Ns Va _exec_start
+.It Li ip4.addr
+set if
+.Va jail_ Ns Ao Ar jname Ac Ns Va _ip
+contains IPv4 addresses
+.It Li ip6.addr
+set if
+.Va jail_ Ns Ao Ar jname Ac Ns Va _ip6
+contains IPv6 addresses
+.El
 .It Va jail_ Ns Ao Ar jname Ac Ns Va _ip
 .Pq Vt str
 Unset by default.


More information about the svn-src-stable-9 mailing list