[Libcg-devel] [libvirt]: Not able to login to container when cgroup is enabled

Ryota Ozaki ozaki.ryota at gmail.com
Tue Oct 13 21:07:26 UTC 2009


Hi Rishikesh,

On Tue, Oct 13, 2009 at 3:09 PM, Rishikesh <risrajak at linux.vnet.ibm.com> wrote:
> Rishikesh wrote:

> Cgroup config file & controllers mount shows like this :
> [root at mhs21a ~]# cat /proc/mounts | grep cgroup
> cgroup /cgroups/cpu cgroup rw,relatime,cpu 0 0
> cgroup /cgroups/cpuacct cgroup rw,relatime,cpuacct 0 0
> cgroup /cgroups/memory cgroup rw,relatime,memory 0 0

AFAIW, libvirt requires "device" subsystem of cgroups as well.
Without it, an assistant subprocess of libvirtd will die soon.

>> virsh # start vm1
>> error: Failed to start domain vm1
>> error: Failed to read pid file /var/run/libvirt/lxc/vm1.pid: No such file
>> or directory

This error looks that happens to me.

  ozaki-r




More information about the libvir-list mailing list