From owner-freebsd-questions@FreeBSD.ORG Sun Feb 27 14:16:17 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 62F331065674; Sun, 27 Feb 2011 14:16:17 +0000 (UTC) (envelope-from dan.naumov@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id BEFC98FC0A; Sun, 27 Feb 2011 14:16:16 +0000 (UTC) Received: by bwz12 with SMTP id 12so3463791bwz.13 for ; Sun, 27 Feb 2011 06:16:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=jbRjiyH3JcxsbYfk8NGhu2G/Bhm8dSAunTWaqwZ1h48=; b=G2A1LQUv9eooYJZWGlMBGBUpNtBPd7m7QQuyPno6+bWQRPZgCyYJjoC1eNbXEfSRq8 tJlbJYkL3pL2Bfje08JgkGaQsNaXkTT/g/Mjb8seKPL7cPp+8LfZBXlqKMBNJ+A6t2MT Uv8IQBcGdoe4MaYPs2GPj/akvpF3v5aZN7f0E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Q+BXYiOFGDcClKONgpeeh6Yc2OZ1uJoE4dMy+Er5P4A0rrQRgHBCP5pYNOGIDSDhOs 7VG0NrCdLs5e/LUxGJVCYlBk5pF7y90gn2bVCHBIueHLSaYiI/iskirwroBUmRaWKrI3 PuAb7S+DyRR5BqSdigGm4YmQ7RqAgbhl/fDwo= MIME-Version: 1.0 Received: by 10.204.14.6 with SMTP id e6mr3758287bka.9.1298814485712; Sun, 27 Feb 2011 05:48:05 -0800 (PST) Received: by 10.204.62.205 with HTTP; Sun, 27 Feb 2011 05:48:05 -0800 (PST) Date: Sun, 27 Feb 2011 15:48:05 +0200 Message-ID: From: Dan Naumov To: freebsd-stable@freebsd.org, freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: using freebsd-update to update jails and their host X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Feb 2011 14:16:17 -0000 I have a 8.0 host system with a few jails (using ezjail) that I am gearing to update to 8.2. I have used freebsd-update a few times in the past to upgrade a system between releases, but how I would I go about using it to also upgrade a few jails made using ezjail? I would obviously need to point freebsd-update to use /basejail as root which I assume isn't too hard, but what about having it merge the new/changed /etc files in individual jails? I've also discovered the "ezjail-admin install -h file://" option which installs a basejail using the host system as base, am I right in thinking I could also use this by first upgrading my host and then running this command to write the /basejail over with the updated files from the host to bring them into sync? I still don't know how I would then fix the /etc under each individual jail though. - Sincerely, Dan Naumov