Using jail name in rctl(8) doesn't work - jail id works

Miroslav Lachman 000.fbsd at quip.cz
Fri Mar 9 21:08:22 UTC 2012


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


More information about the freebsd-jail mailing list