Date: Sat, 19 Dec 2015 20:59:49 +0100 From: Michael Grimm <trashcan@odo.in-berlin.de> To: freebsd-jail@freebsd.org Subject: Re: iocage following stable? Message-ID: <660A228D-5996-4C1C-BD27-D8BBBB8EDB23@odo.in-berlin.de> In-Reply-To: <56748639.3040202@freebsd.org> References: <CF1E69A2-C4D9-4D53-8C49-D5FFECD261B4@ellael.org> <56748639.3040202@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Allan Jude <allanjude@freebsd.org> wrote: > On 2015-12-18 16:18, Michael Grimm wrote: >> I am running ezjail for some years now, but I intend to migrate to = iocage. Not that I am "disappointed" with ezjail, but I do want to give = VNET a try. >>=20 >> After having read iocage's documentation and some google research, I = am left with the following questions: >>=20 >> 1) Currently I am using ezjail's functionality to update/upgrade my = basejail from svn following STABLE. I am unsure if I can stick to = running STABLE in iocage jails, and if so, how? "iocage chroot" and = compile in /usr/src? >=20 > I don't know on this part Well, I did try that approach in the meantime, and yes, one might fake = iocage in this regard. >> 2) Is there an equivalent for "ezjail-admin console -e 'pkg upgrade = -y -f' jailname", namely running commands inside a jail without entering = it? >=20 > The generic jail command 'jexec' can work for this. >=20 > jexec <jailname or number> pkg upgrade -y -f >=20 > Also, pkg itself has native support for jails. >=20 > pkg upgrade -j <jailname> -y -f Thanks I didn't see the obvious :-( Thanks. After testing iocage today I do come to the conclusion that it does what = it is made for: perfect wrapper script for jail functionality. I did get = sam test jails running vnet, quite easily. But, I will not use iocage as a substitute for ezjail, not due to = lacking functionality, no en contre, rather due to "inflexibility" from = *my* point of view. Those UUIDs irritate me, and they make "zfs list" = rather "odd looking". And, I do miss "flexibility" regarding where to = nail "iocage" into my zpool filesystem. I am using beadm boot = environments, and I am used to stick ezjail's basejail to those. If = upgrading a basejail went wrong I will have a fallback basejail at hand. Anyway, I am currently testing jail management "the hard way" aka own = scripts ;-) Regards, Michael
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?660A228D-5996-4C1C-BD27-D8BBBB8EDB23>