Date: Fri, 09 Mar 2012 22:08:11 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> To: Thomas Steen Rasmussen <thomas@gibfest.dk> Cc: freebsd-jail@freebsd.org Subject: Re: Using jail name in rctl(8) doesn't work - jail id works Message-ID: <4F5A713B.6010008@quip.cz> In-Reply-To: <4F5A6BCE.7060108@gibfest.dk> References: <4F5932FB.4060909@gibfest.dk> <4F5A6BCE.7060108@gibfest.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
Thomas Steen Rasmussen wrote: > On 08-03-2012 23:30, Thomas Steen Rasmussen wrote: >> 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 ? > Hello, > > I submitted the PR which has more information. > jexec(8) is also unable to convert the jail name to jail id on > this sıstem. > My jails are created and started using ezjail, if that matters. > > Link to the PR: > http://www.freebsd.org/cgi/query-pr.cgi?pr=165886 Can you post output of `jls -v` and/or `jls -qn`? Miroslav Lachman
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F5A713B.6010008>