From owner-freebsd-jail@FreeBSD.ORG Mon Feb 8 11:06:59 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 7CEC3106566C for ; Mon, 8 Feb 2010 11:06:59 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6C4BE8FC1B for ; Mon, 8 Feb 2010 11:06:59 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o18B6x4F087430 for ; Mon, 8 Feb 2010 11:06:59 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o18B6wVO087428 for freebsd-jail@FreeBSD.org; Mon, 8 Feb 2010 11:06:58 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 8 Feb 2010 11:06:58 GMT Message-Id: <201002081106.o18B6wVO087428@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-jail@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-jail@FreeBSD.org 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 11:06:59 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- s conf/142972 jail [jail] [patch] Support JAILv2 and vnet in rc.d/jail o conf/141317 jail [patch] uncorrect jail stop in /etc/rc.d/jail o kern/133265 jail [jail] is there a solution how to run nfs client in ja o kern/119842 jail [smbfs] [jail] "Bad address" with smbfs inside a jail o bin/99566 jail [jail] [patch] fstat(1) according to specified jid o bin/32828 jail [jail] w(1) incorrectly handles stale utmp slots with 6 problems total. From owner-freebsd-jail@FreeBSD.ORG Mon Feb 8 19:29:46 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 541C21065757 for ; Mon, 8 Feb 2010 19:29:46 +0000 (UTC) (envelope-from jose.amengual@gmail.com) Received: from mail-yx0-f199.google.com (mail-yx0-f199.google.com [209.85.210.199]) by mx1.freebsd.org (Postfix) with ESMTP id 021E68FC14 for ; Mon, 8 Feb 2010 19:29:45 +0000 (UTC) Received: by yxe37 with SMTP id 37so2347637yxe.27 for ; Mon, 08 Feb 2010 11:29:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=3nCJlxHH3SLJ7ielLqLaGNRQDgQkxG5kZNineqMhe/8=; b=iy08O1cxDARppZe3/PLQEBIAaqVNXhFEVap4AFK8L+ojHAQoTcX/Ff4Jnian2g5m/Z 0dAd2FBVsFU3ARH41NtFnC5WVFwxTUxK/f+vT5inNyf/PgYOgeQqc2arkk5yBZVQeehX ZHyaYPs7Y1kJOERo3eAPf0i6O/YADqGOBYLzI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=EiIJ1t8gXKtMNb08Az/jjl0tnE4+MYQ1dxWssUpkdUHmw1F+MjhU0deRno+IKz7ENH DuQK1UaDdav19VySZn3ZvGyrQrAqrQXhNptSaBfeGUhgI/s+i3fS4sw0J06z5A34mW32 48YDqgyHGDDp4ved5CAuRFSYCAaX6GRZR9gCA= Received: by 10.142.6.13 with SMTP id 13mr4558471wff.39.1265657384585; Mon, 08 Feb 2010 11:29:44 -0800 (PST) Received: from pepewi.workatplay ([66.183.18.140]) by mx.google.com with ESMTPS id 20sm6990129pzk.9.2010.02.08.11.29.42 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 08 Feb 2010 11:29:43 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1077) From: Jose Amengual M In-Reply-To: <201002081106.o18B6wVO087428@freefall.freebsd.org> Date: Mon, 8 Feb 2010 11:29:41 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: <415609C2-DB3A-4617-9278-50B5EAF88CAF@rdc.cl> References: <201002081106.o18B6wVO087428@freefall.freebsd.org> To: freebsd-jail@FreeBSD.org X-Mailer: Apple Mail (2.1077) Cc: Subject: 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 19:29:46 -0000 Hi guys. I had a problem with one of my servers in staging so I decided to do a = clean full install of 8.0 to replace the old 7.0 that was on that = server. I had 4 jails running on that server at that time and I backup = the whole /usr/jails directory in another HD and then I try to import = the jails using ezjail ( that I always used ) and I didn't have any = problem with the import process, the jail is up but when I tried to = enter to it gives me errors like : /libexec/ld-elf.so.1: Shared object "libcrypt.so.4: not found, required = by "ruby18" etc and none of the services are running. My question is : Do I need to reinstall portupgrade and reinstall all ports ? Did I do the proper export and import process ? The jail where running on 7.0 and the basejail dir was from 7.0, now is = from 8.0 and I understand that I have to do some reinstall or upgrade = process but I think that I skipped some steps :). Thanks. From owner-freebsd-jail@FreeBSD.ORG Mon Feb 8 20:54:33 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 86E791065696 for ; Mon, 8 Feb 2010 20:54:33 +0000 (UTC) (envelope-from jrc@rednetgroup.com) Received: from rednet.serversur.net (www.rednetgroup.com [190.224.160.60]) by mx1.freebsd.org (Postfix) with SMTP id 0C40E8FC1E for ; Mon, 8 Feb 2010 20:54:32 +0000 (UTC) Received: (qmail 83155 invoked from network); 8 Feb 2010 20:26:23 -0000 Received: from unknown (HELO ?192.168.0.93?) (190.210.71.137) by 0 with SMTP; 8 Feb 2010 20:26:23 -0000 Message-ID: <4B7073C6.2020901@rednetgroup.com> Date: Mon, 08 Feb 2010 17:27:50 -0300 From: "Jorge R. Constenla" Organization: Red Net Group SA User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: freebsd-jail@freebsd.org References: <201002081106.o18B6wVO087428@freefall.freebsd.org> <415609C2-DB3A-4617-9278-50B5EAF88CAF@rdc.cl> In-Reply-To: <415609C2-DB3A-4617-9278-50B5EAF88CAF@rdc.cl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit 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 20:54:33 -0000 You solve this problem if you add compat7x port Port: compat7x-amd64-7.2.702000.200906.1 Path: /usr/ports/misc/compat7x Info: A convenience package to install the compat7x libraries Jose Amengual M wrote: > Hi guys. > > I had a problem with one of my servers in staging so I decided to do a clean full install of 8.0 to replace the old 7.0 that was on that server. I had 4 jails running on that server at that time and I backup the whole /usr/jails directory in another HD and then I try to import the jails using ezjail ( that I always used ) and I didn't have any problem with the import process, the jail is up but when I tried to enter to it gives me errors like : > > /libexec/ld-elf.so.1: Shared object "libcrypt.so.4: not found, required by "ruby18" etc and none of the services are running. > > My question is : > > Do I need to reinstall portupgrade and reinstall all ports ? > > Did I do the proper export and import process ? > > The jail where running on 7.0 and the basejail dir was from 7.0, now is from 8.0 and I understand that I have to do some reinstall or upgrade process but I think that I skipped some steps :). > > > Thanks. > > > _______________________________________________ > 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" > -- Jorge R. Constenla jrc@rednetgroup.com Director General ----------------------------- RED NET GROUP SA Internet Services Provider ----------------------------- Av. Cordoba 1318 Piso 14 "B" C1055AAQ, Capital Federal Buenos Aires - Argentina ----------------------------- Teléfono: (54 11) 4119.2000 Fax : (54 11) 4119.2005 http://www.rednet.com.ar ----------------------------- From owner-freebsd-jail@FreeBSD.ORG Mon Feb 8 21:13:42 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 99368106568F for ; Mon, 8 Feb 2010 21:13:42 +0000 (UTC) (envelope-from jose.amengual@gmail.com) Received: from mail-iw0-f198.google.com (mail-iw0-f198.google.com [209.85.223.198]) by mx1.freebsd.org (Postfix) with ESMTP id 5AB5C8FC1A for ; Mon, 8 Feb 2010 21:13:42 +0000 (UTC) Received: by iwn36 with SMTP id 36so1391776iwn.3 for ; Mon, 08 Feb 2010 13:13:41 -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=j1RrztvLO/W1m83uDxUmrOfuzq3eJ38yhQMBqf11n+w=; b=MjXCRYu2yekm2IfKqTxaomR9l0P5g/q/7oX0hDmNAWtBxaW16y9bapSWWlPwV6svZN ZO1dACcXVkxsq6L0qxR9nJC92NrigLEHsIQtGHZF7/oBFdEEoPy6R7YBhRjLc6MvpXqG fUHG3bmGNNgMXwL40B2Sm1wjIspvcbd2xzfUY= 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=iAEqm1zSDLWm97E5hGwgWEC0ywZ9BVJ8dihxJ7yFvpnRquUxqhExK2n5FJORcVCEwp i4Q2zcrSGuU+XSpfQpbua/Z1FcrvOVJ9NP7C3jmPYyhCOUVjfCKlM47X9PVOByRWTrDb q1Sw/SSOyvUg7v7JwbOqLZecPVvXxQNNV+YZ0= Received: by 10.143.153.38 with SMTP id f38mr4669271wfo.167.1265663619343; Mon, 08 Feb 2010 13:13:39 -0800 (PST) Received: from pepewi.workatplay ([66.183.18.140]) by mx.google.com with ESMTPS id 20sm7095804pzk.9.2010.02.08.13.13.37 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 08 Feb 2010 13:13:38 -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: <4B7073C6.2020901@rednetgroup.com> Date: Mon, 8 Feb 2010 13:13:36 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: <31A8571E-B879-4F21-B72A-5CC52A226CD2@rdc.cl> References: <201002081106.o18B6wVO087428@freefall.freebsd.org> <415609C2-DB3A-4617-9278-50B5EAF88CAF@rdc.cl> <4B7073C6.2020901@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 21:13:42 -0000 True...I just did that and works, but the proper procedure to have it a = fully functional jail on 8.0 without the need of installing compat7x = port after importing it from 7.0 is what I really want to know. like a step by step instruction. On 2010-02-08, at 12:27 PM, Jorge R. Constenla wrote: > You solve this problem if you add compat7x port >=20 > Port: compat7x-amd64-7.2.702000.200906.1 > Path: /usr/ports/misc/compat7x > Info: A convenience package to install the compat7x libraries >=20 > Jose Amengual M wrote: >> Hi guys. >>=20 >> I had a problem with one of my servers in staging so I decided to do = a clean full install of 8.0 to replace the old 7.0 that was on that = server. I had 4 jails running on that server at that time and I backup = the whole /usr/jails directory in another HD and then I try to import = the jails using ezjail ( that I always used ) and I didn't have any = problem with the import process, the jail is up but when I tried to = enter to it gives me errors like : >>=20 >> /libexec/ld-elf.so.1: Shared object "libcrypt.so.4: not found, = required by "ruby18" etc and none of the services are running. >>=20 >> My question is : >>=20 >> Do I need to reinstall portupgrade and reinstall all ports ? >>=20 >> Did I do the proper export and import process ? >>=20 >> The jail where running on 7.0 and the basejail dir was from 7.0, now = is from 8.0 and I understand that I have to do some reinstall or upgrade = process but I think that I skipped some steps :). >>=20 >>=20 >> Thanks. >>=20 >>=20 >> _______________________________________________ >> 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" >>=20 >=20 > --=20 >=20 > Jorge R. Constenla > 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 > http://www.rednet.com.ar > ----------------------------- >=20 > _______________________________________________ > 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" From owner-freebsd-jail@FreeBSD.ORG Mon Feb 8 21:35:33 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 81A46106566C for ; Mon, 8 Feb 2010 21:35:33 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) by mx1.freebsd.org (Postfix) with ESMTP id 3D8168FC0C for ; Mon, 8 Feb 2010 21:35:32 +0000 (UTC) Received: from elsa.codelab.cz (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 7B7A319E019; Mon, 8 Feb 2010 22:35:31 +0100 (CET) Received: from [192.168.1.2] (r5bb235.net.upc.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 51F8F19E023; Mon, 8 Feb 2010 22:35:29 +0100 (CET) Message-ID: <4B7083A0.7010100@quip.cz> Date: Mon, 08 Feb 2010 22:35:28 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1.7) Gecko/20100104 SeaMonkey/2.0.2 MIME-Version: 1.0 To: Jose Amengual M References: <201002081106.o18B6wVO087428@freefall.freebsd.org> <415609C2-DB3A-4617-9278-50B5EAF88CAF@rdc.cl> <4B7073C6.2020901@rednetgroup.com> <31A8571E-B879-4F21-B72A-5CC52A226CD2@rdc.cl> In-Reply-To: <31A8571E-B879-4F21-B72A-5CC52A226CD2@rdc.cl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 21:35:33 -0000 Jose Amengual M wrote: > True...I just did that and works, but the proper procedure to have it a fully functional jail on 8.0 without the need of installing compat7x port after importing it from 7.0 is what I really want to know. > > like a step by step instruction. I don't know ezjail well and don't know if there is some upgrade procedure, but you should upgrade base system of all jails to same version as the host system (8.0 in this case) by make installworld or freebsd-update. And after system upgrade, you must reinstall all you ports - it is the same for jails as is for base host system. Miroslav Lachman From owner-freebsd-jail@FreeBSD.ORG Mon Feb 8 21:49:46 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 1D32F106566B for ; Mon, 8 Feb 2010 21:49:46 +0000 (UTC) (envelope-from jose.amengual@gmail.com) Received: from mail-iw0-f198.google.com (mail-iw0-f198.google.com [209.85.223.198]) by mx1.freebsd.org (Postfix) with ESMTP id D0F8E8FC08 for ; Mon, 8 Feb 2010 21:49:45 +0000 (UTC) Received: by iwn36 with SMTP id 36so1442248iwn.3 for ; Mon, 08 Feb 2010 13:49:45 -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=xf0XKnks4v+xj8VJCmDfIuNEhV5locylowgvWGXsT4s=; b=DCkdf7qfw9YWlcUCTBEA5YoGFCLnCq0gWiG2t+1TptbLkju2BFcUg7SfmEwQWlNl/i iaF+I4rN/uQx9N2Agb4e7VsZ0HMvxZKI+bJqVKFFVHHCf6/E61jVyOCMRcCdvUkgFevc hTiHKY7fOGIVyaPP2oBjSZQmX0PvUvPIQdsy4= 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=MZod6avHZuZVUzXXl/8SVBjM2YRjkOTpDcKqkw+m5PRRgLYhVXM779TpelAxwh08CW 6Nuq3uZb8yAAvJMHOJOz4IWjWNSGSOxb4VIWVy2ZIk7aiXouW1hMHs/Fi76zavP7LD7W 4bfE1F83mdNX6KomnFsSfTVQaxl7Ab8w64GDU= Received: by 10.143.27.17 with SMTP id e17mr2482930wfj.221.1265665784900; Mon, 08 Feb 2010 13:49:44 -0800 (PST) Received: from pepewi.workatplay (s66-183-18-140.bc.hsia.telus.net [66.183.18.140]) by mx.google.com with ESMTPS id 22sm3965269pzk.14.2010.02.08.13.49.42 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 08 Feb 2010 13:49:44 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii From: Jose Amengual In-Reply-To: <4B7083A0.7010100@quip.cz> Date: Mon, 8 Feb 2010 13:49:41 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: <1A79CBF1-3085-49BD-B9B0-4C7399CF9C7E@gmail.com> 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> To: Miroslav Lachman <000.fbsd@quip.cz> 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 21:49:46 -0000 ok. the steps will be : 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 the 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 or something like it. Thanks. On 2010-02-08, at 1:35 PM, Miroslav Lachman wrote: >=20 >=20 > Jose Amengual M wrote: >> True...I just did that and works, but the proper procedure to have it = a fully functional jail on 8.0 without the need of installing compat7x = port after importing it from 7.0 is what I really want to know. >>=20 >> like a step by step instruction. >=20 > I don't know ezjail well and don't know if there is some upgrade = procedure, but you should upgrade base system of all jails to same = version as the host system (8.0 in this case) by make installworld or = freebsd-update. > And after system upgrade, you must reinstall all you ports - it is the = same for jails as is for base host system. >=20 > Miroslav Lachman > _______________________________________________ > 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" From owner-freebsd-jail@FreeBSD.ORG Mon Feb 8 22:01:38 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 18FCF1065679 for ; Mon, 8 Feb 2010 22:01:38 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) by mx1.freebsd.org (Postfix) with ESMTP id CA5768FC0A for ; Mon, 8 Feb 2010 22:01:37 +0000 (UTC) Received: from elsa.codelab.cz (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 7550B19E023; Mon, 8 Feb 2010 23:01:36 +0100 (CET) Received: from [192.168.1.2] (r5bb235.net.upc.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 602A019E019; Mon, 8 Feb 2010 23:01:34 +0100 (CET) Message-ID: <4B7089BD.9020901@quip.cz> Date: Mon, 08 Feb 2010 23:01:33 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1.7) Gecko/20100104 SeaMonkey/2.0.2 MIME-Version: 1.0 To: Jose Amengual 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> In-Reply-To: <1A79CBF1-3085-49BD-B9B0-4C7399CF9C7E@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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:01:38 -0000 Jose Amengual wrote: > ok. > > the steps will be : > > 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 the 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 > > or something like it. You can skip step 5. if you will upgrade all ports. compat7x is for case when you 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 libraries. Miroslav Lachman From owner-freebsd-jail@FreeBSD.ORG Mon Feb 8 22:05:20 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 AEF9F106568F for ; Mon, 8 Feb 2010 22:05:20 +0000 (UTC) (envelope-from jose.amengual@gmail.com) Received: from mail-px0-f203.google.com (mail-px0-f203.google.com [209.85.216.203]) by mx1.freebsd.org (Postfix) with ESMTP id 7C8B98FC13 for ; Mon, 8 Feb 2010 22:05:20 +0000 (UTC) Received: by pxi41 with SMTP id 41so7267994pxi.27 for ; Mon, 08 Feb 2010 14:05:20 -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=v7sPRe/HSlKWuml4Kb2zeniwfIHiuwuq8jLma+Y4HAk=; b=TdSYK7dAEC0WQ9J1aGlA9pR1+hJfnf/t+AH9tOMQd3DygVgkXRxEGE2Hj0zy6l0g7m 5AfVpcTkua7DJILe3WqiKy5Kg0/KmrCU4LJ8CuVRx945ybnfJ+0GzU8a7PItWrlAxfOo IBO/RufuBN/yWFYvhQKwElkpJ2vyir/pOo5KI= 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=RJ2EAXAr2JVrPCi/cvTippRDDOsLCifRb30wZw8Czzdvaz4yfbDaa+gm2MU6MVemya J+pL1FnsHs/jyKgm81LK78PYeSj8ZZisg0ydoknaYkRrdanK7H8cN65F2b6YOxFY3GsM /71V8OouSN5diG3riT3Z4yex5RH7I60ql14ls= Received: by 10.140.82.42 with SMTP id f42mr4881477rvb.163.1265666719910; Mon, 08 Feb 2010 14:05:19 -0800 (PST) Received: from pepewi.workatplay (s66-183-18-140.bc.hsia.telus.net [66.183.18.140]) by mx.google.com with ESMTPS id 23sm7176910pzk.0.2010.02.08.14.05.18 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 08 Feb 2010 14:05:19 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii From: Jose Amengual In-Reply-To: <4B7089BD.9020901@quip.cz> Date: Mon, 8 Feb 2010 14:05:17 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: <5C26732B-3077-49AD-8679-B13CE4132796@gmail.com> 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> To: Miroslav Lachman <000.fbsd@quip.cz> 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:05:20 -0000 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. On 2010-02-08, at 2:01 PM, Miroslav Lachman wrote: > Jose Amengual wrote: >> 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 the 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 > You can skip step 5. if you will upgrade all ports. compat7x is for = case when you 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 libraries. >=20 > Miroslav Lachman From owner-freebsd-jail@FreeBSD.ORG Mon Feb 8 22:33:46 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 49CCF1065679 for ; Mon, 8 Feb 2010 22:33:46 +0000 (UTC) (envelope-from jrc@rednetgroup.com) Received: from rednet.serversur.net (www.rednetgroup.com [190.224.160.60]) by mx1.freebsd.org (Postfix) with SMTP id 5AC798FC22 for ; Mon, 8 Feb 2010 22:33:44 +0000 (UTC) Received: (qmail 50351 invoked from network); 8 Feb 2010 22:32:15 -0000 Received: from unknown (HELO ?192.168.0.93?) (190.210.71.137) by 0 with SMTP; 8 Feb 2010 22:32:15 -0000 Message-ID: <4B709147.6030602@rednetgroup.com> Date: Mon, 08 Feb 2010 19:33:43 -0300 From: "Jorge R. Constenla" Organization: Red Net Group SA User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) To: freebsd-jail@freebsd.org 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> In-Reply-To: <5C26732B-3077-49AD-8679-B13CE4132796@gmail.com> Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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:33:46 -0000 Jose, To go inside the jail use "jexec jail /bin/sh" and then upgrade bash port. 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 a re 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 "rub y18" etc and none of the services are running. when I was running almost all the thirty party utilities or ports apps installe d on the jail. On 2010-02-08, at 2:01 PM, Miroslav Lachman wrote: Jose Amengual wrote: ok. the steps will be : 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 or something like it. 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. Miroslav Lachman _______________________________________________ [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" -- Jorge R. Constenla [4]jrc@rednetgroup.com Director General ----------------------------- RED NET GROUP SA Internet Services Provider ----------------------------- Av. Cordoba 1318 Piso 14 "B" C1055AAQ, Capital Federal Buenos Aires - Argentina ----------------------------- Teléfono: (54 11) 4119.2000 Fax : (54 11) 4119.2005 [5]http://www.rednet.com.ar ----------------------------- References 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/ 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" From owner-freebsd-jail@FreeBSD.ORG Mon Feb 8 22:38:24 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 141A2106566B for ; Mon, 8 Feb 2010 22:38:24 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) by mx1.freebsd.org (Postfix) with ESMTP id C520D8FC12 for ; Mon, 8 Feb 2010 22:38:23 +0000 (UTC) Received: from elsa.codelab.cz (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 80C7E19E019; Mon, 8 Feb 2010 23:38:22 +0100 (CET) Received: from [192.168.1.2] (r5bb235.net.upc.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 2A42F19E027; Mon, 8 Feb 2010 23:38:20 +0100 (CET) Message-ID: <4B70925B.1040607@quip.cz> Date: Mon, 08 Feb 2010 23:38:19 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1.7) Gecko/20100104 SeaMonkey/2.0.2 MIME-Version: 1.0 To: Jose Amengual 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> In-Reply-To: <5C26732B-3077-49AD-8679-B13CE4132796@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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:24 -0000 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. But you can use tools from base system: cd /usr/ports/some_category/some_port make make deinstall make reinstall make clean So this way you can upgrade ruby + portupgrade from (t)csh shell without need of compat7x. Or even better, you can use portmaster instead of portupgrade. Portmaster is plain "sh" shell script without dependencies on any other port so it will work in your "broken" jails. You just need cd /usr/ports/ports-mgmt/portmaster/ && make install clean && rehash Miroslav Lachman From owner-freebsd-jail@FreeBSD.ORG Mon Feb 8 22:40:25 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 824B0106566B for ; Mon, 8 Feb 2010 22:40:25 +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 0B05B8FC12 for ; Mon, 8 Feb 2010 22:40:24 +0000 (UTC) Received: by fxm26 with SMTP id 26so1197176fxm.13 for ; Mon, 08 Feb 2010 14:40:24 -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=Sk1/EM/JZTtx/PW5mXmcQxKZEB65yR81mTWprd3qYmE=; b=GW+rUZp+7s5MrtQKEuzfnxHPDjtrmQpih0cuDqTYsFRL5z38anr9nIr7RmtLpxVS1X yKMe/VtMdD1ZafTxuCLz+Q5PpfayLj0M894Hod6rAt7nbGa+Dh7SJ6dy3bDcDqqWcYLw EOEjSAmcw1WXMRaXBU24M4xU9RLuamuqUZ0U4= 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=Dfsoi3y5dcBrKxr1Zk6LfFwstm+XCst7dz2iqgvzVqlWp0YMaPmCYBNCODXx7ZRFlL cfM1155ldEojMfmOgFqJSCNnDbO3UgvliAl7Q1Nntv2CaxEnNqNNZcePVB+GyCa3ajgb jCKKldLyoAQ0I7a/sRFyGNOl7P0c3fw0NoSVw= Received: by 10.103.81.20 with SMTP id i20mr446698mul.21.1265668824002; Mon, 08 Feb 2010 14:40:24 -0800 (PST) Received: from pepewi.workatplay ([66.183.18.140]) by mx.google.com with ESMTPS id 12sm1504660muq.39.2010.02.08.14.40.21 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 08 Feb 2010 14:40:23 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii From: Jose Amengual In-Reply-To: <4B70925B.1040607@quip.cz> Date: Mon, 8 Feb 2010 14:40:18 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: <20006A5A-9A5A-473A-9283-E9E98310F757@gmail.com> 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> <4B70925B.1040607@quip.cz> To: Miroslav Lachman <000.fbsd@quip.cz> 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:40:25 -0000 Good point. On 2010-02-08, at 2:38 PM, Miroslav Lachman wrote: > 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. >>=20 >> I as getting this errors : >>=20 >> /libexec/ld-elf.so.1: Shared object "libcrypt.so.4: not found, = required by "ruby18" etc and none of the services are running. >>=20 >> when I was running almost all the thirty party utilities or ports = apps installed on the jail. >=20 > But you can use tools from base system: > cd /usr/ports/some_category/some_port > make > make deinstall > make reinstall > make clean >=20 > So this way you can upgrade ruby + portupgrade from (t)csh shell = without need of compat7x. > Or even better, you can use portmaster instead of portupgrade. = Portmaster is plain "sh" shell script without dependencies on any other = port so it will work in your "broken" jails. > You just need cd /usr/ports/ports-mgmt/portmaster/ && make install = clean && rehash >=20 > Miroslav Lachman > _______________________________________________ > 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" 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 From owner-freebsd-jail@FreeBSD.ORG Tue Feb 9 16:24:03 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 E7353106566B for ; Tue, 9 Feb 2010 16:24:03 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id A02968FC0A for ; Tue, 9 Feb 2010 16:24:03 +0000 (UTC) Received: from outgoing.leidinger.net (pD954FD1A.dip.t-dialin.net [217.84.253.26]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id AEC1D84462F; Tue, 9 Feb 2010 17:23:57 +0100 (CET) Received: from unknown (unknown [192.168.2.110]) by outgoing.leidinger.net (Postfix) with ESMTP id EA2A69C68D; Tue, 9 Feb 2010 17:23:54 +0100 (CET) Date: Tue, 9 Feb 2010 17:23:53 +0100 From: Alexander Leidinger To: Jose Amengual M Message-ID: <20100209172353.0000647a@unknown> In-Reply-To: <415609C2-DB3A-4617-9278-50B5EAF88CAF@rdc.cl> References: <201002081106.o18B6wVO087428@freefall.freebsd.org> <415609C2-DB3A-4617-9278-50B5EAF88CAF@rdc.cl> X-Mailer: Claws Mail 3.7.2cvs15 (GTK+ 2.16.0; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: AEC1D84462F.EE8F7 X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-1.44, required 6, autolearn=disabled, ALL_TRUSTED -1.44) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1266337439.15481@x61SBtbhdOfYMlz7HpSL8Q X-EBL-Spam-Status: No 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: Tue, 09 Feb 2010 16:24:04 -0000 On Mon, 8 Feb 2010 11:29:41 -0800 Jose Amengual M wrote: > My question is : > > Do I need to reinstall portupgrade and reinstall all ports ? > > Did I do the proper export and import process ? > > The jail where running on 7.0 and the basejail dir was from 7.0, now > is from 8.0 and I understand that I have to do some reinstall or > upgrade process but I think that I skipped some steps :). The problem is that you didn't copy the basejail from 7.0. If you would have copied it, the jails would be running just fine. What you see now is that programs in the jails reference a library which is in 7.0, but not in 8.0 (more detailed: the lib itself is there, but with a different major version, and a different major version means that there are incompatible differences). A smooth transition would have been to use the 7.0 basejail, update it with 8.0 (ezjail update + foreach jail a mergemaster -D /path/to/jailX), rebuild all the ports in the jails, and then to run "cd /usr/src/ ; make delete-old delete-old-libs DESTDIR=/path/to/basejail". After that you need to check if all programs in the jails still work (you can install the libchk port and let it search for missing libs and rebuild ports which depend upon missing libs). Bye, Alexander. From owner-freebsd-jail@FreeBSD.ORG Wed Feb 10 16:02:11 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 AC4A910656A9 for ; Wed, 10 Feb 2010 16:02:11 +0000 (UTC) (envelope-from tom@diogunix.com) Received: from mail.kepos.org (mail.kepos.org [85.125.223.249]) by mx1.freebsd.org (Postfix) with ESMTP id 1CBF88FC32 for ; Wed, 10 Feb 2010 16:02:10 +0000 (UTC) Received: from gyro.localnet (95-90-251-177-dynip.superkabel.de [95.90.251.177]) by mail.kepos.org (mail.kepos.org) with ESMTPSA id 71412514C57; Wed, 10 Feb 2010 17:02:10 +0100 (CET) From: "tom@diogunix.com" To: freebsd-jail@freebsd.org, Odhiambo Washington Date: Wed, 10 Feb 2010 17:03:09 +0100 User-Agent: KMail/1.10.4 (Linux/2.6.27-9-generic; KDE/4.1.4; i686; ; ) References: <991123401002100558s4c92e4efl21ca3bb54cbabcda@mail.gmail.com> <4B72CFD1.90208@black-earth.co.uk> In-Reply-To: <4B72CFD1.90208@black-earth.co.uk> MIME-Version: 1.0 Message-Id: <201002101703.09632.tom@diogunix.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Matthew Seaman Subject: Re: All-in-one Server 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: Wed, 10 Feb 2010 16:02:11 -0000 Am Mittwoch 10 Februar 2010 16:25:05 schrieb Matthew Seaman: > On 10/02/2010 13:58, Odhiambo Washington wrote: > > Hello sysadmins, > > > > Happy New Year (2010)! > > > > Anyone knows if I can build a FreeBSD box that has: > > > > Firewall /Gateway /Mail Server Solution with > > the following capabilities: > > . http, pop, smtp, and imap email access. > > . Global Address List facility > > . Personal Address List facility > > . Personal and Group Scheduling through a calendar facility > > . System Dashboards to allow monitoring of the Managed > > Firewall /Gateway /Mail Server. > > . Ability for users to use the same password as that in windows > > Active Directory is desired. > > . Connector for Microsoft Outlook (Desirable) > > Horde or SquirrelMail + appropriate addons > Cyrus IMAPd or Dovecot > Sendmail or Postfix or Exim or .... > > You should be able to use SASL to hook up any of these to AD for > authentication purposes. (If you choose sendmail, you'ld want the > version from ports so you can compile it with all the SASL bits.) > > Horde certainly will allow you to create Global and Personal address > books via various different back-end databases. In principle it can > use LDAP so you might be able to bodge it into AD, but I'd recommend > MySQL as the least grief, fastest benefit solution. > > Horde also provides shared and global calendars, accessilble via > CalDAV. > > No idea what to recommend as a control panel for the firewall, MTA and > imap servers I'm afraid. > > Note that Outlook is designed to work with MS Exchange, and often gives > less than optimal results with other mail servers. > > Cheers, > > Matthew Can underline Matthews proposal. I have smoothly running a combination of Postfix / Dovecot / SASL / Apache 2.2 / Horde / MySQL in a FreeBSD jail (with Horde no yet fully capable). I'll furtheron add NewAmavis / SpamAssassin / ClamAV and also complete Horde functions as well as probably ejabberd with MySQL lookup. Some older Outlook versions seem not fully IMAP capable but in general this works nice with Outlook too. Postfix offers configuration options for "broken clients" :-) When building all the stuff in a Jail please have an eye on which of the Jail's IPs should be used for SMTP (outgoing). The first alias IP from the hosts /etc/rc.conf will be taken, not neccessarily the primary Jail IP. regards Tom From owner-freebsd-jail@FreeBSD.ORG Fri Feb 12 07:23:55 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 ADF47106568D for ; Fri, 12 Feb 2010 07:23:55 +0000 (UTC) (envelope-from christer.solskogen@gmail.com) Received: from mail-ew0-f211.google.com (mail-ew0-f211.google.com [209.85.219.211]) by mx1.freebsd.org (Postfix) with ESMTP id 455A38FC24 for ; Fri, 12 Feb 2010 07:23:55 +0000 (UTC) Received: by ewy3 with SMTP id 3so2201156ewy.13 for ; Thu, 11 Feb 2010 23:23:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=i08GCzQ4D+izcoZWXqT6d496nHvnWkaSlFYJD0BX4Y4=; b=j4Kq0qpi/gsdPxfMgkWk/fdkV5MfXqIbQiMPhropU26Z7CA8WcY9XxyjJiDMw0eXrA 9motZZRVr7UW/TlO8xb2wQgb3f5ow/mFbFl5ZtmBY2rQLu76H/eigPbOTaUjkfiNxbHd IiW6lSwj2Rxej7w3JsD4jVDtlbOQZFyVWftZ8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=YNk5NbZv+APokUSvpY7J6XPfjERZ1L+B1y9ynjMn3eAZxPzG6UxO6FRP9Vw+LtP8PV iZyMOoRXukWBQLO3b8kI2KEv9YPGgkQ2drCogAEIDYMDNWEZMSNIMPacyKQW2FNXxT64 HFb9eIAAKj6coX/y9JCFMXZCjs+PXG1s0YuPA= MIME-Version: 1.0 Received: by 10.213.43.133 with SMTP id w5mr5095ebe.95.1265959433488; Thu, 11 Feb 2010 23:23:53 -0800 (PST) In-Reply-To: References: Date: Fri, 12 Feb 2010 08:23:53 +0100 Message-ID: From: Christer Solskogen To: freebsd-jail@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Fwd: Jailcfg - A new tool for creating small(!) jails 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: Fri, 12 Feb 2010 07:23:55 -0000 The homepage for the project is http://code.google.com/p/jailcfg/. ---------- Forwarded message ---------- From: Christer Solskogen Date: Thu, Feb 11, 2010 at 4:33 PM Subject: Jailcfg - A new tool for creating small(!) jails To: freebsd-jails@freebsd.org, freebsd-questions@freebsd.org Hi! I've just began scripting a small tool for creating jails, much like ezjail. But instead of creating a own basejail, jailcfg mounts /bin, /lib, /usr/bin, etc. from root. And this means that the footprint of one of "my" jails is just about 3MB :) The script is in very early stages, but it's a start. Get it by doing: hg clone https://jailcfg.googlecode.com/hg/ jailcfg Feedback is welcome! -- chs From owner-freebsd-jail@FreeBSD.ORG Fri Feb 12 08:31:42 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 121C1106566B for ; Fri, 12 Feb 2010 08:31:42 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-yw0-f174.google.com (mail-yw0-f174.google.com [209.85.211.174]) by mx1.freebsd.org (Postfix) with ESMTP id B9D918FC14 for ; Fri, 12 Feb 2010 08:31:41 +0000 (UTC) Received: by ywh4 with SMTP id 4so2343656ywh.10 for ; Fri, 12 Feb 2010 00:31:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:to:cc :subject:in-reply-to:message-id:references:user-agent :x-openpgp-key-id:x-openpgp-key-fingerprint:mime-version :content-type; bh=VW/9TCCvRuDskHXvCqc7foNLQPiInR9uZXLbSYd62t4=; b=qTZZR7Uvq3VrEo7Bm2v2pSMqa4cmeapnDS2Dhl1o75dtjL/6zqpeIXlFXfqLwRcYA/ ZS9XaRyCyIDxesaqCrKIekcjL9TPUq31eMUifykDmD14KQGK6zwDuT2BCZZdagVHS6WK NI8uUJtuD3UVoBMbqhJ9alN5v7hun6Fy0xHdg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:x-openpgp-key-id:x-openpgp-key-fingerprint:mime-version :content-type; b=wkNwMaetxZ8IWkwKGrpcig0DRjLASN83QxCnJcD+Tu/eKDj3VFqBF4QqgIg5teLjJu 4T3Lh1cHZzXBREK8W0Ic2RhaH05Ma2XK9Uiw8vkacOSKWirGLSJoSqFNb3ZrbLNE2Wep +zfGGX5hnX4p3O8JEC+Ru2dnMLS4NiMQQrvrI= Received: by 10.101.82.11 with SMTP id j11mr1499721anl.86.1265962133661; Fri, 12 Feb 2010 00:08:53 -0800 (PST) Received: from centel.dataix.local (ppp-21.67.dialinfree.com [209.172.21.67]) by mx.google.com with ESMTPS id 4sm1277299ywd.59.2010.02.12.00.08.48 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 12 Feb 2010 00:08:52 -0800 (PST) Sender: "J. Hellenthal" Date: Fri, 12 Feb 2010 03:08:32 -0500 From: jhell To: Christer Solskogen In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-OpenPGP-Key-Id: 0x89D8547E X-OpenPGP-Key-Fingerprint: 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-jail@freebsd.org Subject: Re: Fwd: Jailcfg - A new tool for creating small(!) jails 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: Fri, 12 Feb 2010 08:31:42 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, 12 Feb 2010 02:23, christer.solskogen@ wrote: > The homepage for the project is http://code.google.com/p/jailcfg/. > > > ---------- Forwarded message ---------- > From: Christer Solskogen > Date: Thu, Feb 11, 2010 at 4:33 PM > Subject: Jailcfg - A new tool for creating small(!) jails > To: freebsd-jails@freebsd.org, freebsd-questions@freebsd.org > > > Hi! > > I've just began scripting a small tool for creating jails, much like > ezjail. But instead of creating a own basejail, jailcfg mounts /bin, > /lib, /usr/bin, etc. from root. And this means that the footprint of > one of "my" jails is just about 3MB :) The script is in very early > stages, but it's a start. Get it by doing: hg clone > https://jailcfg.googlecode.com/hg/ jailcfg > Feedback is welcome! > > -- > chs > Just for some more idea's to build upon. You could have a thousand jails at no extra space besides one base jail installed at 160M and using zfs snapshot and clone. with no additional mounting needed besides the actual jail and its device directory. ;) The only data that is collected after that is user data which is a good thing with no extra cost of system mount points and disk usage. You could even snapshot a existing ports directory clone it and then set its mount point for the jail at no additional space. Same goes for src, or anything else you could imagine. After this its a simple little script that spams jails rc.conf and other related files to get it ready to go and then spams the main rc.conf with correct jail names to start that were just created. example: ( zfs list -r exports/zones ) NAME USED AVAIL REFER MOUNTPOINT exports/zones 160M 67.3G 26K /exports/zones exports/zones/base 160M 67.3G 160M /exports/zones/base exports/zones/base@r203742M 0 - 160M - exports/zones/jail1 0 67.3G 160M /exports/zones/jail1 exports/zones/jail2 0 67.3G 160M /exports/zones/jail2 exports/zones/jail3 0 67.3G 160M /exports/zones/jail3 exports/zones/jail4 0 67.3G 160M /exports/zones/jail4 exports/zones/jail5 0 67.3G 160M /exports/zones/jail5 exports/zones/jail6 0 67.3G 160M /exports/zones/jail6 Kind regards, - -- jhell -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iQEcBAEBAgAGBQJLdQyHAAoJEJBXh4mJ2FR+MOAIAIRU5985Xdcr8cnaptaqDN2A fGiMZc4bhUQYsQBIPZ7mgA5UjHl6N2DhpHa2jZ2oeZs3BL6vO5IZG9R+JlI00wOo vCAwsnCriw855dJRifyX8OJCgho9ZNvxtP9t4j3zB+XCsZxml67NwaTrgSt1FPiP LUUd3ZJHshkmXntbcUvUYRLidjFZdZS96Fdrj711z8AxgmTls0+Nue9MAvGrt4jt q+tDMC5EYrD5fWWAaeebZjnZkwiEfp0OirygvU8SXkIB75Nq+xHS7j1MSsv3DEtv iVnYm9b53uW68Sn7tetrwWMDM8VrBoT8yrg3n091pITy/uo3Ei6yh6lllSo+32o= =3XO4 -----END PGP SIGNATURE----- From owner-freebsd-jail@FreeBSD.ORG Fri Feb 12 17:46:02 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 63D4E106566B for ; Fri, 12 Feb 2010 17:46:02 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from smtp-int-m.obspm.fr (smtp-int-m.obspm.fr [145.238.187.15]) by mx1.freebsd.org (Postfix) with ESMTP id F3B4E8FC13 for ; Fri, 12 Feb 2010 17:46:01 +0000 (UTC) Received: from obspm.fr (pcjas.obspm.fr [145.238.184.233]) by smtp-int-m.obspm.fr (8.14.3/8.14.3/SIO Observatoire de Paris - 07/2009) with ESMTP id o1CHjvZO018043 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 12 Feb 2010 18:45:58 +0100 Date: Fri, 12 Feb 2010 18:45:57 +0100 From: Albert Shih To: Mykola Dzham Message-ID: <20100212174557.GA17643@obspm.fr> References: <20100205153918.GH31809@obspm.fr> <20100205173554.GA3631@laptop.levsha.me> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20100205173554.GA3631@laptop.levsha.me> User-Agent: Mutt/1.5.20 (2009-06-14) X-Miltered: at smtp-int-m.obspm.fr with ID 4B7593D5.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 4B7593D5.000/145.238.184.233/pcjas.obspm.fr/obspm.fr/ X-j-chkmail-Score: MSGID : 4B7593D5.000 on smtp-int-m.obspm.fr : j-chkmail score : . : R=. U=. O=. B=0.009 -> S=0.009 X-j-chkmail-Status: Ham Cc: freebsd-jail@FreeBSD.org Subject: Re: setfib with jail 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: Fri, 12 Feb 2010 17:46:02 -0000 Le 05/02/2010 à 19:35:54+0200, Mykola Dzham a écrit > Albert Shih wrote: > > Hi all. > > > > I'm trying to make setfib working with jail. I'm not sure to do correctly, > > but I'm sure it's not working. > > > > So this is what I do : > > > > - Rebuild kernel with > > > > option ROUTETABLES=4 > > > > - Re-install the kernel, reboot > > > > - Stop the jail > > > > - flush all route (not default) on 0 fib > > > > - create route in 1 fib > > > > setfib 1 route add default xxx.yyy.zzz.ttt > > > > - add > > > > jail_name_fib="1" > > > > in my rc.conf > > > > - start the jail with > > > > /etc/rc.d/jail start name > > > > > > ---> and it's not working because when I do > > > > jexec Jail_ID bash > > netstat -rn > > > > I see the 0 fib. > > > > What's wrong ? > > Try to start ssh in jail, ssh into jail and run netstat -rn > fib binds to process and childs, not to jail - jexec and childs started > with your current fib, not with jail fib. Thanks for the tips. But it's not working. I try every combinaison my poor mind can invente and no one work. I'm running FreeBSD 7.2 -Release, I've «jail_name_fib» option in the /etc/defaults/rc.conf. But do I need 7.3 or 8.0 to make it work ? Anyone have succefuly use setfib with jail ? Regards. JAS -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex Téléphone : 01 45 07 76 26/06 86 69 95 71 Heure local/Local time: Ven 12 fév 2010 18:44:18 CET From owner-freebsd-jail@FreeBSD.ORG Fri Feb 12 21:23: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 66ED5106566C for ; Fri, 12 Feb 2010 21:23:05 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) by mx1.freebsd.org (Postfix) with ESMTP id 25A7E8FC13 for ; Fri, 12 Feb 2010 21:23:04 +0000 (UTC) Received: from elsa.codelab.cz (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 92FF919E019; Fri, 12 Feb 2010 22:23:03 +0100 (CET) Received: from [192.168.1.2] (r5bb235.net.upc.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 6D05619E023; Fri, 12 Feb 2010 22:23:01 +0100 (CET) Message-ID: <4B75C6B4.6040903@quip.cz> Date: Fri, 12 Feb 2010 22:23:00 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1.7) Gecko/20100104 SeaMonkey/2.0.2 MIME-Version: 1.0 To: Christer Solskogen References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-jail@freebsd.org Subject: Re: Fwd: Jailcfg - A new tool for creating small(!) jails 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: Fri, 12 Feb 2010 21:23:05 -0000 Christer Solskogen wrote: > The homepage for the project is http://code.google.com/p/jailcfg/. Just a small note, I think you don't need bash dependency (#!/usr/local/bin/bash) in jail_maintenance.sh. It can be #!/bin/sh. And ls -1 $jail_dir/$jail/var/db/pkg can be ls $jail_dir/$jail/var/db/pkg (without -1, redirected output is always one column) Miroslav Lachman From owner-freebsd-jail@FreeBSD.ORG Sat Feb 13 00:54:25 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 7CAC0106566C for ; Sat, 13 Feb 2010 00:54:25 +0000 (UTC) (envelope-from cryx-freebsd@h3q.com) Received: from mail.h3q.com (mail.h3q.com [213.73.89.199]) by mx1.freebsd.org (Postfix) with ESMTP id C15268FC08 for ; Sat, 13 Feb 2010 00:54:24 +0000 (UTC) Received: (qmail 57581 invoked from network); 13 Feb 2010 00:54:23 -0000 Received: from mail.h3q.com (HELO mail.h3q.com) (cryx) by mail.h3q.com with AES256-SHA encrypted SMTP; 13 Feb 2010 00:54:23 -0000 Message-ID: <4B75F83E.4000400@h3q.com> Date: Sat, 13 Feb 2010 01:54:22 +0100 From: Philipp Wuensche User-Agent: Postbox 1.1.1 (Macintosh/20100208) MIME-Version: 1.0 To: jhell References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Christer Solskogen , freebsd-jail@freebsd.org Subject: Re: Fwd: Jailcfg - A new tool for creating small(!) jails 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: Sat, 13 Feb 2010 00:54:25 -0000 jhell wrote: > > Just for some more idea's to build upon. > > You could have a thousand jails at no extra space besides one base jail > installed at 160M and using zfs snapshot and clone. with no additional > mounting needed besides the actual jail and its device directory. ;) > > The only data that is collected after that is user data which is a good > thing with no extra cost of system mount points and disk usage. Thats only true until the first update of the freebsd-userland inside the jail. The moment you need to update the freebsd-userland inside the jail, it will use additional space and all the advantages of this idea are gone. Using clone will also create a direct dependency between the snapshots and the cloned filesystems. As long as the clone exists, the snapshot has to be kept. This is only resolvable by using zfs send/recv which will, again, use additional space. greetings, Philipp From owner-freebsd-jail@FreeBSD.ORG Sat Feb 13 01:30:02 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 A96781065670 for ; Sat, 13 Feb 2010 01:30:02 +0000 (UTC) (envelope-from merijn@inconsistent.nl) Received: from smtp-vbr13.xs4all.nl (smtp-vbr13.xs4all.nl [194.109.24.33]) by mx1.freebsd.org (Postfix) with ESMTP id 1BC418FC0C for ; Sat, 13 Feb 2010 01:30:01 +0000 (UTC) Received: from twilight.fritz.box (inconsistent.nl [83.163.46.169]) (authenticated bits=0) by smtp-vbr13.xs4all.nl (8.13.8/8.13.8) with ESMTP id o1D1Et2p072713 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Sat, 13 Feb 2010 02:14:56 +0100 (CET) (envelope-from merijn@inconsistent.nl) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: "Philipp Wuensche" , jhell References: <4B75F83E.4000400@h3q.com> Date: Sat, 13 Feb 2010 02:14:55 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Merijn Verstraaten" Organization: Inconsistent Message-ID: In-Reply-To: <4B75F83E.4000400@h3q.com> User-Agent: Opera Mail/10.10 (MacIntel) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: Christer Solskogen , freebsd-jail@freebsd.org Subject: Re: Fwd: Jailcfg - A new tool for creating small(!) jails 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: Sat, 13 Feb 2010 01:30:02 -0000 On Sat, 13 Feb 2010 01:54:22 +0100, Philipp Wuensche wrote: >> The only data that is collected after that is user data which is a good >> thing with no extra cost of system mount points and disk usage. > > Thats only true until the first update of the freebsd-userland inside > the jail. The moment you need to update the freebsd-userland inside the > jail, it will use additional space and all the advantages of this idea > are gone. This is true, but not much of a problem in practice. I use the same approach combined with a Nuke & Pave upgrade process. I simply upgrade the original base installation, create a new snapshot and instead of upgrading the individual jails I just delete them and create a new clone of the new snapshot. Since I nullfs mount the actual user data from another filesystem this requires nothing on the jail. I install from packages I compile myself, so the port installation time is near zero and I can just copy over the config files from the old jail to the new one. Most of these steps can be trivially automated. This is also a good remedy from preventing your jails from unintentionally diverging from their common configuration too much. Of course when background deduplication gets ported to ZFS it all becomes moot and we can have insane space saving for jails. > Using clone will also create a direct dependency between the snapshots > and the cloned filesystems. As long as the clone exists, the snapshot > has to be kept. This is only resolvable by using zfs send/recv which > will, again, use additional space. I don't really see how the dependency is an issue. Could you perhaps explain how/why this matters? Kind regards, Merijn Verstraaten From owner-freebsd-jail@FreeBSD.ORG Sat Feb 13 01:51:30 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 EE34C1065679 for ; Sat, 13 Feb 2010 01:51:30 +0000 (UTC) (envelope-from cryx-freebsd@h3q.com) Received: from mail.h3q.com (mail.h3q.com [213.73.89.199]) by mx1.freebsd.org (Postfix) with ESMTP id 56B4A8FC14 for ; Sat, 13 Feb 2010 01:51:30 +0000 (UTC) Received: (qmail 71848 invoked from network); 13 Feb 2010 01:51:29 -0000 Received: from mail.h3q.com (HELO mail.h3q.com) (cryx) by mail.h3q.com with AES256-SHA encrypted SMTP; 13 Feb 2010 01:51:29 -0000 Message-ID: <4B76059F.9010700@h3q.com> Date: Sat, 13 Feb 2010 02:51:27 +0100 From: Philipp Wuensche User-Agent: Postbox 1.1.1 (Macintosh/20100208) MIME-Version: 1.0 To: Merijn Verstraaten References: <4B75F83E.4000400@h3q.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Christer Solskogen , freebsd-jail@freebsd.org Subject: Re: Fwd: Jailcfg - A new tool for creating small(!) jails 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: Sat, 13 Feb 2010 01:51:31 -0000 Merijn Verstraaten wrote: > On Sat, 13 Feb 2010 01:54:22 +0100, Philipp Wuensche > wrote: >>> The only data that is collected after that is user data which is a good >>> thing with no extra cost of system mount points and disk usage. >> >> Thats only true until the first update of the freebsd-userland inside >> the jail. The moment you need to update the freebsd-userland inside the >> jail, it will use additional space and all the advantages of this idea >> are gone. > > This is true, but not much of a problem in practice. As you already explained, this heavily depends on what your practice is! If you are in full control of each and every jail you run, this is a possible practice. If you run a shared server with lots of people managing the installed ports in their jails on their own, this may get complicated as you need to take into account different settings for ports, configuration files in odd locations, userdata outside the nullfs mount etc.pp. This setup also requires you to restart every jail for even minor userland updates or you need to start syncing those minor updates into every jail. Can be automated, of course. >> Using clone will also create a direct dependency between the snapshots >> and the cloned filesystems. As long as the clone exists, the snapshot >> has to be kept. This is only resolvable by using zfs send/recv which >> will, again, use additional space. > > I don't really see how the dependency is an issue. Could you perhaps > explain how/why this matters? In your setup this doesn't, as you nuke & pave and mount userdata via nullfs, thats the keypoint here. But people tend to think a cloned filesystem is independent from its snapshot and start to use it this way. Common pitfall is using snapshot, clone and rollback: % zfs create exports/zones/base % zfs snapshot exports/zones/base@RELEASE-p1 # *updatemagic* % zfs snapshot exports/zones/base@RELEASE-p2 % zfs clone exports/zones/base@RELEASE-p2 export/zones/jail % zfs rollback exports/zones/base@RELEASE-p1 cannot rollback to 'exports/zones/base@RELEASE-p1': more recent snapshots exist use '-r' to force deletion of the following snapshots: exports/zones/base@RELEASE-p2 % zfs rollback -r exports/zones/base@RELEASE-p1 cannot rollback to 'exports/zones/base@RELEASE-p1': clones of previous snapshots exist use '-R' to force deletion of the following clones and dependents: export/zones/jail If "export/zones/jail" includes userdata, yes in your setup it doesn't, then you have a problem. greetings, philipp From owner-freebsd-jail@FreeBSD.ORG Sat Feb 13 10:23:09 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 73CD9106568D for ; Sat, 13 Feb 2010 10:23:09 +0000 (UTC) (envelope-from christer.solskogen@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.25]) by mx1.freebsd.org (Postfix) with ESMTP id 082298FC0C for ; Sat, 13 Feb 2010 10:23:08 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 9so130138eyd.9 for ; Sat, 13 Feb 2010 02:23:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=oThdh1fmaqQf10zcZ2X1CJaL8+sQdU7YxWjQvbys7VY=; b=wioZL8nGu0RitqFtiO8wnQpDUVfBdoGjy37HweGAh6E644IjOAoKGkNZZ4Js7YId/0 Matf1DMkLXhwkRnldI3CJT7Z7ZcDYmoRJINIwLKroY4CJwJrYMxYIAyKlegE+Ux8NRQf mWYTUJc8OtIyNIa9pQgEXuU5FSaXbXcgQ/8Vs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=bu/Ytim/U+azGP0rPSg3wWqYyP4go3+Mv0p0coEbrlZfRJGPkiskRjfyB5YuUHTuob G0Pn02sfLwhVdWZ7guRe6CakAQbsfd3bRmt13SUDcqaTMkkggJc0RGlPqknGocf5u5zs x4NtGqGdHRqrn4wThBSDuK8OMj4pUQzaspJIk= MIME-Version: 1.0 Received: by 10.213.8.26 with SMTP id f26mr902301ebf.14.1266056587850; Sat, 13 Feb 2010 02:23:07 -0800 (PST) In-Reply-To: <4B75C6B4.6040903@quip.cz> References: <4B75C6B4.6040903@quip.cz> Date: Sat, 13 Feb 2010 11:23:07 +0100 Message-ID: From: Christer Solskogen To: Miroslav Lachman <000.fbsd@quip.cz> Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-jail@freebsd.org Subject: Re: Fwd: Jailcfg - A new tool for creating small(!) jails 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: Sat, 13 Feb 2010 10:23:09 -0000 On Fri, Feb 12, 2010 at 10:23 PM, Miroslav Lachman <000.fbsd@quip.cz> wrote: > Just a small note, I think you don't need bash dependency > (#!/usr/local/bin/bash) in jail_maintenance.sh. It can be #!/bin/sh. > You are very right. Thanks! > And ls -1 $jail_dir/$jail/var/db/pkg can be > ls $jail_dir/$jail/var/db/pkg > (without -1, redirected output is always one column) > Again, thank you :) (Let me just point out that the Makefile is very *very* simple, and it will be fixed in the future ) -- chs