Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 437370 - app-emulation/libvirt-0.10.2-r1: CONFIG_CGROUP_MEM_RES_CTLR: is not set when it should be for kernel 3.6.0
Summary: app-emulation/libvirt-0.10.2-r1: CONFIG_CGROUP_MEM_RES_CTLR: is not set when ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
: 439304 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-10-06 07:59 UTC by DaggyStyle
Modified: 2012-10-29 07:16 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description DaggyStyle 2012-10-06 07:59:53 UTC
it seems that the CONFIG_CGROUP_MEM_RES_CTLR was removed or either renamed in kernel 3.6.0 (latter most probably to CONFIG_MEMCG), it would be wise to make sure and modify the ebuild to check for different config keys per version.

see:
 * Messages for package app-emulation/libvirt-0.10.2-r1:

 * Package:    app-emulation/libvirt-0.10.2-r1
 * Repository: gentoo
 * Maintainer: cardoe@gentoo.org virtualization@gentoo.org
 * USE:        amd64 caps consolekit elibc_glibc kernel_linux libvirtd lvm lxc macvtap multilib nfs nls parted policykit python qemu udev userland_GNU vepa
 * FEATURES:   sandbox
 * Package:    app-emulation/libvirt-0.10.2-r1
 * Repository: gentoo
 * Maintainer: cardoe@gentoo.org virtualization@gentoo.org
 * USE:        amd64 caps consolekit elibc_glibc kernel_linux libvirtd lvm lxc macvtap multilib nfs nls parted policykit python qemu udev userland_GNU vepa
 * FEATURES:   sandbox
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/3.6.0-gentoo/build
 * Found sources for kernel version:
 *     3.6.0-gentoo
 * Checking for suitable kernel configuration options...
 *   CONFIG_CGROUP_MEM_RES_CTLR:         is not set when it should be.
 * Please check to make sure these options are set correctly.
 * Failure to do so may cause unexpected problems.
 * Applying various patches (bugfixes/updates) ...
 *   0001-build-default-selinuxfs-mount-point-to-sys-fs-selinu.patch ...
 *   0002-Fix-compilation-of-legacy-xen-driver-with-Xen-4.2.patch ...
 *   0003-network-fix-dnsmasq-radvd-binding-to-IPv6-on-recent-.patch ...
 *   0004-Fix-rare-deadlock-in-QEMU-monitor-callbacks.patch ...
 *   0005-Fix-potential-deadlock-when-agent-is-closed.patch ...
 *   0006-interface-add-udev-based-backend-for-virInterface.patch ...
 * Done with patching
 * Running eautoreconf in '/var/tmp/portage/app-emulation/libvirt-0.10.2-r1/work/libvirt-0.10.2' ...
 * Running autopoint --force ...
 * Running libtoolize --install --copy --force --automake ...
 * Running aclocal -I m4 -I gnulib/m4 ...
 * Running autoconf ...
 * Running autoheader ...
 * Running automake --add-missing --copy ...
 * Running elibtoolize in: libvirt-0.10.2/build-aux/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.2 patch ...
 * Compilation and optimization of Python modules for CPython 2.7 ...
 * 
 * For the basic networking support (bridged and routed networks)
 * you don't need any extra software. For more complex network modes
 * including but not limited to NATed network, you can enable the
 * 'virt-network' USE flag.
 * 
 * libvirt will now start qemu/kvm VMs with non-root privileges.
 * Ensure any resources your VMs use are accessible by qemu:qemu
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.

 * IMPORTANT: config file '/usr/share/config/kdm/kdmrc' needs updating.
 * See the CONFIGURATION FILES section of the emerge
 * man page to learn how to update config files.

Reproducible: Always
Comment 1 Mark Tomich 2012-10-09 13:16:30 UTC
I can confirm this, and you've also got the correct configuration option (CONFIG_MEMCG)
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2012-10-23 15:54:50 UTC
*** Bug 439304 has been marked as a duplicate of this bug. ***
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2012-10-29 07:16:00 UTC
Fixed in CVS.