From owner-freebsd-jail@FreeBSD.ORG Tue Feb 9 02:58:13 2010 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 726AD106568D for ; Tue, 9 Feb 2010 02:58:13 +0000 (UTC) (envelope-from lambert@lambertfam.org) Received: from sysmon.tcworks.net (sysmon.tcworks.net [65.66.76.4]) by mx1.freebsd.org (Postfix) with ESMTP id 1B8F08FC12 for ; Tue, 9 Feb 2010 02:58:12 +0000 (UTC) Received: from sysmon.tcworks.net (localhost [127.0.0.1]) by sysmon.tcworks.net (8.13.1/8.13.1) with ESMTP id o192wAfT010968; Mon, 8 Feb 2010 20:58:11 -0600 (CST) (envelope-from lambert@lambertfam.org) Received: (from lambert@localhost) by sysmon.tcworks.net (8.13.1/8.13.1/Submit) id o192wAMH010967; Mon, 8 Feb 2010 20:58:10 -0600 (CST) (envelope-from lambert@lambertfam.org) X-Authentication-Warning: sysmon.tcworks.net: lambert set sender to lambert@lambertfam.org using -f Date: Mon, 8 Feb 2010 20:58:10 -0600 From: Scott Lambert To: freebsd-jail@freebsd.org Message-ID: <20100209025810.GA9904@sysmon.tcworks.net> References: <201002081106.o18B6wVO087428@freefall.freebsd.org> <415609C2-DB3A-4617-9278-50B5EAF88CAF@rdc.cl> <4B7073C6.2020901@rednetgroup.com> <31A8571E-B879-4F21-B72A-5CC52A226CD2@rdc.cl> <4B7083A0.7010100@quip.cz> <1A79CBF1-3085-49BD-B9B0-4C7399CF9C7E@gmail.com> <4B7089BD.9020901@quip.cz> <5C26732B-3077-49AD-8679-B13CE4132796@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5C26732B-3077-49AD-8679-B13CE4132796@gmail.com> User-Agent: Mutt/1.4.2.2i Cc: Jose Amengual Subject: Re: Importing jails from 7.0, 7.2 to 8.0. X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-jail@freebsd.org List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2010 02:58:13 -0000 On Mon, Feb 08, 2010 at 02:05:17PM -0800, Jose Amengual wrote: > The problem that I had was that if I don't install compat7x I will not > be able to use any software inside of my jail like bash, portupgrade, > perl etc so you are force to install it and then upgrade all ports. > > I as getting this errors : > > /libexec/ld-elf.so.1: Shared object "libcrypt.so.4: not found, required by "ruby18" > etc and none of the services are running. > > when I was running almost all the thirty party utilities or ports apps > installed on the jail. That is expected. When I get ready to move a jail between hosts, I make sure root and my user are using /bin/sh or /bin/tcsh before I archive the jail on the old host. Then I can login to the jail on the new system without too much trouble. If you need to be in production immediately, you pretty much need to install the compat libs immediately. Then you can change your shell back to bash if you want, but I'd probably wait until you get done upgrading all the ports, just in case. If you do not have to be in production immediately, you can then: $ su # pkg-delete sudo # cd /usr/ports/security/sudo/ # make install clean # pkg-delete portupgrade # pkg-delete ruby* # cd /usr/ports/ports-mgmt/portupgrade # make install clean # portupgrade -af When that is all done, you can restart the jail and the services should work. Actually, things like this are part of the reason I switched to portmaster, no non-base system dependencies. But for some things, I still prefer the way portupgrade works. -- Scott Lambert KC5MLE Unix SysAdmin lambert@lambertfam.org