Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 May 2008 17:25:20 +0200 (CEST)
From:      Oliver Fromme <olli@fromme.com>
To:        Alexander@Leidinger.net (Alexander Leidinger)
Cc:        src-committers@FreeBSD.org, John Baldwin <jhb@FreeBSD.org>, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org, Michael Reifenberger <mike@reifenberger.com>, Robert Watson <rwatson@FreeBSD.org>
Subject:   Re: cvs commit: src/usr.sbin/jexec jexec.8 jexec.c
Message-ID:  <200805301525.m4UFPKOY079972@haluter.fromme.com>
In-Reply-To: <20080530165051.46452soq4pp07n28@webmail.leidinger.net> from "Alexander Leidinger" at May 30, 2008 04:50:51 PM

next in thread | previous in thread | raw e-mail | index | archive | help

Alexander Leidinger wrote:
 > Robert Watson wrote:
 > > 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
 > 
 > Is it feasible to change the hostname of a dying jail? We could prefix  
 > it with some string at some point of the shutdown...

I think Robert's idea to differentiate between "dead" and
"live" jails is good.  So, when jexec has been called with
the new -h option and it walks the list of jails, it should
skip jails that have no processes attached.

Best regards
   Oliver

-- 
Oliver Fromme, Bunsenstr. 13, 81735 Muenchen, Germany

``We are all but compressed light'' (Albert Einstein)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805301525.m4UFPKOY079972>