From owner-freebsd-ports@freebsd.org Mon Nov 26 20:34:40 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 19F5311436F4 for ; Mon, 26 Nov 2018 20:34:40 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 6B2F769BA5 for ; Mon, 26 Nov 2018 20:34:39 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: by mailman.ysv.freebsd.org (Postfix) id 253D611436F3; Mon, 26 Nov 2018 20:34:39 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F3B7811436F1 for ; Mon, 26 Nov 2018 20:34:38 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from mail-ua1-x92a.google.com (mail-ua1-x92a.google.com [IPv6:2607:f8b0:4864:20::92a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 31C8D69BA0 for ; Mon, 26 Nov 2018 20:34:36 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: by mail-ua1-x92a.google.com with SMTP id p9so6820104uaa.5 for ; Mon, 26 Nov 2018 12:34:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chen-org-nz.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=sOutbfVtyDfohPNh3GSwOKFeEKYUC9XfQWfOQ4hn3+4=; b=s8h11fPSxiGbmn8XbIcecaWl6RaE/aoQlhGT5KfjuS5ElywOYRrpT6K0cDbYTND7ed ndL77PopjKpmoKPEpdO5HqAMY2XZ0BQTQHXofRwAz0M3UfEjuKeRlgaS2wpcwzN0eUkA NM1XXZy/GDkH68cA/Cyy89Seo3PWuj2PmqgPk1hWrDenVd8sy7pzjcbb1fcSwQFyhD4I vOnYFhDGGgp9ljBGj3euDYeDLoPhgE9awrcUWmrxxuF3tp65tubl9Eq91jgkRgwGOTfN XVdVOLmXNQckYAMhYagEqyThqIFBPvKZKQmZTKSK/YkSi7Bw8jrQLpYNh3YN/vNLGQrC OEVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=sOutbfVtyDfohPNh3GSwOKFeEKYUC9XfQWfOQ4hn3+4=; b=TiDtjpdeQ7YvVvw/w2EuZ7WtZZI7E96wn/j/xySF2HwadDdxK4UAmzxyRG2xXSbO1a 4Whz4hv76X56v4eQxm/TYjnO0B7hAkBRa+mZzwrkFkWIZLzNMrlYWjufIno15GczFcta 11Jl4yXDcCUogXbBfPqnMXZWFkCZcMky86jKwJ/1MUp9FhIsgGem0iycxZjhbYKdTCeE +vi6x1O8A2ygh0MkPYJKRHzJ7sH5FZ1NXuVdD3NtuIFmnNj/LOAp4QsPKS58wpcAsjhA M4RPTOGRsF8QBq3Ayy03DiKAHWpHDcjp1/RWmgHXuAds4Bm6kFa1SbQQxpu3rlIbB/0g ktMA== X-Gm-Message-State: AA+aEWZjolcPpuhKQ2rfrefWy6iYVQxsDifLVU3DaNaAWhW6eALKXysd l3C8uymZuFeDKGy8W1HgQIws0W1ZuA/hYH5vmDUSAEKk X-Google-Smtp-Source: AFSGD/XLl6za6/u3v3trGRAGLp69pvELlPTewJra+YSSGSRhv1VRKp6EPFFucQ4mKZ3ZMEPRuJCq0WtgS9AMBwfdACY= X-Received: by 2002:ab0:7399:: with SMTP id l25mr12407672uap.101.1543264475785; Mon, 26 Nov 2018 12:34:35 -0800 (PST) MIME-Version: 1.0 References: <20181126202407.GA95942@mail.michaelwlucas.com> In-Reply-To: <20181126202407.GA95942@mail.michaelwlucas.com> From: Jonathan Chen Date: Tue, 27 Nov 2018 09:34:24 +1300 Message-ID: Subject: Re: packages and base jails To: mwlucas@michaelwlucas.com Cc: ports@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 6B2F769BA5 X-Spamd-Result: default: False [-7.53 / 15.00]; ARC_NA(0.00)[]; FORGED_RECIPIENTS_FORWARDING(0.00)[]; R_DKIM_ALLOW(-0.20)[chen-org-nz.20150623.gappssmtp.com]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; FORWARDED(0.00)[ports@mailman.ysv.freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[chen.org.nz]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; DKIM_TRACE(0.00)[chen-org-nz.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_MED(-0.20)[5.0.0.0.0.5.0.0.0.0.0.0.0.0.0.0.a.6.0.2.4.5.2.2.0.0.9.1.1.0.0.2.list.dnswl.org : 127.0.9.2]; R_SPF_NA(0.00)[]; MX_GOOD(-0.01)[cached: alt1.aspmx.l.google.com]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(-3.64)[ip: (-9.87), ipnet: 2001:1900:2254::/48(-4.70), asn: 10310(-3.55), country: US(-0.09)]; NEURAL_HAM_SHORT(-0.98)[-0.977,0]; ASN(0.00)[asn:10310, ipnet:2001:1900:2254::/48, country:US]; FORGED_RECIPIENTS(0.00)[mwlucas@michaelwlucas.com .., freebsd-ports@freebsd.org] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Nov 2018 20:34:40 -0000 On Tue, 27 Nov 2018 at 09:26, Michael W. Lucas wrote: > > > Hi, > > I'm writing a book on jails and am looking for BCP. I'd like to > present either "This is the approved solution and should work" or > "these are the gotchas with any of these, choose your pain." > > Folks want base jails to include packages, but also want to install > additional packages--which won't happen if /usr/local is mounted > read-only in the base jail. IIRC, ezjail uses a standard basejail tree, but mounts a writable /usr/local, /etc. You can replicate the jails easily, and populate them with a standard set of packages which can then be added by the end-user. Cheers. -- Jonathan Chen