Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 May 2013 14:35:35 +0000 (UTC)
From:      Jeremie Le Hen <jlh@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r250998 - stable/9/share/man/man5
Message-ID:  <201305261435.r4QEZZAp048847@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.



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