Fixed gentoo initscript dependencies.I had problems using OpenVZ on my Gentoo notebook. Each time I (or ifplugd)
stop or restart networking, OpenVZ stops. I think it is not what we want.
The problem is initscript contains "need net". In fact OpenVZ should
work fine without networking.
While looking at the bug, I found another one -- OpenVZ modules should be
loaded after iptables, not before! Perhaps this bug was invisible since
...
Fixed --wait for distributions with /etc/initscriptsIf script /etc/initscrips exists actiona execution are changed and it is
impossible to use syntax like sh -c '...'.
Changed to one commad 'touch /.vzfifo'
vzmigrate: fix stdout and stderr redirection On some distros we have following problem with redirections of fds when we are using ssh:bash: /dev/stdout: No such device or address
The solution is simple - redirect stdout and stderr to /dev/null if we do not
want verbose mode, and do no redirection at all if we want verbose mode.
http://bugzilla.openvz.org/show_bug.cgi?id=343
Fix soname for libvzctl.The libvzctl.so.0.0.2 in /usr/lib/vzctl is missing a SO-name. On Gentoo,
portage is enforcing packages to only install so's with a SO-name being
present.
http://bugzilla.openvz.org/306
Really fixed install-gentoo Makefile targetWe do not need $(DESTDIR) in link destination, otherwise we might end up
linking to temporary installroot location not the final location.
Fixed install-gentoo Makefile targetWe need to symlink global config file to /etc/conf.d/ not /conf.d/.
Also, we need to create this directory first since when installing with
DESTDIR set this directory does not exist.
Thanks to Cristian Heim <phreak@gentoo.org> for bug and fix.
Bash completion script fixes.- fixed debian work
- enhanced create case
- for enter we should get list of running VEs
- added friendly names support
- fixed --ostemplate case in order to show not full paths
- fixed --applyconfig case
- etc.
Added ipv6 supportLimitations:
* 2.6.16 kernel
* only Redhat like distribution suported
To enable ipv6 set:
* IPV6=yes in /etc/vz/vz.conf
* echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
Changed environment on VE enter.When enter a VE the $HOME variable is set to /, but if I start a program, which
set it's personal config files to $HOME, the ROOTDIR of VE is filled with
config-settings.
http://bugzilla.openvz.org/show_bug.cgi?id=296
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