On Wed, Jul 15, 2009 at 09:58:52AM +0200, xavier de poorter wrote:
> Le mardi 14 juillet 2009 19:19:06, Daniel Hokka Zakrisson a écrit :
> > xavier de poorter wrote:
> > > <snip>
> > You are using cgroups, so use the cgroup support in util-vserver.
> > E.g.
> > # To make the util-vserver initscript do all the necessary setup.
> > mkdir /etc/vservers/.defaults/cgroup
> > # Reboot, or rerun it.
> > /etc/init.d/util-vserver restart
> > mkdir /etc/vservers/test/cgroup
> > echo 1 > /etc/vservers/test/cgroup/cpuset.cpus
> > echo 0 > /etc/vservers/test/cgroup/cpuset.mems
> i mount none -t cpuset /dev/cpuset and if i lauch a vserver with a
> configured cpuset, it works fine
> thank you
> > my first litle bug report
> the bug was beetwen my chair and my computer ...
> after a vserver started, when i use cpuset, each new process is
> automaticly added to /dev/cpuset/test/tasks
> idem when i use cgroup except when i do "vserver test enter" and lauch
> ia program (same for "vserver test exec a_cmd") f i enter in the
> ivserver with ssh root@test and i run something : all is ok
> is it normal ?
for the outdated and known broken debian util-vserver
version probably yes, verify this with a recent version
and if the issue remains, please file a bug report to
sidenote: the 'enter' is not the best way to logon to
a guest anyways, it is more a backdoor, but it should
get as close as possible to a real logon, except for
environment and shell specifica
> best regards,
> xavier de poorter
Received on Wed Jul 15 11:47:08 2009