Re: [vserver] util-vserver improvement

From: Herbert Poetzl <>
Date: Tue 07 Feb 2012 - 00:41:30 GMT
Message-ID: <>

On Mon, Feb 06, 2012 at 10:40:58AM +1100, Steve Kieu wrote:
> Hello,

> In my machine whenever I so /etc/init.d/util-vserver start I
> got error:

> mount: special device vserver does not exist

> The actual problem is that the mount command add an option -o
> memory like that

> /bin/mount -t cgroup -o cpuset,cpu,cpuacct,memory vserver /dev/cgroup

> But in my desktop to save some memory I disable memory so it
> failed.

I presume we are talking about util-vserver 0.30.216-pre3004?

> In case I still want to use cpu and cpuacct for example I still
> want cgroup mounted.

> Can function _generateCgroupOptions detect the enabled bit in
> /proc/cgroups and if it is 0 then not adding that to the mount
> command?
> That will fix the problem.

> maybe I will fix it myself and post a patch later if I am not
> too busy today ...

as usual, patches are always welcome ...


> Cheers,

> --
> Steve Kieu
Received on Tue Feb 7 00:41:44 2012

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 07 Feb 2012 - 00:41:44 GMT by hypermail 2.1.8