Date: Sat, 26 Mar 2011 19:09:47 +0100 From: Fabian Keil <freebsd-listen@fabiankeil.de> To: Subbsd <subbsd@gmail.com> Cc: freebsd-jail@freebsd.org Subject: Re: jexec by jname Message-ID: <20110326190947.19ff58f9@r500.local> In-Reply-To: <BANLkTikjvN2JsP2Q7MZmT_s9xXWchUBCSQ@mail.gmail.com> References: <BANLkTikjvN2JsP2Q7MZmT_s9xXWchUBCSQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/1nsL.cGymdw7FW2.CsDmFGS Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Subbsd <subbsd@gmail.com> 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 <name>" 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110326190947.19ff58f9>