| Summary: | Не работает при включенной опции CREATE_DEFAULT=yes | ||
|---|---|---|---|
| Product: | Sisyphus | Reporter: | Slava Dubrovskiy <dubrsl> |
| Component: | cgroup | Assignee: | Alexey Shabalin <shaba> |
| Status: | NEW --- | QA Contact: | qa-sisyphus |
| Severity: | normal | ||
| Priority: | P3 | CC: | shaba |
| Version: | unstable | ||
| Hardware: | all | ||
| OS: | Linux | ||
похоже вообще не работает. И без опции CREATE_DEFAULT=yes ничего не монтирует. Как написано в NEWS из http://ftp.de.debian.org/debian/pool/main/libc/libcgroup/libcgroup_0.38-1.debian.tar.gz libcgroup (0.38-1) unstable; urgency=low This version sees the removal of both initscripts cgconfig and cgred from the cgroup-bin package. This means that cgroups will not be mounted by default and no classification will occur during boot. There are numerous issues surrounding the boot-time classification including race conditions and collisions with lxc and libvirt. |
При попытке запустить сервис при включенной опции CREATE_DEFAULT=yes в /etc/sysconfig/cgconfig получаю вот такой результат: # /etc/init.d/cgconfig start Checking cgconfig configuration: [ DONE ] cgget: libcgroup initialization failed: Cgroup is not mounted cgset: wrong parameter of option -r: cpuset.cpus cgget: libcgroup initialization failed: Cgroup is not mounted cgset: wrong parameter of option -r: cpuset.mems Ядро 2.6.32-ovz-el-alt87 Сервис vz не включался при загрузке. Вообще не понятно как оно работает. Попытка запустить с минимальным конфигом [root@dubrwork slava]# cat /etc/cgconfig.conf mount { cpuset = /sys/fs/cgroup/cpuset; cpu = /sys/fs/cgroup/cpu; } Приводит к # /etc/init.d/cgconfig start Checking cgconfig configuration: cgconfigparser; error loading /etc/cgconfig.conf: Cgroup mounting failed