diff options
| author | Daniel Gerzo <danger@FreeBSD.org> | 2007-10-13 23:04:11 +0000 |
|---|---|---|
| committer | Daniel Gerzo <danger@FreeBSD.org> | 2007-10-13 23:04:11 +0000 |
| commit | 81feacb4609832c22db64e2b6874757dd53e13fe (patch) | |
| tree | fb58c0da71ec4955cd3df39cb92ddd5e962cf8f4 /en_US.ISO8859-1 | |
| parent | 25fff62100be7c488814d9268e1cb82353455070 (diff) | |
Update for FreeBSD-SA-07:01.jail.
PR: docs/117024
Patch by: Wesley Shields <wxs.atarininja.org> (partly)
Notes
svn path=/head/; revision=30896
Diffstat (limited to 'en_US.ISO8859-1')
| -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 |
