From owner-freebsd-questions@FreeBSD.ORG Tue Feb 2 13:45:13 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4CC631065676 for ; Tue, 2 Feb 2010 13:45:13 +0000 (UTC) (envelope-from goran.lowkrantz@ismobile.com) Received: from mail.ismobile.com (mail.ismobile.com [62.119.44.68]) by mx1.freebsd.org (Postfix) with ESMTP id E36578FC46 for ; Tue, 2 Feb 2010 13:45:12 +0000 (UTC) Received: from mail.ismobile.com (mail.ismobile.com [62.119.44.68]) by dkim.mail.arcticgroup.se (Postfix) with ESMTP id 1F0D11D3F9 for ; Tue, 2 Feb 2010 14:28:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=ismobile.com; h=date:from :to:subject:message-id:mime-version:content-type :content-transfer-encoding; s=selector1; bh=xVOe1nvV5yhdOIfEYkhG JkedKLQ=; b=WVR9DzRN04vLL+xOgbPdhOmcr36GBfpnLFa+oSDk9Jj8rwAr4YPl ivtizQoP5Eg8N/WLKzRcjHelwX90gb3L7qBuw9vDGVJTIwsOIHWDRM7RBASvAR0v I/FT2M1jD3pBzV83uZs3M3AXr/JQUXA9Ifj9PhA4zTOsh+pNv68Dr6g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=ismobile.com; h=date:from:to :subject:message-id:mime-version:content-type :content-transfer-encoding; q=dns; s=selector1; b=jmc/m8QU3echBb i0hSLnwI+1XWt7x7aJFH1pCuJiYBPVHPhRu2X8uL9ZuVpMqsO+8d6Ji9UuLTEEkN m0K2E1qb817dyMOiJEBHs2tov2x1fbbYJ0AfjbKaJpe/M1byiEp+6e+BK0wORqio ac5GpPoukh47t6CTV47XF1hj2s4OQ= Received: from [172.16.2.166] (unknown [172.16.2.166]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.ismobile.com (Postfix) with ESMTPSA id AFA0A1D0E8 for ; Tue, 2 Feb 2010 14:28:39 +0100 (CET) Date: Tue, 02 Feb 2010 14:28:38 +0100 From: Goran Lowkrantz To: freebsd-questions@freebsd.org Message-ID: X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Bulding release in a jail???? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Feb 2010 13:45:13 -0000 I am trying to get a working release build environment in a jail but it fails because the release script needs to mount devfs in the chrooted build environment and the md devices used to build the images. I have set the following syscontrols vfs.usermount=1 security.jail.mount_allowed=1 security.jail.chflags_allowed=1 but still can't mount inside the jail. I have tried to make the to jail the chroot filesystem and can mount it within the jail (but not umount it???) but still can't mount the md devices on this jaild filesystem. Is it possible to build a release in a jail? What am I missing? /glz