Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Apr 2013 20:19:32 +0000 (UTC)
From:      Jeremie Le Hen <jlh@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r249591 - head/share/man/man5
Message-ID:  <201304172019.r3HKJWRr040804@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jlh
Date: Wed Apr 17 20:19:32 2013
New Revision: 249591
URL: http://svnweb.freebsd.org/changeset/base/249591

Log:
  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.
  
  MFC after:	3 days

Modified:
  head/share/man/man5/rc.conf.5

Modified: head/share/man/man5/rc.conf.5
==============================================================================
--- head/share/man/man5/rc.conf.5	Wed Apr 17 18:43:33 2013	(r249590)
+++ head/share/man/man5/rc.conf.5	Wed Apr 17 20:19:32 2013	(r249591)
@@ -3982,6 +3982,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.



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