Details
-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Fix Version/s: Vz7.0-Update7
-
Component/s: Containers::Userspace
-
Security Level: Public
-
Environment:libvzctl-7.0.462-1.vz7.x86_64
libvzctl-devel-7.0.462-1.vz7.x86_64
Description
Hello - looks like vzctl build broken after
https://src.openvz.org/projects/OVZ/repos/libvzctl/commits/61cb7a1b8f74d1993b0b9284fd05c81f5fc80fcd
commit with
VZ_DEPRECATED int vzctl2_set_vzlimits(const char *name);
On make clean && make vzctl now failed with -
wrap.c: In function ‘vzctl_set_vzlimits’:
wrap.c:879:2: error: ‘vzctl2_set_vzlimits’ is deprecated (declared at /usr/include/vzctl/libvzctl.h:1149) [-Werror=deprecated-declarations]
return vzctl2_set_vzlimits(name);
because we still have in vzctl
https://src.openvz.org/projects/OVZ/repos/vzctl/browse/src/wrap.c?at=refs%2Ftags%2Fv7.0.182#877
I tryed to delete this function, but look like it not enougth.
set on --hostname and another some options start write warning like
vcmmd: vcmmd_get_ve_config: Failed to connect to VCMMD service
https://src.openvz.org/projects/OVZ/repos/libvzctl/commits/61cb7a1b8f74d1993b0b9284fd05c81f5fc80fcd
commit with
VZ_DEPRECATED int vzctl2_set_vzlimits(const char *name);
On make clean && make vzctl now failed with -
wrap.c: In function ‘vzctl_set_vzlimits’:
wrap.c:879:2: error: ‘vzctl2_set_vzlimits’ is deprecated (declared at /usr/include/vzctl/libvzctl.h:1149) [-Werror=deprecated-declarations]
return vzctl2_set_vzlimits(name);
because we still have in vzctl
https://src.openvz.org/projects/OVZ/repos/vzctl/browse/src/wrap.c?at=refs%2Ftags%2Fv7.0.182#877
I tryed to delete this function, but look like it not enougth.
set on --hostname and another some options start write warning like
vcmmd: vcmmd_get_ve_config: Failed to connect to VCMMD service