Red Hat Bugzilla – Bug 186376
util-vserver 0.30.210 doesn't 'export' function vc_new_s_context
Last modified: 2007-11-30 17:11:28 EST
Description of problem:
util-vserver 0.30.210 doesn't 'export' vc_new_s_context:
[oliver@zywiec ~]$ strings
/usr/src/redhat/SOURCES/util-vserver-0.30.209/lib/.libs/libvserver.so|grep -i new
[oliver@zywiec ~]$ strings /usr/lib/libvserver.so|grep -i new
Version-Release number of selected component (if applicable): 0.30.210
0.30.209 doesn't seem to have this problem...
How reproducible: Always, compile 0.30.210.
Steps to Reproduce:
1. as above
Should export this function.
vc_new_s_context() is part of the legacy/compat API which is disabled since
0.30.210 by default. It will be missing in the kernel too when
CONFIG_VSERVER_LEGACY is not enabled. Because util-vserver is not in Fedora
Extras before FE5 (which requires at least kernel 2.6.15), I do not see much
sense in activating options which are for use for older 2.4 kernels only.
You should use vc_ctx_create() + vc_ctx_migrate() in your applications.
Fine, fine. I was just wondering, because >openvps< uses vc_new_s_context and
I'm currently playing around with it...