[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ezjail] cpuset weirdness



Moritz Wilhelmy wrote:
> 
> --- /usr/local/bin/ezjail-admin.orig	2011-07-21 08:12:04.000000000 +0000
> +++ /usr/local/bin/ezjail-admin	2012-06-16 19:42:36.000000000 +0000
> @@ -1256,7 +1256,7 @@
>    [ "${ezjail_new_fib}" ] && ezjail_fib="${ezjail_new_fib}"
>    if [ "${ezjail_new_cpuset}" ]; then
>      # Configure the new cpuset if the jail is currently running
> -    [ "${ezjail_id}" ] && /usr/bin/cpuset -l ${ezjail_new_cpuset} -j ${ezjail_id} || exerr "Error: The defined cpuset is malformed."
> +    [ "${ezjail_id}" ] && /usr/bin/cpuset -l ${ezjail_new_cpuset} -j ${ezjail_id} || exerr "Error: The defined cpuset for jail ${jail_name} is malformed."
>      ezjail_cpuset="${ezjail_new_cpuset}"
>    fi

Please try your patch with ${ezjail} instead of ${jail_name}. This
should give you the name of the jail with the problem.

greetings,
Philipp