From owner-freebsd-questions Wed Jan 24 7:48:36 2001 Delivered-To: freebsd-questions@freebsd.org Received: from thelab.hub.org (SHW1-154.accesscable.net [24.71.144.154]) by hub.freebsd.org (Postfix) with ESMTP id 8E2B737B402; Wed, 24 Jan 2001 07:48:16 -0800 (PST) Received: from localhost (scrappy@localhost) by thelab.hub.org (8.11.2/8.11.1) with ESMTP id f0OFkL614030; Wed, 24 Jan 2001 11:46:21 -0400 (AST) (envelope-from scrappy@hub.org) X-Authentication-Warning: thelab.hub.org: scrappy owned process doing -bs Date: Wed, 24 Jan 2001 11:46:21 -0400 (AST) From: The Hermit Hacker To: Cc: Subject: upgrading jail(s) world ... Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I've got a server setup with ~30 jail environments, and growing, that are used as "dedicated cyrus imap servers" ... works like a charm ... but, I want to be able to upgrade the world inside of the jail to reflect the machine itself, as I upgrade it ... What is the simpliest way to do this? Looking at the jail man page, to setup the jail requires: D=/here/is/the/jail cd /usr/src make hierarchy DESTDIR=$D make obj make depend make all make install DESTDIR=$D cd etc make distribution DESTDIR=$D NO_MAKEDEV=yes cd $D/dev sh MAKEDEV jail cd $D ln -sf dev/null kernel now, I'm figuring that I should be safe with doing: D=/here/is/the/jail cd /usr/src make buildworld make installworld (install to base machine) make installworld DESTDIR=$D (upgrade jail itself) mergemaster (update config files for base machine) mergemaster -D $D (update config files for jail env) and that's it ... Can anyone suggest anything wrong with that? Something I'm mis-understanding or overlooking? Thanks ... Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy Systems Administrator @ hub.org primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message