Package: util-vserver
Version: 0.30.216-pre3054-1
Severity: normal

Hi,

the upstream util-vserver initscript mounts this:

vserver /dev/cgroup cgroup 
rw,relatime,hugetlb,blkio,freezer,devices,memory,cpuacct,cpu 0 0

The Debian initscript does not.

This causes vserver-stat to print errors:

open(memory.stat): No such file or directory

and to be unable to determine the RSS of each guest.

Additionally, I suspect resource limits aren't applied in the absence of the
/dev/cgroup hierarchy.

A minimal (not necessarily correct) fix would be to source
/usr/lib/util-vserver/vserver-init.functions from the initscript and run the
mount_cgroup() function on start, and umount_cgroup() on stop.

Andras

-- 
              What do you mean? You actually read this tagline?!


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to