[Bug] OpenVZ - VZctl Version 3.0.25-1

Status
Not open for further replies.

XSLTel

Banned
Banned
876
2010
225
0
A bug has been found that causes a segfault in vzctl. This bug will cause several functions in SolusVM not to work, the main one being allocation of restricted memory for a vps (allowing full host memory for a vps). The bug is not in SolusVM, but the standard OpenVZ tools. Use the instructions below to downgrade vzctl if you have version 3.0.25-1 installed.


Check the version of vzctl you have installed:



Code:
rpm -qa | grep vzctl
Remove version 3.0.25-1:

Code:
yum remove vzctl vzctl-lib
Download and install version 3.0.24-1:
For a 64bit host:

Code:
cd /usr/src
wget http://download.openvz.org/utils/vzctl/3.0.24/vzctl-3.0.24-1.x86_64.rpm
wget http://download.openvz.org/utils/vzctl/3.0.24/vzctl-lib-3.0.24-1.x86_64.rpm
rpm -ihv vzctl-3.0.24-1.x86_64.rpm vzctl-lib-3.0.24-1.x86_64.rpm
For a 32bit host:

Code:
cd /usr/src
wget http://download.openvz.org/utils/vzctl/3.0.24/vzctl-3.0.24-1.i386.rpm
wget http://download.openvz.org/utils/vzctl/3.0.24/vzctl-lib-3.0.24-1.i386.rpm
rpm -ihv vzctl-3.0.24-1i386.rpm vzctl-lib-3.0.24-1.i386.rpm
If you have the memory issue with any vps you will need to reboot the vps to set the correct memory.

------------

Also if you don't want vzctl to be upgraded automatically with the yum update command
do the following :
edit /etc/yum.conf
Code:
vi /etc/yum.conf

add the following line in [main] section:
Code:
exclude=vzctl*

do this temporarily until a new fixed vzctl will be released


Best Regards
 
Status
Not open for further replies.
Back
Top