FreeBSD Bugzilla – Attachment 140532 Details for
Bug 187142
[handbook] [patch] The Handbook (chapter 15.4) does not mention /etc/jail.conf
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.41 KB, created by
Jack-Benny Persson
on 2014-02-28 13:50:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Jack-Benny Persson
Created:
2014-02-28 13:50:00 UTC
Size:
1.41 KB
patch
obsolete
>Index: en_US.ISO8859-1/books/handbook/jails/chapter.xml >=================================================================== >--- en_US.ISO8859-1/books/handbook/jails/chapter.xml (revision 44074) >+++ en_US.ISO8859-1/books/handbook/jails/chapter.xml (working copy) >@@ -373,6 +373,25 @@ > <para>For a full list of available options, please see the > &man.rc.conf.5; manual page.</para> > </note> >+ >+<note> >+<para>From FreeBSD 9.1 and above the recommended way is to place the jail settings in <filename>/etc/jail.conf</filename> (see &man.jail.conf.5;). >+For example a jail config similar to above would look like this in <filename>/etc/jail.conf</filename>. >+<programlisting> >+<replaceable>www</replaceable> { # Name of the jail from jail_list in /etc/rc.conf >+ host.hostname = <replaceable>www</replaceable>.example.org; # Hostname >+ ip4.addr = 192.168.0.10; # IP address of the jail >+ path = "<replaceable>/usr/jail/www</replaceable>"; # Path to the jail >+ devfs_ruleset = <replaceable>www_ruleset</replaceable>; # DevFS ruleset >+ mount.devfs; # Mount devfs inside the jail >+ exec.start = "/bin/sh /etc/rc"; # Start command to run >+ exec.stop = "/bin/sh /etc/rc.shutdown"; # Stop command to run to stop the jail >+} >+</programlisting> >+</para> >+</note> >+ >+ > </step> > </procedure>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 187142
: 140532