Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153493945
D2114.id5762.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D2114.id5762.diff
View Options
Index: en_US.ISO8859-1/books/handbook/jails/chapter.xml
===================================================================
--- en_US.ISO8859-1/books/handbook/jails/chapter.xml
+++ en_US.ISO8859-1/books/handbook/jails/chapter.xml
@@ -1313,14 +1313,34 @@
updates have the same limitations as if
&man.freebsd-update.8; were being run directly. The most
important one is that only -RELEASE versions of &os; are
- available with this method. To update the basejail to the
- latest patched release of the version of &os; on the host
- computer, use:</para>
+ available with this method.</para>
+
+ <para>Update the basejail to the latest patched release of
+ the version of &os; on the host. For example, updating from
+ RELEASE-p1 to RELEASE-p2.</para>
+
+ <screen>&prompt.root; <userinput>ezjail-admin update -u</userinput></screen>
+
+ <para>To upgrade the basejail to a new version, first
+ upgrade the host system as described in <xref
+ linkend="freebsdupdate-upgrade" />. Once the host has
+ been upgraded and rebooted, the basejail can then be
+ upgraded. &man.freebsd-update.8; has no way of determining
+ which version is currently installed in the basejail, so the
+ original version must be specified. Use &man.file.1; to
+ determine the original version in the basejail:</para>
+
+ <screen>&prompt.root; <userinput>file /usr/jails/basejail/bin/sh</userinput>
+/usr/jails/basejail/bin/sh: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), dynamically linked (uses shared libs), for FreeBSD 9.3, stripped</screen>
+
+ <para>Now use this information to perform the upgrade from
+ <literal>9.3-RELEASE</literal> to the current version of
+ the host system:</para>
- <screen>&prompt.root; <userinput>ezjail-admin update -r</userinput></screen>
+ <screen>&prompt.root; <userinput>ezjail-admin update -U -s <replaceable>9.3-RELEASE</replaceable></userinput></screen>
- <para>After updating the basejail, &man.mergemaster.8; can be
- run to update each jail's configuration files.</para>
+ <para>After updating the basejail, &man.mergemaster.8; must
+ be run to update each jail's configuration files.</para>
<para>How to use &man.mergemaster.8; depends on the purpose
and trustworthiness of a jail. If a jail's services or
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 22, 11:24 AM (43 m, 19 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31893326
Default Alt Text
D2114.id5762.diff (2 KB)
Attached To
Mode
D2114: Fix incorrect instructions in ezjail upgrading section of the jail handbook
Attached
Detach File
Event Timeline
Log In to Comment