Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 May 2008 20:48:23 +0200
From:      "Frank Behrens" <frank@pinky.sax.de>
To:        cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/usr.sbin/jexec jexec.8 jexec.c
Message-ID:  <200805261848.m4QImNbB039362@post.frank-behrens.de>
In-Reply-To: <20080526130006.B65662@maildrop.int.zabbadoz.net>
References:  <200805261157.m4QBvnpF025029@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Bjoern A. Zeeb <bz@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.




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