Date: Mon, 22 Feb 2016 19:17:40 +1100 From: Aristedes Maniatis <ari@ish.com.au> To: markham breitbach <markham@ssimicro.com> Cc: freebsd-jail <freebsd-jail@freebsd.org> Subject: Re: Jail management Message-ID: <7b947a1c-824b-193d-3dc3-49d876b21be9@ish.com.au> In-Reply-To: <DFFE2BFC-1D53-457D-A4C3-633418D3690D@erdgeist.org> References: <ff8307f6-1264-30ec-1ef8-ed3b0a18dd84@ish.com.au> <DFFE2BFC-1D53-457D-A4C3-633418D3690D@erdgeist.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --kejBCIdMMi0t6KHUxxURT5nll3bLgg39w Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Markham wrote: > One of the solutions I have found to the version issue is to build my o= wn package repo. I build the packages the way I want, and then upload the= m to my own package repo (which is just another jail running thttpd). I a= lso keep a jail running with the ports tree frozen at the versions I am u= sing for production. Thanks for that idea. However I'm already doing all that with poudriere a= nd it works well. However creating a new poudriere repo every 4 weeks wou= ld be a little cumbersome. Steve Hartland wrote: > Checkout qjail from your description I think it will do what you want. I took a look at the documentation I could find (just some stuff on Sourc= eforge really) but nothing in qjail seemed to solve the issues of multipl= e basejails or anything else that was causing me issues with ezjail. I also discovered iocage which looks quite different and interesting. I'm= still reading about it, but it seems to: * have multiple basejails * use unionfs to create a "jail package" which looks like an overlay on a= jail. However there doesn't appear to be a feature to "undeploy" a packa= ge, so not sure if it is the best way to deploy a certain version of an a= pplication. * have also a template feature which looks like the ezjail 'flavour'. You= can't change the template after you make a jail. Again, it looks like "d= estroy jail" and make a new one. I can't really understand the different practical use cases of 'package' = and 'template' since they seem both very similar to ezjail flavours excep= t in how you create them in the first place. But the multiple basejail idea might just be what I need. I create a new = basejail once a month with each new release of the software. I can't swit= ch existing jails to a new basejail (I think), but I'd need to destroy an= d recreate it from a new base and add my jail specific config bits. Each jail could be upgraded as needed and not necessarily at the same tim= e. Nice. Ari --=20 --------------------------> Aristedes Maniatis ish http://www.ish.com.au Level 1, 30 Wilson Street Newtown 2042 Australia phone +61 2 9550 5001 fax +61 2 9550 4001 GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A --kejBCIdMMi0t6KHUxxURT5nll3bLgg39w Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iEYEARECAAYFAlbKxCQACgkQ72p9Lj5JECo7EQCfT46hq9aA62pBAbWVvjHQPe7j XAIAn3sxocIRXj0E42stY6JJgp80DvCh =9+Cj -----END PGP SIGNATURE----- --kejBCIdMMi0t6KHUxxURT5nll3bLgg39w--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7b947a1c-824b-193d-3dc3-49d876b21be9>