cvs commit: src/usr.sbin/jexec jexec.8 jexec.c

Frank Behrens frank at pinky.sax.de
Mon May 26 18:48:48 UTC 2008


Bjoern A. Zeeb <bz at freebsd.org> wrote on 26 May 2008 13:00:

> On Mon, 26 May 2008, Michael Reifenberger wrote:
> >  Extend jexec to accept hostname or ip-number besides jail-id.
> 
> noither the hostname nor the IP address have to be unique so this does
> not make a lot of sense.

It is true, that the jail-id is the only unique identifier from OS or developer view. But there is 
another view, the administrators view: The jail-id is a not predictable number, but the 
hostname is in many (most?) cases the unique reference. So it makes sense to be able to 
select a jail by it's name.

The rc.conf jail framework also requires unique hostnames for jails, because the jail-ids are 
write to /var/run.

So I agree that the man page should contain the warning, that the selection by hostname/ip 
address may lead to ambiguities, but this is a very useful feature in daily jail administration.
-- 
Frank Behrens, Osterwieck, Germany
PGP-key 0x5B7C47ED on public servers available.



More information about the cvs-src mailing list