Date: Thu, 29 May 2008 15:56:50 +0100 (BST) From: Robert Watson <rwatson@FreeBSD.org> To: Michael Reifenberger <mike@reifenberger.com> Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org, John Baldwin <jhb@freebsd.org> Subject: Re: cvs commit: src/usr.sbin/jexec jexec.8 jexec.c Message-ID: <20080529155422.T3678@fledge.watson.org> In-Reply-To: <20080529145319.GC94385@gw.reifenberger.com> References: <200805261157.m4QBvnpF025029@repoman.freebsd.org> <20080526144831.K26343@fledge.watson.org> <20080526140735.GA35960@gw.reifenberger.com> <200805281309.49683.jhb@freebsd.org> <20080529140557.GA94385@gw.reifenberger.com> <20080529151233.I3678@fledge.watson.org> <20080529145319.GC94385@gw.reifenberger.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 29 May 2008, Michael Reifenberger wrote: > On Thu, May 29, 2008 at 03:14:20PM +0100, Robert Watson wrote: ... >> The other concept that might be of benefit is a "dead" jail vs. a "live" >> jail -- with TCP connections taking a while to run down, there can often be >> dangling jail references that don't garbage collect for a few minutes. >> Perhaps, where there is ambiguity, live jails (ones with referencing >> processes) should be preferred to dead ones. > > Thats something that the admin should take care for. How might they do that? Remember that any command that works only when the jail IP is "unambiguous" will become effectively non-deterministic as a result of un-garbage collected jails. So sometimes jexec -h <whatever> foo will simply work, and sometimes return an error, depending on whether 2MSL has happened yet or not. I have to say that I really don't think that this addition is a good idea. Once unique, administratively-determined jail names are available, and if we add the idea of "dying" jails, then this may be useful. Otherwise, it seems like a conceptually inconsistent concept that fails to match the implementation -- i.e., one that will always work badly. Robert N M Watson Computer Laboratory University of Cambridge
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080529155422.T3678>