From owner-freebsd-questions@FreeBSD.ORG Mon Dec 1 03:22:50 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9F6B8FB6 for ; Mon, 1 Dec 2014 03:22:50 +0000 (UTC) Received: from mail-yh0-x22e.google.com (mail-yh0-x22e.google.com [IPv6:2607:f8b0:4002:c01::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6661CC3E for ; Mon, 1 Dec 2014 03:22:50 +0000 (UTC) Received: by mail-yh0-f46.google.com with SMTP id t59so4455338yho.33 for ; Sun, 30 Nov 2014 19:22:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=sObmzfxoIwEvZto5oL1IWBx3JlldwWgZjM6jSr6hQV8=; b=Uk54h1YoEmg+pilk4WLQVyvjld4uPJPQtd76db8uvTOnFk60nGQtkCBYFdsc4kCGkq nGeSglrFjGTc02cYK8kiloOgqGoZyTHXI45B9rq6iDq3CPsAyN1E5GBPbMNALXixPyyL oMaseEIkjzRHDi4IrZdQzinqZsZ2InxP3p3kBvA3U4iVtOxmSKItk9Bc3pFndnW2pogz 4ofA2hmqWCIxEJFeucy7yqhARSSFisSa1hV7mwF+dBt2DZyI3Ttbdhz5ChS/sRPEejkw woafNY0HFoEbIMZr7BcgwqlTn8o4JzZDuC3xV1I9mVCJ1HnUKIYigj2idgTaes2tlP3m l2mg== MIME-Version: 1.0 X-Received: by 10.236.31.33 with SMTP id l21mr56816786yha.14.1417404169350; Sun, 30 Nov 2014 19:22:49 -0800 (PST) Received: by 10.170.82.134 with HTTP; Sun, 30 Nov 2014 19:22:49 -0800 (PST) In-Reply-To: <547BCC8C.6010509@gmail.com> References: <547BCC8C.6010509@gmail.com> Date: Sun, 30 Nov 2014 22:52:49 -0430 Message-ID: Subject: Re: Install package inside a no-networked jail from outside From: Alberto Mijares To: Luzar Content-Type: text/plain; charset=UTF-8 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Dec 2014 03:22:50 -0000 > > > You have to provide greater details when posting. > This sentence is very vague."I'd like to install packages from outside using > pkg" > > Just what do you mean by "outside"? From the HOST??? What?. Yes, I mean "from the host". > You could aways host fetch the packages you want to install and put them in > a directory inside of the jail directory tree > and them exec pkg pointing to location packages were fetched to, or if the > packages you want are on the freebsd install disk1, > then exec pkg command inside of jail pointing to install cd. This was my first approach; however, you need to bootstrap pkg and AFAIK this is not possible without networking. BTW, I think pkg should be installed by default now. > A jail without network is pretty much useless. No. It's very useful to me, indeed. If you can't see a case of use it doesn't mean it's useless. If you need more details for providing more ideas just let me know. Regards, Alberto Mijares