diff options
| -rw-r--r-- | en_US.ISO8859-1/books/handbook/jails/chapter.sgml | 25 |
1 files changed, 22 insertions, 3 deletions
diff --git a/en_US.ISO8859-1/books/handbook/jails/chapter.sgml b/en_US.ISO8859-1/books/handbook/jails/chapter.sgml index 7a972d8121..7085244e5b 100644 --- a/en_US.ISO8859-1/books/handbook/jails/chapter.sgml +++ b/en_US.ISO8859-1/books/handbook/jails/chapter.sgml @@ -775,16 +775,35 @@ jail_set_hostname_allow="NO" jail_list="ns mail www" jail_ns_hostname="ns.example.org" jail_ns_ip="192.168.3.17" -jail_ns_rootdir="/home/j/ns" +jail_ns_rootdir="/usr/home/j/ns" jail_ns_devfs_enable="YES" jail_mail_hostname="mail.example.org" jail_mail_ip="192.168.3.18" -jail_mail_rootdir="/home/j/mail" +jail_mail_rootdir="/usr/home/j/mail" jail_mail_devfs_enable="YES" jail_www_hostname="www.example.org" jail_www_ip="62.123.43.14" -jail_www_rootdir="/home/j/www" +jail_www_rootdir="/usr/home/j/www" jail_www_devfs_enable="YES"</programlisting> + + <warning> + <para>The reason why the + <varname>jail_<replaceable>name</replaceable>_rootdir</varname> + variable is set to <filename + role="directory">/usr/home</filename> instead of + <filename role="directory">/home</filename> is that the + physical path of the <filename + role="directory">/home</filename> directory on a + default &os; installation is <filename + role="directory">/usr/home</filename>. The + <varname>jail_<replaceable>name</replaceable>_rootdir</varname> + variable must <emphasis>not</emphasis> be set to a path + which includes a symbolic link, otherwise the jails will + refuse to start. Use the &man.realpath.1; utility to + determine a value which should be set to this variable. + Please see the &os;-SA-07:01.jail Security Advisory for + more information.</para> + </warning> </step> <step> <para>Create the required mount points for the read-only |
