From owner-cvs-all@FreeBSD.ORG Mon May 26 18:48:48 2008 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A3FB1065683; Mon, 26 May 2008 18:48:48 +0000 (UTC) (envelope-from frank@pinky.sax.de) Received: from post.frank-behrens.de (unknown [IPv6:2a01:170:1023::1:2]) by mx1.freebsd.org (Postfix) with ESMTP id 751BE8FC0C; Mon, 26 May 2008 18:48:47 +0000 (UTC) (envelope-from frank@pinky.sax.de) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pinky.sax.de; h=from:to:date:mime-version:subject:in-reply-to:references:content-type:content-transfer-encoding:content-description; q=dns/txt; s=pinky1; t=1211827726; i=frank@pinky.sax.de; bh=4Dn+uaY4dvhPSGJcya28uVRDQDbnGQXGtZoK+vE4HOE=; b=muOwx23BaaV2mo3kZkBqJm+kWkOX/x/yaNHP2lwC67DbIt4HX7h29GRCj6VwRXtsFE0DgFWFTThG/HWLUIERbw== Received: from sun.behrens ([IPv6:2a01:170:1023:0:1de9:faf6:c6ce:92c2]) by post.frank-behrens.de (8.14.2/8.14.2) with ESMTP-MSA id m4QImNbB039362; Mon, 26 May 2008 20:48:23 +0200 (CEST) (envelope-from frank@pinky.sax.de) Message-Id: <200805261848.m4QImNbB039362@post.frank-behrens.de> From: "Frank Behrens" To: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Date: Mon, 26 May 2008 20:48:23 +0200 MIME-Version: 1.0 Priority: normal In-reply-to: <20080526130006.B65662@maildrop.int.zabbadoz.net> References: <200805261157.m4QBvnpF025029@repoman.freebsd.org> X-mailer: Pegasus Mail for Windows (4.31, DE v4.31 R1) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Hashcash: 1:24:080526:cvs-all@freebsd.org::n79QY0QLskrrsX4T:ucuS X-Hashcash: 1:24:080526:src-committers@freebsd.org::u9w1/B0vPvV1WTUL:00000000NBdj X-Hashcash: 1:24:080526:cvs-src@freebsd.org::cpdvgHfz70McYRSi:yDCS Cc: Subject: Re: cvs commit: src/usr.sbin/jexec jexec.8 jexec.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 May 2008 18:48:48 -0000 Bjoern A. Zeeb 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.