From owner-freebsd-jail@FreeBSD.ORG Thu Mar 8 22:30:22 2012 Return-Path: Delivered-To: freebsd-jail@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3A9ED106564A for ; Thu, 8 Mar 2012 22:30:22 +0000 (UTC) (envelope-from thomas@gibfest.dk) Received: from mail.tyknet.dk (mail.tyknet.dk [IPv6:2a01:4f8:141:52a3:186::]) by mx1.freebsd.org (Postfix) with ESMTP id C73058FC1B for ; Thu, 8 Mar 2012 22:30:21 +0000 (UTC) Received: from [10.10.2.120] (unknown [217.71.4.82]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.tyknet.dk (Postfix) with ESMTPSA id C14CA8E962 for ; Thu, 8 Mar 2012 23:30:20 +0100 (CET) X-DKIM: OpenDKIM Filter v2.4.1 mail.tyknet.dk C14CA8E962 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=gibfest.dk; s=default; t=1331245820; bh=HEClnOWxXOUVVyp7/m50CDJGX9OMz+xw9BYxk6ynK/Q=; h=Message-ID:Date:From:MIME-Version:To:Subject:Content-Type: Content-Transfer-Encoding; b=fOnBF8n/tFidguKLrt1DD+Z39XPFydhr8G4HwRpvqOSQKCUCruilGGDxRnvK1cy+Z 3txwT679jSLtRvQeKd6AZOCO/LeuDFPjZMGkCdWULCzyqDdqjOY5qSUkxrd9bryxyT DJmQU/77qouV8zdJ2fEnwleE77aU39uUPwZYBQco= Message-ID: <4F5932FB.4060909@gibfest.dk> Date: Thu, 08 Mar 2012 23:30:19 +0100 From: Thomas Steen Rasmussen User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: freebsd-jail@FreeBSD.org X-Enigmail-Version: 1.3.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Using jail name in rctl(8) doesn't work - jail id works 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: Thu, 08 Mar 2012 22:30:22 -0000 Hello, When I specify an rctl(8) rule for a jail using the jail name it doesn't work. Displaying resource usage doesn't work either, when using the jail name, like "rctl -hu jail:myjail" On the other hand, if I run "rctl -hu jail:3" where 3 is the jail id, it works as expected. The manpage examples use the jail name so it should work. Any idea why it doesn't ? I am using 9.0-REL on this system. Should I submit a PR with relevant examples ? Thanks! /Thomas Steen Rasmussen