From owner-freebsd-jail@FreeBSD.ORG Sat Mar 26 18:22:17 2011 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90EB71065672 for ; Sat, 26 Mar 2011 18:22:17 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay06.ispgateway.de (smtprelay06.ispgateway.de [80.67.31.96]) by mx1.freebsd.org (Postfix) with ESMTP id 4F0CB8FC0A for ; Sat, 26 Mar 2011 18:22:16 +0000 (UTC) Received: from [78.34.160.23] (helo=r500.local) by smtprelay06.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1Q3Xvq-0007Bo-3A; Sat, 26 Mar 2011 19:09:50 +0100 Date: Sat, 26 Mar 2011 19:09:47 +0100 From: Fabian Keil To: Subbsd Message-ID: <20110326190947.19ff58f9@r500.local> In-Reply-To: References: X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; amd64-portbld-freebsd9.0) X-PGP-KEY-URL: http://www.fabiankeil.de/gpg-keys/freebsd-listen-2008-08-18.asc Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/1nsL.cGymdw7FW2.CsDmFGS"; protocol="application/pgp-signature" X-Df-Sender: 775067 Cc: freebsd-jail@freebsd.org Subject: Re: jexec by jname X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Mar 2011 18:22:17 -0000 --Sig_/1nsL.cGymdw7FW2.CsDmFGS Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Subbsd wrote: > I see wrong information at http://wiki.freebsd.org/Jails > "jexec - selection by jail name, 2008-05-26 commited to 8-CURRENT " >=20 > I do not see something like "jexec -n " in RELENG_8 or > CURRENT. This is fake ;) ? Quoting jexec(8): | DESCRIPTION =20 | The jexec utility executes command inside the jail identified by its = jid | or name. The -n option is still there, but silently ignored. Note, however, that the jail name jexec(8) is talking about is not the same as the host name. By default the jail id is used as jail name: fk@r500 ~ $jls -n name jid name=3D1 jid=3D1 name=3D2 jid=3D2 name=3D3 jid=3D3 So while jexec allows you to use the jail "name", it seems to lack the "accept hostname or ip-number" feature mentioned in the wiki, unless a non default jail name is used. Fabian --Sig_/1nsL.cGymdw7FW2.CsDmFGS Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) iEYEARECAAYFAk2OK+8ACgkQBYqIVf93VJ3BrwCgkdFlDIIMrkUJG0VYqSss8eGA wEgAoIzjxa0TdSyU6HK0dztCMN5ra1CP =hDmm -----END PGP SIGNATURE----- --Sig_/1nsL.cGymdw7FW2.CsDmFGS--