realtime-lsm fails to compile with kernel-2.6.24-gentoo due to fact that CONFIG_SECURITY_CAPABILITES cannot be configured as a module. Reproducible: Always Steps to Reproduce: 1.While running kernel-2.6.24-gentoo, emerge sys-apps/realtime-lsm. 2. 3. Actual Results: >>> Emerging (1 of 1) sys-apps/realtime-lsm-0.8.5-r2 to / * realtime-lsm-0.8.5.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking realtime-lsm-0.8.5.tar.gz ;-) ... [ ok ] * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/2.6.24-gentoo/build * Found sources for kernel version: * 2.6.24-gentoo >>> Unpacking source... * * realtime-lsm requires that 'Default Linux Capabilities' be compiled as a module. * In your .config: CONFIG_SECURITY_CAPABILITIES=m * Through 'make menuconfig': Security options-> <M> Default Linux Capabilties * * * ERROR: sys-apps/realtime-lsm-0.8.5-r2 failed. * Call stack: * ebuild.sh, line 46: Called src_unpack * environment, line 3225: Called die * The specific snippet of code: * diefunc "$FUNCNAME" "$LINENO" "$?" "Default Linux capabilities (security) not detected."; * The die message: * Default Linux capabilities (security) not detected. * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/sys-apps/realtime-lsm-0.8.5-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/realtime-lsm-0.8.5-r2/temp/environment'. * Expected Results: Realtime-lsm should detect presence of Default Linux Capabilities as part of the kernel, and complete installation successfully Should have detected Default Linux Capabilities as part of the kernel, and completed installation.
*** This bug has been marked as a duplicate of bug 207561 ***