From owner-freebsd-ports@FreeBSD.ORG Tue Oct 15 09:48:16 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 28C72EEF for ; Tue, 15 Oct 2013 09:48:16 +0000 (UTC) (envelope-from gehm@doom-labs.net) Received: from mail.doom-labs.net (diabolo.doom-labs.net [81.92.172.233]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id ACFE120C0 for ; Tue, 15 Oct 2013 09:48:15 +0000 (UTC) Received: from mail.doom-labs.net (diabolo.doom-labs.net [81.92.172.233]) by mail.doom-labs.net (Postfix) with ESMTP id 386885BBAA for ; Tue, 15 Oct 2013 11:48:14 +0200 (CEST) Received: by mail.doom-labs.net (Postfix, from userid 10094) id 09DBC5BBA9; Tue, 15 Oct 2013 11:48:13 +0200 (CEST) Resent-From: Ekkehard Gehm Resent-Date: Tue, 15 Oct 2013 11:48:13 +0200 Resent-Message-ID: <20131015094813.GB47325@doom-labs.net> Resent-To: freebsd-ports@freebsd.org Date: Tue, 15 Oct 2013 11:39:57 +0200 From: Ekkehard Gehm To: Mark Felder Subject: Re: stagedir vs. jail Message-ID: <20131015093957.GA47325@doom-labs.net> References: <20131013105853.GA63463@doom-labs.net> <1381751784.28969.33738281.3836FAAC@webmail.messagingengine.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9amGYk9869ThD9tj" Content-Disposition: inline In-Reply-To: <1381751784.28969.33738281.3836FAAC@webmail.messagingengine.com> X-Arbitrary-Number-Of-The-Day: 42 X-Binford-Tool: 6100 (more power) X-PGP-Key: http://www.physik.tu-berlin.de/~gehm/pubkey.asc User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Oct 2013 09:48:16 -0000 --9amGYk9869ThD9tj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Ahoi! On Mon, 14 Oct 2013, Mark Felder wrote something like: > Do I understand this situation correctly: >=20 > Users are having issues with building/installing packages with STAGEDIR > enabled in lightweight jails that use symlinks to share parts of the > base system between many jails to make it easier to upgrade the jails > and avoid duplication/wasted disk space? It seems that the handbook and > ezjails may both replicate this behavior. >=20 > http://www.freebsd.org/doc/handbook/jails-application.html >=20 > If this is correct, the only workaround may be for you to use a private > package repository constructed by poudriere and to not actually build > your packages within the jails you intend to use them in. The types of > jails you are using are certainly a supported method for running jails, > but I can see the severe limitations it imposes on the newer package > building method which is designed to ensure packages are built as > accurately and reliably as possible. Maybe bapt & co can find a > workaround for this, but this does sound like an edge case.=20 >=20 So it is my buissness to install pkg for all my users then?=20 Or: If I'm using a Jail to test a bit of software I have to build them in t= he main system? The problem is that this stagedir thing (or at least pkg_create) misinterpr= ets Symlinks. That is, in my opinion, a bug not a feature! > Please keep in mind that there are some growing pains as the ports team > attempts to mature packages on FreeBSD so we can one day go from 90% > users build from ports and only 10% using packages to a reality where > 90% of the users are able to use packages and only 10% have to build > from ports. >=20 > I should note that I successfully run these types of jails but I run > poudriere from the host to have private package repositories. It makes > it very easy to pop into a jail and run "pkg upgrade" and instantly the > jail is updated and I can restart services or quickly restart the entire > jail. > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >=20 --=20 Ekkehard Gehm * mailto:gehm@doom-labs.net Doom-Labs Inc. * http://www.doom-labs.net Frag Content * PGP-Key: http://www.physik.tu-berlin.de/~ge= hm/pubkey.asc Experience is what you get when you were expecting something else. Microsoft: "Where do you want to go today?" Linux: "Where do you want to go tomorrow?" FreeBSD: "Are you guys coming or what?" --9amGYk9869ThD9tj Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (FreeBSD) iEYEARECAAYFAlJdDWwACgkQ3AMzQY6nzubYqwCdEZOm2g+9kTZjkzlF2Xrje0W5 4tQAnjTJpEw8yOAvUfcLCY9OSglPYFSI =Lf2y -----END PGP SIGNATURE----- --9amGYk9869ThD9tj--