From owner-freebsd-questions@FreeBSD.ORG Tue Jan 16 16:08:17 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D143416A40F for ; Tue, 16 Jan 2007 16:08:17 +0000 (UTC) (envelope-from djp@polands.org) Received: from ms-smtp-04.rdc-kc.rr.com (ms-smtp-04.rdc-kc.rr.com [24.94.166.116]) by mx1.freebsd.org (Postfix) with ESMTP id 856F813C459 for ; Tue, 16 Jan 2007 16:08:17 +0000 (UTC) (envelope-from djp@polands.org) Received: from corinth.polands.org (CPE-72-129-222-120.new.res.rr.com [72.129.222.120]) by ms-smtp-04.rdc-kc.rr.com (8.13.6/8.13.6) with ESMTP id l0GEnJxw009204; Tue, 16 Jan 2007 08:49:19 -0600 (CST) Received: from jericho.polands.org (jericho.polands.org [172.16.1.33]) by corinth.polands.org (8.13.6/8.13.6) with ESMTP id l0GEnLU2048910; Tue, 16 Jan 2007 08:49:21 -0600 (CST) (envelope-from djp@polands.org) Received: from jericho.polands.org (localhost [127.0.0.1]) by jericho.polands.org (8.13.6/8.13.6) with ESMTP id l0GEnLSB064285; Tue, 16 Jan 2007 08:49:21 -0600 (CST) (envelope-from djp@jericho.polands.org) Received: (from djp@localhost) by jericho.polands.org (8.13.6/8.13.6/Submit) id l0GEnLsC064284; Tue, 16 Jan 2007 08:49:21 -0600 (CST) (envelope-from djp) Date: Tue, 16 Jan 2007 08:49:21 -0600 From: Doug Poland To: Dave Message-ID: <20070116144921.GA64026@polands.org> References: <20061220043736.GA87383@polands.org> <000d01c73977$bff7ad80$0200a8c0@satellite> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000d01c73977$bff7ad80$0200a8c0@satellite> User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Virus-Scanned: ClamAV 0.88.4/2457/Tue Jan 16 05:53:04 2007 on corinth.polands.org X-Virus-Status: Clean Cc: questions@freebsd.org Subject: Re: Confused with jails (ezjail) and mergemaster 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: Tue, 16 Jan 2007 16:08:17 -0000 On Tue, Jan 16, 2007 at 09:08:07AM -0500, Dave wrote: > ----- Original Message ----- > From: "Doug Poland" > To: > Sent: Tuesday, December 19, 2006 11:37 PM > Subject: Confused with jails (ezjail) and mergemaster > > >I have just built and installed world on a 6.1-STABLE i386 machine > >and run mergemaster. For the jails, I have run: > > > >root# ezjail-admin update -i > > > >and it performed an installworld. Cool so far. > > > >What about mergemaster on the jails? Do I need to run mergemaster on > >the basejail and each jail instance? > > > >root# mergemaster -D /usr/jails/basejail > >root# mergemaster -D /usr/jails/jail-01 > >root# mergemaster -D /usr/jails/jail-99 > > > >Or just mergemaster on basejail? If I do just run mergemaster on > >basejail, how do the config file changes make it into the individual > >jails? Ezjail is a great utility but running mergemaster on every > >jail instance seems daunting, not to mention the potential problems > >with end-user modified config files. > > > > Hello, > It's been a while since i checked my email, but did you ever get any > responses on this question? I'm not at the point of needing to update > any of my ezjails, but when 6.2 comes out or i deide to update to it > whichever, i will at that point. > No, I didn't get any responses. After more analysis, I reasoned that one must run mergemaster on the "basejail" and on each individual jail. It's a lot of work, but it appears that's the only way. > On a separate subject do you have ports in any of your jails as in the > ports tree? If so how did you pull that off? Thanks. > I use portupgrade so I needed to add the following to /usr/local/etc/pkgtools.conf + ENV['PACKAGES'] ||= '/var/ports/packages' + ENV['PKG_PATH'] ||= '/var/ports/packages/All' + ENV['PKG_BACKUP_DIR'] ||= '/var/tmp/pkg_backup' + ENV['PORTS_INDEX'] ||= '/var/ports/INDEX' HTH -- Regards, Doug