[Pkg-libvirt-maintainers] Bug#610738: Bug#610738: libvirt-bin: libvirtd should start after cgroups are mounted

Guido Günther agx at sigxcpu.org
Sat Jan 22 12:59:02 UTC 2011


tag 610738 +pending
thanks

On Fri, Jan 21, 2011 at 11:38:38PM +0100, SZÉKELYI Szabolcs wrote:
> Package: libvirt-bin
> Version: 0.8.3-5
> Severity: normal
> 
> There's a race condition between cgconfig and libvirt-bin init
> scripts. This can cause errors like 'Unable to create cgroup for <vm>:
> No such file or directory' when a VM is migrated to this host from
> another one. After a manual restart of libvirtd, everything works
> fine.
> 
> This should be just a matter of a
> 
> # Required-Start: cgconfig

We should add a dependency to force correct ordering but note that this
should rather be a Should-Start and also a Should-Stop. Just mounting
/sys/fs/cgroup is enough to use libvirt with cgroups and libvirt does
work well without them. 
Cheers,
 -- Guido






More information about the Pkg-libvirt-maintainers mailing list