[Pkg-libvirt-maintainers] Bug#732666: Bug#732666: libvirt-bin: special device cgroup_memory does not exist

Guido Günther agx at sigxcpu.org
Fri Dec 20 07:07:51 UTC 2013


On Thu, Dec 19, 2013 at 11:40:22PM -0500, Mike Miller wrote:
> Package: libvirt-bin
> Version: 1.1.4-2
> Severity: normal
> 
> Dear Maintainer,
> 
> I am unable to start the libvirt-bin init script with the mount_cgroups option
> set. The "memory" mountpoint fails to mount with the following error
> 
> mount: special device cgroup_memory does not exist
> 
> and the init script fails. If I add the following line to /etc/default/libvirt-
> bin
> 
> MOUNTS="cpuset cpu cpuacct devices freezer net_cls blkio perf_event"
> 
> then the script succeeds and the daemon runs and is able to start kvm instances
> again.

You need 

    cgroup_enable=memory

on the kernel command line to enable the memory cgroup. Could you check
if this fixes your problem as well? If so we should add some run time
detection.
Cheers,
 -- Guido

> 
> 
> 
> -- System Information:
> Debian Release: jessie/sid
>   APT prefers testing
>   APT policy: (500, 'testing'), (1, 'experimental'), (1, 'unstable')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
> 
> Kernel: Linux 3.11-2-amd64 (SMP w/4 CPU cores)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> 
> Versions of packages libvirt-bin depends on:
> ii  adduser              3.113+nmu3
> ii  gettext-base         0.18.3.1-2
> ii  init-system-helpers  1.13
> ii  libaudit1            1:2.3.2-2
> ii  libavahi-client3     0.6.31-2
> ii  libavahi-common3     0.6.31-2
> ii  libblkid1            2.20.1-5.5
> ii  libc6                2.17-97
> ii  libcap-ng0           0.7.3-1+b1
> ii  libdbus-1-3          1.6.18-2
> ii  libdevmapper1.02.1   2:1.02.77-6+b1
> ii  libfuse2             2.9.2-4
> ii  libgcrypt11          1.5.3-2
> ii  libgnutls26          2.12.23-8
> ii  libnetcf1            1:0.2.3-4
> ii  libnl-3-200          3.2.21-1
> ii  libnl-route-3-200    3.2.21-1
> ii  libnuma1             2.0.9~rc5-1
> ii  libparted0debian1    2.3-16
> ii  libpcap0.8           1.5.2-1
> ii  libpciaccess0        0.13.2-1
> ii  librados2            0.48-2
> ii  librbd1              0.48-2
> ii  libreadline6         6.2+dfsg-0.1
> ii  libsasl2-2           2.1.25.dfsg1-17
> ii  libssh2-1            1.4.3-2
> ii  libudev1             204-5
> ii  libvirt0             1.1.4-2
> ii  libxen-4.3           4.3.0-3+b1
> ii  libxenstore3.0       4.3.0-3+b1
> ii  libxml2              2.9.1+dfsg1-3
> ii  libyajl2             2.0.4-4
> ii  logrotate            3.8.6-1
> 
> Versions of packages libvirt-bin recommends:
> ii  bridge-utils    1.5-7
> ii  dmidecode       2.12-2
> ii  dnsmasq-base    2.68-1
> ii  ebtables        2.0.10.4-3
> ii  iproute         1:3.12.0-1
> ii  iptables        1.4.20-2
> ii  libxml2-utils   2.9.1+dfsg1-3
> ii  netcat-openbsd  1.105-7
> ii  parted          2.3-16
> ii  pm-utils        1.4.1-13
> ii  qemu            1.7.0+dfsg-2
> ii  qemu-kvm        1.7.0+dfsg-2
> 
> Versions of packages libvirt-bin suggests:
> pn  auditd       <none>
> ii  policykit-1  0.105-4
> pn  radvd        <none>
> pn  systemtap    <none>
> 
> -- Configuration Files:
> /etc/default/libvirt-bin changed [not included]
> /etc/libvirt/qemu.conf [Errno 13] Permission denied: u'/etc/libvirt/qemu.conf'
> 
> -- no debconf information
> 
> _______________________________________________
> Pkg-libvirt-maintainers mailing list
> Pkg-libvirt-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-libvirt-maintainers
> 



More information about the Pkg-libvirt-maintainers mailing list