From owner-freebsd-current@FreeBSD.ORG Fri Jan 27 17:37:57 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A09F1065674 for ; Fri, 27 Jan 2012 17:37:57 +0000 (UTC) (envelope-from pgollucci@gmail.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id CFE468FC13 for ; Fri, 27 Jan 2012 17:37:55 +0000 (UTC) Received: by qcse14 with SMTP id e14so1457300qcs.13 for ; Fri, 27 Jan 2012 09:37:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:organization:user-agent:mime-version:to:cc :subject:x-enigmail-version:content-type; bh=fM0Gi6e8/8uETpnQoH90wskYt9I4z9NWF6JjdY9jhqg=; b=FLgnHSDS1ekY1yEI54Rx7aQB2hYbu/hO1uQcd/NM85fMNXOoG+CHwTSI0dRO0gnVJz pxtGBpvZ/OO/YxMpLL30L//Mo4QG/ayrV5g5spM1N8bWCLCBdRK6yLyEcTavm/9/Kudr L/B++u+8bRbwyYWOD9xCeyYnF7TJwaWuBeaEc= Received: by 10.229.77.66 with SMTP id f2mr2142326qck.4.1327684097681; Fri, 27 Jan 2012 09:08:17 -0800 (PST) Received: from philip.hq.rws (wsip-174-79-184-239.dc.dc.cox.net. [174.79.184.239]) by mx.google.com with ESMTPS id m20sm16114597qaj.14.2012.01.27.09.08.15 (version=SSLv3 cipher=OTHER); Fri, 27 Jan 2012 09:08:16 -0800 (PST) Message-ID: <4F22D9FD.10502@p6m7g8.com> Date: Fri, 27 Jan 2012 17:08:13 +0000 From: "Philip M. Gollucci" Organization: P6M7G8 Inc. User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111029 Thunderbird/7.0.1 MIME-Version: 1.0 To: current@FreeBSD.org X-Enigmail-Version: undefined Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig00404A200D5298C770AC6528" X-Mailman-Approved-At: Fri, 27 Jan 2012 17:48:33 +0000 Cc: Daniel Shafaf , Scott Sanders Subject: jid and jname are numberic by default why? Can we change it ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jan 2012 17:37:57 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig00404A200D5298C770AC6528 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable All, $ jls -nq | tail -1 | xargs -n1 | egrep '^(name|jid)=3D'| xargs jid=3D17 name=3D17 $ jls JID IP Address Hostname Path 3 192.168.2.38 sid.dca1.rws /sid 17 192.168.2.41 jubilee.dca1.rws /jubilee # jubilee/chef jail_jubilee_hostname=3D"jubilee.dca1.rws" jail_jubilee_ip=3D"192.168.2.41" jail_jubilee_ip_multi0=3D"192.168.2.42" jail_jubilee_interface=3D"bge1" jail_jubilee_rootdir=3D"/jubilee" jail_jubilee_devfs_enable=3D"YES" =46rom jexec(8): DESCRIPTION The jexec utility executes command inside the jail identified by its jid or name. This works, but kind of defeats the point -- $ sudo jexec `jls |grep sid |awk '{print $1}'` /bin/bash --=20 ------------------------------------------------------------------------ 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Philip M. Gollucci (pgollucci@p6m7g8.com) c: 703.336.9354 Member, Apache Software Foundation Committer, FreeBSD Foundation Consultant, P6M7G8 Inc. Director Operations, Ridecharge Inc. Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. --------------enig00404A200D5298C770AC6528 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFPItn/dbiP+9ubjBwRAn3xAJ9EsaWaIo98D07cwFTqaJrfpFXFmwCeKaZL j8m+ZXMchnz31KttOVr/8zc= =pTqu -----END PGP SIGNATURE----- --------------enig00404A200D5298C770AC6528--