From owner-freebsd-jail@FreeBSD.ORG Mon Feb 8 22:38:05 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 D34F0106566C for ; Mon, 8 Feb 2010 22:38:05 +0000 (UTC) (envelope-from jose.amengual@gmail.com) Received: from mail-fx0-f226.google.com (mail-fx0-f226.google.com [209.85.220.226]) by mx1.freebsd.org (Postfix) with ESMTP id 5E01E8FC19 for ; Mon, 8 Feb 2010 22:38:05 +0000 (UTC) Received: by fxm26 with SMTP id 26so1195210fxm.13 for ; Mon, 08 Feb 2010 14:38:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=E60+n+B6F/XiNeXCjtqyYynGKv1UwOd51vEckzoN5cM=; b=DimQd4225xVFyfSFhEr8LO6wGwKaYxJT+pZ9LzOerflsBAGESdHc/c1jYjVSZWDf8Z vEE0rBRAobUCmhUCEZHClTLSA3KjxywV+V3EgAd86oJSgscrkpvE/KZKMgAXFAG34t3i 3HRoTfMKjLIkWMsfbVNa7cp0UkE0YjChVoKTQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=xNj3ei9t+mfTNvLNEa/bn/z7X/iW2GEfI+MJafzYSbKmojLY/+X/0LwibWg/QjFiiE zb+8qRZf5mPe2H8lppnk0CX2TRHw7Z4dZIfVkhg1YjJXs73Ot5IXpiQfIXLHJ1ZgjAyF 58lrKjI5FYWhb1kmIw4Pr0xRQ29GpRY1orqhI= Received: by 10.103.79.28 with SMTP id g28mr5063051mul.67.1265668682995; Mon, 08 Feb 2010 14:38:02 -0800 (PST) Received: from pepewi.workatplay (officebc.workatplay.com [76.77.93.66]) by mx.google.com with ESMTPS id j10sm1741468mue.30.2010.02.08.14.38.00 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 08 Feb 2010 14:38:01 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=iso-8859-1 From: Jose Amengual M In-Reply-To: <4B709147.6030602@rednetgroup.com> Date: Mon, 8 Feb 2010 14:37:57 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: 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> <4B709147.6030602@rednetgroup.com> To: Jorge R. Constenla X-Mailer: Apple Mail (2.1077) Cc: freebsd-jail@freebsd.org 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 List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2010 22:38:06 -0000 If you do not install compat7x first you can't run almost anything = inside, after you install compat7x and restart the jail, everything = works ok and then you can upgrade any port you want. Thanks. On 2010-02-08, at 2:33 PM, Jorge R. Constenla wrote: >=20 > Jose, > To go inside the jail use "jexec jail /bin/sh" and then upgrade bash > port. > Jose Amengual wrote: >=20 > The problem that I had was that if I don't install compat7x I will not = be able=20 > to use any software inside of my jail like bash, portupgrade, perl etc = so you a > re force to install it and then upgrade all ports. >=20 > I as getting this errors : >=20 > /libexec/ld-elf.so.1: Shared object "libcrypt.so.4: not found, = required by "rub > y18" etc and none of the services are running. >=20 > when I was running almost all the thirty party utilities or ports apps = installe > d on the jail. >=20 >=20 > On 2010-02-08, at 2:01 PM, Miroslav Lachman wrote: >=20 >=20 >=20 > Jose Amengual wrote: >=20 >=20 > ok. >=20 > the steps will be : >=20 > 1.- archive jail in old system : ezjail archive > 2.- install ezjail new system > 3.- create basejail forr ezjail jails : ezjail update -ip ( here is = where all t > he jail base gets updated ) > 4.- import old jails : ezjail create -d xxxx...... > 5.- Install compat7x in host system and jails > 6.- upgrade all porst in jail >=20 > or something like it. >=20 >=20 > You can skip step 5. if you will upgrade all ports. compat7x is for = case when y > ou don't want to upgrade ports (compat7x installs old 7.x libraries) > If all ports will be compiled against 8.x libraries, you don't need = any 7.x lib > raries. >=20 > Miroslav Lachman >=20 >=20 > _______________________________________________ > [1]freebsd-jail@freebsd.org mailing list > [2]http://lists.freebsd.org/mailman/listinfo/freebsd-jail > To unsubscribe, send any mail to = [3]"freebsd-jail-unsubscribe@freebsd.org" >=20 >=20 > -- >=20 > Jorge R. Constenla > [4]jrc@rednetgroup.com > Director General >=20 > ----------------------------- > RED NET GROUP SA > Internet Services Provider > ----------------------------- > Av. Cordoba 1318 Piso 14 "B" > C1055AAQ, Capital Federal > Buenos Aires - Argentina > ----------------------------- > Tel=E9fono: (54 11) 4119.2000 > Fax : (54 11) 4119.2005 > [5]http://www.rednet.com.ar > ----------------------------- >=20 > References >=20 > 1. mailto:freebsd-jail@freebsd.org > 2. http://lists.freebsd.org/mailman/listinfo/freebsd-jail > 3. mailto:freebsd-jail-unsubscribe@freebsd.org > 4. mailto:jrc@rednetgroup.com > 5. http://www.rednet.com.ar/ > _______________________________________________ > freebsd-jail@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-jail > To unsubscribe, send any mail to = "freebsd-jail-unsubscribe@freebsd.org"