From owner-freebsd-jail@FreeBSD.ORG Mon Feb 15 11:07:04 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 4D41D106566B for ; Mon, 15 Feb 2010 11:07:04 +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 3B4AD8FC26 for ; Mon, 15 Feb 2010 11:07:04 +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 o1FB74ex070365 for ; Mon, 15 Feb 2010 11:07:04 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o1FB73Ho070363 for freebsd-jail@FreeBSD.org; Mon, 15 Feb 2010 11:07:03 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 15 Feb 2010 11:07:03 GMT Message-Id: <201002151107.o1FB73Ho070363@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, 15 Feb 2010 11:07:04 -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 Thu Feb 18 16:22: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 EEC9B1065692 for ; Thu, 18 Feb 2010 16:22:13 +0000 (UTC) (envelope-from andrnils@gmail.com) Received: from mail-bw0-f216.google.com (mail-bw0-f216.google.com [209.85.218.216]) by mx1.freebsd.org (Postfix) with ESMTP id 854E88FC0A for ; Thu, 18 Feb 2010 16:22:13 +0000 (UTC) Received: by bwz8 with SMTP id 8so300685bwz.3 for ; Thu, 18 Feb 2010 08:22:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=nWXgvBPoTCvGkFXK39Ox+hAiF6wc/GF4wcs/hd44OaI=; b=ZMcpDk2XgnTRdTxDCSsBUyLNnFEtTwHyruHVnW3Nc2nKw+DJjI3AWU1tiQ6gZezkAm aJ31Hd6SWJgkal9Mxax42ZDu4FYvtCYjxEQW1pR2XgDaG1DIf0YCLpz0XVCE9RxqMLiV I45YvPok1jLohH7SKsV90kI0Q9b0Zq4grBmx0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=OofoqXHdrxF1AwYd77PT4FiJ7zJ9KDwQ1Ife7xpHDqfkgQdDZTjQga4pC6oX6ucJoE tubcFFq8kjZr7UJW2COYdBnk0QD1J5FJAJ4WHA1IgGbrQP7GDKhVMpe9GRfiXocUP+dX 53Zn8dONgXBPrCVxGutrzGeOWLK7fU2gCFlK4= MIME-Version: 1.0 Received: by 10.204.143.139 with SMTP id v11mr2356694bku.98.1266508448168; Thu, 18 Feb 2010 07:54:08 -0800 (PST) Date: Thu, 18 Feb 2010 16:54:08 +0100 Message-ID: From: Andreas Nilsson To: freebsd-jail@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Emulating different versions of FreeBSD 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: Thu, 18 Feb 2010 16:22:14 -0000 Hello, I need do build packages for some different versions of FreeBSD ( 7.1, 7.2 and 8.0 ) and today I'm running a xen domU for each version, which is not optimal for performance. Could the jail architecture be used to run/emulate different versions of FreeBSD on the same machine? My idea was to install a 8.0 and then have three jails: one each for 7.1, 7.2 and 8.0, with the respective userland. Can the kernel be tricked into telling a jail that it runs an older version ( i.e. 8.0 kernel tells jail it's running 7.1 )? Best regards Andreas From owner-freebsd-jail@FreeBSD.ORG Thu Feb 18 17:46:31 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 66C3C106566B for ; Thu, 18 Feb 2010 17:46:31 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from mail.soaustin.net (lefty.soaustin.net [66.135.55.46]) by mx1.freebsd.org (Postfix) with ESMTP id 4BD0C8FC0C for ; Thu, 18 Feb 2010 17:46:31 +0000 (UTC) Received: by mail.soaustin.net (Postfix, from userid 502) id 6E9108C063; Thu, 18 Feb 2010 11:26:34 -0600 (CST) Date: Thu, 18 Feb 2010 11:26:34 -0600 From: Mark Linimon To: Andreas Nilsson Message-ID: <20100218172634.GA28262@lonesome.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-jail@freebsd.org Subject: Re: Emulating different versions of FreeBSD 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: Thu, 18 Feb 2010 17:46:31 -0000 On Thu, Feb 18, 2010 at 04:54:08PM +0100, Andreas Nilsson wrote: > Could the jail architecture be used to run/emulate different versions of > FreeBSD on the same machine? portmgr does that on the package build machines all the time. AFAIK we don't do anything special to the kernel/userland we run in the jails. Of course, you need to make sure that what's in the jail is no newer than the native kernel/userland. mcl From owner-freebsd-jail@FreeBSD.ORG Thu Feb 18 19:29:28 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 6380F1065694 for ; Thu, 18 Feb 2010 19:29:28 +0000 (UTC) (envelope-from andrnils@gmail.com) Received: from mail-bw0-f216.google.com (mail-bw0-f216.google.com [209.85.218.216]) by mx1.freebsd.org (Postfix) with ESMTP id AE6F48FC0C for ; Thu, 18 Feb 2010 19:29:27 +0000 (UTC) Received: by bwz8 with SMTP id 8so499265bwz.3 for ; Thu, 18 Feb 2010 11:29:26 -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=5LcVZmplFC29VpQ6DtY7dTcUU2BDWE2DjFXeXHFax24=; b=vNMpp+EIghYupOoMpyDPF6z+LucQiW4n1pqkfm0SFeGAeNlAtDuk2i52yFCbVJoQV2 3YOjd/dOq7qONRByY6noIEs9i06NDf/oDe9/SmGz16/OGyl4H9VSZ9qwfMaT6YCCjY3F pDM/lRR/Po23mGvmkZspgmRhA9wb1TRmhQFPg= 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=rayHOSPQVlg8fNBjyapylgE2ffHkYKyW2tAxpMYTAozt3P3IUU7oUOnyVExCKPUBxG m92+2IZxrJvfiWTPJWVfkGYt+Z03L02JMFSLDuhCpJSYi9N+bGqERNVQldkUmR3TaznZ IPWlD0dC0KvkAFkwgCo67x75rVKZB6v7vnsu0= MIME-Version: 1.0 Received: by 10.204.8.75 with SMTP id g11mr514400bkg.172.1266521366296; Thu, 18 Feb 2010 11:29:26 -0800 (PST) In-Reply-To: <20100218172634.GA28262@lonesome.com> References: <20100218172634.GA28262@lonesome.com> Date: Thu, 18 Feb 2010 20:29:26 +0100 Message-ID: From: Andreas Nilsson To: Mark Linimon Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-jail@freebsd.org Subject: Re: Emulating different versions of FreeBSD 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: Thu, 18 Feb 2010 19:29:28 -0000 On Thu, Feb 18, 2010 at 6:26 PM, Mark Linimon wrote: > On Thu, Feb 18, 2010 at 04:54:08PM +0100, Andreas Nilsson wrote: > > Could the jail architecture be used to run/emulate different versions of > > FreeBSD on the same machine? > > portmgr does that on the package build machines all the time. AFAIK we > don't do anything special to the kernel/userland we run in the jails. > > Of course, you need to make sure that what's in the jail is no newer than > the native kernel/userland. > > mcl > Ok, that sounds great. Thanks for the swift response. So building for example lsof in a 7.1 jail on a 8.0 host will report it being built on 7.1-RELEASE-pX? Does it also work to run a 32-bit jail on a 64-bit host? /Andreas From owner-freebsd-jail@FreeBSD.ORG Thu Feb 18 23:56:14 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 0225C106566B for ; Thu, 18 Feb 2010 23:56:14 +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 B5B1D8FC1B for ; Thu, 18 Feb 2010 23:56:13 +0000 (UTC) Received: from elsa.codelab.cz (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 6051619E023; Fri, 19 Feb 2010 00:56:12 +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 050F619E019; Fri, 19 Feb 2010 00:56:09 +0100 (CET) Message-ID: <4B7DD399.2050301@quip.cz> Date: Fri, 19 Feb 2010 00:56:09 +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: Andreas Nilsson References: <20100218172634.GA28262@lonesome.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Mark Linimon , freebsd-jail@freebsd.org Subject: Re: Emulating different versions of FreeBSD 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: Thu, 18 Feb 2010 23:56:14 -0000 Andreas Nilsson wrote: > On Thu, Feb 18, 2010 at 6:26 PM, Mark Linimon wrote: > >> On Thu, Feb 18, 2010 at 04:54:08PM +0100, Andreas Nilsson wrote: >>> Could the jail architecture be used to run/emulate different versions of >>> FreeBSD on the same machine? >> >> portmgr does that on the package build machines all the time. AFAIK we >> don't do anything special to the kernel/userland we run in the jails. >> >> Of course, you need to make sure that what's in the jail is no newer than >> the native kernel/userland. >> >> mcl >> > > Ok, that sounds great. Thanks for the swift response. So building for > example lsof in a 7.1 jail on a 8.0 host will report it being built on > 7.1-RELEASE-pX? It may depends on uname output. It can be modified by env. variables like UNAME_r etc. (see man uname) > Does it also work to run a 32-bit jail on a 64-bit host? It was discussed here few times so you can search the archive. I am not sure about the results and I didn't have enough time to test it myself. Miroslav Lachman