Using jail name in rctl(8) doesn't work - jail id works
Thomas Steen Rasmussen
thomas at gibfest.dk
Fri Mar 9 20:45:06 UTC 2012
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
Thanks,
Thomas Steen Rasmussen
More information about the freebsd-jail
mailing list