From owner-freebsd-questions@FreeBSD.ORG Tue Dec 21 00:24:18 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5A4A216A4CE for ; Tue, 21 Dec 2004 00:24:18 +0000 (GMT) Received: from chello084114137224.1.15.vie.surfer.at (chello084114137224.1.15.vie.surfer.at [84.114.137.224]) by mx1.FreeBSD.org (Postfix) with SMTP id 9120143D5A for ; Tue, 21 Dec 2004 00:24:16 +0000 (GMT) (envelope-from 4711@chello.at) Received: (qmail 33360 invoked from network); 21 Dec 2004 00:24:15 -0000 Received: from matrix010.matrix.net (192.168.123.10) by ns.matrix.net with SMTP; 21 Dec 2004 00:24:15 -0000 From: Christian Hiris <4711@chello.at> To: freebsd-questions@freebsd.org, Daniel Johansson Date: Tue, 21 Dec 2004 01:24:00 +0100 User-Agent: KMail/1.7 References: <2a37e1ef0412191423786ac08a@mail.gmail.com> <20041220233152.GB53582@knobbe.us> <2a37e1ef041220154144df6582@mail.gmail.com> In-Reply-To: <2a37e1ef041220154144df6582@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1143630.KA4oVrsssT"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200412210124.15143.4711@chello.at> X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: Frank Knobbe Subject: Re: Do I have to rebuild my jails too when I rebuild the server? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Dec 2004 00:24:18 -0000 --nextPart1143630.KA4oVrsssT Content-Type: multipart/mixed; boundary="Boundary-01=_g02xBCDbrDEN7LA" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-01=_g02xBCDbrDEN7LA Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 21 December 2004 00:41, Daniel Johansson wrote: > On Mon, 20 Dec 2004 17:31:52 -0600, Frank Knobbe wrote: > > On Tue, Dec 21, 2004 at 12:13:08AM +0100, Daniel Johansson wrote: > > > I see. So if I've got a synced jail and host then top will work? I > > > thought top never worked inside jail for some memoryissue or something > > > like that? > > > > No, I was using that as an example for the host. I don't think top will > > work in a jail. > > > > > I think I should go and rebuild my jails too. It's just a bit of work > > > with three jails, thank god that I've got a fast box :) > > > > Not really. Update kernel, then: > > make buildworld > > make installworld > > make DESTDIR=3D/jail1 installworld > > make DESTDIR=3D/jail2 installworld > > > > You only need to compile once. > > Hmm true, I just have to buld it once, great! > > > > Still the issue with config-files but I think I'll back them up and > > > just restore them. > > > > uhm... we're talking binaries here. I'm not sure why you would need to > > restore your config files. But making backups is always a good practice. > > Hmm my bad, maby installworld doesn't install any new configfiles to > /etc? Only mergemaster who installes configfiles? Would still be a > good idea to run mergemaster for the jail to keep the configfiles up > to date. Yes, run 'mergemaster -D /your_jails_rootdir' from your host.=20 Answer the question "Use 'd' to delete the old /var/tmp/temproot and contin= ue"=20 with 'd' or simply type 'yes' when mergemaster asks, if you wish to delete= =20 what is left of /var/tmp/temproot.=20 I mostly run a small script that runs installworld, cleans out /usr/include= /*=20 and runs mergemaster for every enabled jail it finds in /etc/rc.conf. I run= =20 it on 5.3. The bad thing is, that it depends on ng_rc-style rc.conf, so it= =20 doesn't work on 4.11. However, if you will ever run 5.3 - feel free to use= =20 it, modify it or recycle-bin it.=20 =2D-=20 Christian Hiris <4711@chello.at> | OpenPGP KeyID 0x3BCA53BE=20 OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu --Boundary-01=_g02xBCDbrDEN7LA-- --nextPart1143630.KA4oVrsssT Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBx20v09WjGjvKU74RAjVAAJ4wucTHzTnLwtqJmWAv9ifev2LP1QCfTaXE cAWhh99M5dRPM3dD0pVt+2I= =Uxew -----END PGP SIGNATURE----- --nextPart1143630.KA4oVrsssT--