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,11 +1313,32 @@ 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: + available with this method. + + To 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, use: + + &prompt.root; ezjail-admin update -u + + To upgrade the basejail between versions, first + upgrade the host system as described in . Once the host has + been updated and rebooted, the basejail can then be updated. + The &man.freebsd-update.8; utility has no way of determining + the version currently installed in the basejail, so the + original version must be specified as part of the command. + Use the &man.file.1; utility to determine the original + version that was installed in the basejail: + + &prompt.root; file /usr/jails/basejail/bin/sh +/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 + + Now use this information to perform the upgrade from + 9.3-RELEASE to the current version of your host + system: - &prompt.root; ezjail-admin update -r + &prompt.root; ezjail-admin update -U -s 9.3-RELEASE After updating the basejail, &man.mergemaster.8; can be run to update each jail's configuration files.