[Users] Re: Capabilities

Benny Amorsen benny+usenet at amorsen.dk
Wed Mar 14 06:02:11 EDT 2007


>>>>> "KK" == Kirill Korotaev <dev at sw.ru> writes:

KK> No, it looks like you used non-OVZ config and disabled OVZ options
KK> like CONFIG_FAIRSCHED and CONFIG_SCHED_VCPU. So compilation
KK> failed. So this one is not related to zebra/capabilities.

$ egrep '(CONFIG_FAIRSCHED|CONFIG_SCHED_VCPU)' kernel-2.6.18-x86_64-smp.config.ovz.ba 
CONFIG_SCHED_VCPU=y
CONFIG_FAIRSCHED=y

$ diff -u SOURCES/kernel-2.6.18-x86_64-smp.config.ovz SOURCES/kernel-2.6.18-x86_64-smp.config.ovz.ba
--- SOURCES/kernel-2.6.18-x86_64-smp.config.ovz 2007-02-27 13:27:56.000000000 +0100
+++ SOURCES/kernel-2.6.18-x86_64-smp.config.ovz.ba     2007-03-14 10:19:24.000000000 +0100
@@ -1631,7 +1631,12 @@
 # Security options
 #
 # CONFIG_KEYS is not set
-# CONFIG_SECURITY is not set
+CONFIG_SECURITY=y
+CONFIG_SECURITY_NETWORK=y
+# CONFIG_SECURITY_NETWORK_XFRM is not set
+CONFIG_SECURITY_CAPABILITIES=y
+# CONFIG_SECURITY_ROOTPLUG is not set
+# CONFIG_SECURITY_SECLVL is not set
 
 #
 # Cryptographic options


Here kernel-2.6.18-x86_64-smp.config.ovz is the file provided in the
OpenVZ source RPM, and kernel-2.6.18-x86_64-smp.config.ovz.ba is my
modified file. Compilation works fine with
kernel-2.6.18-x86_64-smp.config.ovz, but if I change the SPEC file to
use kernel-2.6.18-x86_64-smp.config.ovz.ba, compilation fails.




/Benny




More information about the Users mailing list