Fixed vzgetnetdev() function operations with mawk.In Debian mawk is the default awk version. It doesn't understand some advanced
syntax, such as "[[:space:]]" or "\<,\>". Noticed by Thorsten Schifferdecker.
Wait untill default runlevel reached on VE start--wait option added 'vzctl start VEID --wait' in this case the line
vz:2345:once:sh -c 'if [ -p /.vzfifo ]; then echo done > /.vzfifo; fi'
added to /etc/inittab and vzctl wait on fifo.
The timeout set to 60 min.
Fixed getting VE mount status in case mount point has links in pathuse realpath() libc function to get canonical name.
http://bugzilla.openvz.org/show_bug.cgi?id=279
Fixed annoying arpsend warning on VE startThe problem arises when there are UP devices with no assigned IP. Arpsend can't
form ARP packet without it and thus fails, raises:
arpsend: can't get iface ethX address : Cannot assign requested address
vps-net_add WARNING: arpsend -c 1 -w 1 -D -e *** ethX: FAILED
warning. This is not good as attempt to send ARP from the interface without IP
is useless. So, filter is fixed in order to exclu...
vzcpucheck: print error if VE0 CPU units not set (bug #249)The problem is if VE0 CPU units is not set (e.g. /etc/init.d/vz not started)
the utility prints bogus information that the node is overcommitted.
To fix, we check that VE0 cpuweight is not 1, and print an appropriate error.
Potential problem is VE0 cpuweight can be explicitly set to 1
(for example, by setting VE0CPUUNITS=500000 in /etc/vz/vz.conf) -- but this
is wrong setting anyway. Still, w...
.spec cleanup: remove %_mandir define%_mandir was defined explicitly because in some old version of Red Hat
(like 7.1 -- do not remember exact version now) it was defined incorrectly.
This is not the case now, thus removing the define.
Man page fixes, VPS->VE, added --name description (bug #232).This patch is in addition to 0c4d2abe1f18993fc871e19af62f90651a56ac7e
http://bugzilla.openvz.org/232
Removed distribution-specific stuff from 'make install' (bug #254)The problem is vzctl's make install installs /etc/init.d/vz and
/etc/sysconfig/network-scripts/*venet0.
/etc/init.d/vz is RedHat/SUSE specific and does not make sense on, say, Gentoo.
So this needs to be removed from make install (and added to
make install-redhat).
/etc/sysconfig/network-scripts/*venet0 is RedHat-specific as well. Same
applies.
http://bugzilla.openvz.org/254
Create /dev/vzctl (if not exists) after modules loadedAlso, in the /etc/init.d/vz script you should load modules first, then check
for /dev/vzctl -- since these are modules (and udev) which makes /dev/vzctl
appears.
http://bugzilla.openvz.org/show_bug.cgi?id=204