Page MenuHomeFreeBSD

D2114.id5762.diff
No OneTemporary

D2114.id5762.diff

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

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)

Event Timeline