From owner-freebsd-jail@FreeBSD.ORG Sun Dec 16 11:05:15 2012 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B4336998 for ; Sun, 16 Dec 2012 11:05:15 +0000 (UTC) (envelope-from zaphod@berentweb.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 8F9CF8FC0A for ; Sun, 16 Dec 2012 11:05:15 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1TkC1y-0006Zb-PL for freebsd-jail@freebsd.org; Sun, 16 Dec 2012 03:05:14 -0800 Date: Sun, 16 Dec 2012 03:05:14 -0800 (PST) From: Beeblebrox To: freebsd-jail@freebsd.org Message-ID: <1355655914763-5769704.post@n5.nabble.com> In-Reply-To: <1353705747809-5763645.post@n5.nabble.com> References: <1353705747809-5763645.post@n5.nabble.com> Subject: Options for updating jail world (regular and ezjail) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2012 11:05:15 -0000 I have worked on this problem and I also want to clarify the question: * After buildworld / installworld on host, one would like to update jail worlds also. * My Jail worlds do not need man pages, src, ports, etc. But my host world does need those. * After installworld on host, in /usr/src/release do: # make release -DNOSRC -DNOPORTS -DNODOC -DNO_MAN DNO_GAMES -DNO_INFO -DNO_JAIL * Update native jail and ezjail base using the release sources (ftp or release.iso) So my question is how to update exactly: 1. for ezjail would it be: #ezjail-admin update -h file://usr/obj/src/release/release.iso It is possible to install from the disc1 CDRom, or an extracted -RELEASE directory, by specifying the host argument as file://path/to/source. However, the "-h" option is not availble for the update (only the install) Also, ezjail gives this warning for the update. As the old basejail is not deleted, but merely overwritten, this usually leaves all jails in a state where they still find older versions of libraries they were linked against. Okay, so what is the solution to that problem? 2. For the base jail, normally # make installworld DESTDIR=/pathto/jail would be enough but since I want to use the trimmed-down release version, that won't work. Should I just extract the *txz files? 3. As another solution there seems to be the freebsd-update method for both types of jails, but I need some insight as to how well this would work (I have never used freebsd-update so I do not know its capabilities). Thanks and Regards. -- View this message in context: http://freebsd.1045724.n5.nabble.com/Options-for-updating-jail-world-regular-and-ezjail-tp5763645p5769704.html Sent from the freebsd-jail mailing list archive at Nabble.com.