[Pkg-libvirt-maintainers] Bug#721979: libvirt-bin: At least one cgroup controller is required: No such device or address

Daniel P. Berrange berrange at redhat.com
Thu Sep 12 10:40:25 UTC 2013


Debian libvirt maintainer should cherry-pick this change from upstream
libvirt GIT master.

  commit a48838ad2e36c124229b6faaf6e24284810e3802
  Author: Daniel P. Berrange <berrange at redhat.com>
  Date:   Wed Sep 11 19:15:52 2013 +0100

    Fix launching of VMs on when only logind part of systemd is present
    
    Debian systems may run the 'systemd-logind' daemon, which causes the
    /sys/fs/cgroup/systemd  mount to be setup, but no other cgroup
    controllers are created. While the LXC driver considers cgroups to
    be mandatory, the QEMU driver is supposed to accept them as optional.
    
    We detect whether they are present by looking in /proc/mounts for
    any mounts of type 'cgroups', but this is not sufficient. We need to
    skip any named mounts (as seen by a name=XXX string in the mount
    options), so that we only detect actual resource controllers.
    
    http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=721979
    
    Signed-off-by: Daniel P. Berrange <berrange at redhat.com>

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|



More information about the Pkg-libvirt-maintainers mailing list