Date: Tue, 15 Oct 2013 11:39:57 +0200 From: Ekkehard Gehm <freebsd@doom-labs.net> To: Mark Felder <feld@FreeBSD.org> Subject: Re: stagedir vs. jail Message-ID: <20131015093957.GA47325@doom-labs.net> Resent-Message-ID: <20131015094813.GB47325@doom-labs.net> In-Reply-To: <1381751784.28969.33738281.3836FAAC@webmail.messagingengine.com> References: <20131013105853.GA63463@doom-labs.net> <1381751784.28969.33738281.3836FAAC@webmail.messagingengine.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131015093957.GA47325>