Commits
Author | Commit | Message | Commit date | Issues | |
---|---|---|---|---|---|
Kir Kolyshkin | dea5a146b9f | Released vzctl-3.0.18 | |||
Andy Shevchenko | b5fa3cdc550 | vzctl.spec: fixed according to Fedora Packaging Guidelines- use dist tag - added URL tag - use full url for source - changed BuildRoot tag | |||
Kir Kolyshkin | 0b6fec331f2 | init.d/vz-redhat: fix kernel options checkingThe problem is in OpenVZ kernels <= 2.6.9 there is no CONFIG_VZ_DEV, so we must check for it conditionally, depending on the kernel version. | |||
Kir Kolyshkin | 30741c8ab47 | Fix vzmigrate in case VZ disk quota is offIf disk quota is disabled, vzmigrate fails. This patch fixes it by skipping some operations if DISK_QUOTA is set to 'no'. http://bugzilla.openvz.org/512 | |||
Kirill Korotaev | 49c377dcb0b | Fix for SIGSEGV on VE startBug in quota_ctl() functions which tries to fill in 6 values in array with 5 entries in case of cmd == QUOTA_STAT2. http://bugzilla.openvz.org/show_bug.cgi?id=635 | |||
Kir Kolyshkin | 1e93488c3a8 | Released vzctl-3.0.17 | |||
Alexander Y. Fomichev | 695ebe56ca5 | gentoo-add_ip.sh: fix scan for IP addresses existing in /etc/conf.d/net/etc/vz/dists/scripts/gentoo-add_ip.sh of vzctl v3.0.16 has a stupid but rather nasty bug. short description: when a function add_ip() looking for the ip(s) to be assigned to vps it use a simple grep for each of the ip(s) in conf.d/net. btw gentoo conf.d/net is some more tricky then just an ip storage, so any presence of ip in this file will breaks a logic thus an ip will not be added to conf.d... | |||
Kir Kolyshkin | 16b1fd42678 | arpsend: proper fix for VLAN interfacesip command lists VLAN interfaces in form of ethX.Y@ethX, but arpsend (and other utilities) expects only ethX.Y so remove the part of VLAN interface name starting from @. The previous fix (commit 4db38b551a44019a4fced9abf23bd6e1531cef60) was wrong -- we do not need to exclude VLAN interfaces, we need to process those properly. http://bugzilla.openvz.org/show_bug.cgi?id=617 | |||
Thorsten Schifferdecker | 96cb4eba715 | init.d/vz: fix case element "update-cron"After commit 562760ae38fc88c21753613cd58b80775494555e, Add missing braceright ")" | |||
Kir Kolyshkin | c02f5e63073 | INSTALL: added instructions of how to install from source | |||
Kir Kolyshkin | 4db38b551a4 | arpsend: exclude VLAN interfacesremove vlan interfaces like eth0.5@eth0 from the list of interfaces to use arpsend on. http://bugzilla.openvz.org/show_bug.cgi?id=617 | |||
Kir Kolyshkin | 300742f4e1e | make install: add a hook with a hint to run distro-specific installmake install now tells the user to run dist-specific install (like make install-redhat). | |||
Kir Kolyshkin | e241851ec22 | vzlist.c: fix compiler warning and a minor errorAdded needed include to get rid of the following warning: vzlist.c: In function ‘invert_ip’: vzlist.c:1084: warning: implicit declaration of function ‘inet_ntop’ Amazingly after a fix a new warning appears: vzlist.c: In function ‘invert_ip’: vzlist.c:1085: warning: comparison between pointer and integer That reveals that the check for inet_ntop error return is wrong. Fix this as well. | |||
Kir Kolyshkin | 2e95e2856ca | configure: change default for sysconfdir to /etcOtherwise some important stuff (initscript, files for logrotate, cron, udev) will be installed to some nonsense place like /usr/local/etc/ etc.). We do not want to ask user to supply --sysconfdir=/etc on every ./configure invocation thus this (somewhat controversial) patch. If you have better idea, please tell us :) | |||
Kir Kolyshkin | f770a046262 | Revert "Workaround: Export VEID from /proc/vz/veth in VZNETCFG script."This reverts commit e2db06ad9508eece3b455c0791a4753b9627adc1, since the bug is really fixed in f7b35d8f2ac9680d6da794a72e71c51496c15a2b. | |||
Kir Kolyshkin | 39d8315d2ddM | Merge git://git.systs.org/vzctl | |||
Thorsten Schifferdecker | 894b7873112 | Convert IPv6 addresses on parse stage to short output.See http://bugzilla.openvz.org/show_bug.cgi?id=590 | |||
Thorsten Schifferdecker | 7b139a9e87b | Added IPv6 support to debian dists scripts : diff-enable_ipv6_in_debian-add-ip-20070430.patch diff-enable_ipv6_in_debian-del-ip-20070430.patch | |||
Igor Sukhih | f4940179649 | Convert ipv6 address to short form. IPv6 with aaaa:bbbb:cccc:dddd:0:0:0:xxxx is same as aaaa:bbbb:cccc:dddd::xxxx but the ip(route) command return only the short one, so all grep check fails. Also use short form in vzlist.http://bugzilla.openvz.org/show_bug.cgi?id=590 | |||
Igor Sukhih | f7b35d8f2ac | Fixed VEID truncation passed to the vznetcfghttp://bugzilla.openvz.org/show_bug.cgi?id=610 | |||
Thorsten Schifferdecker | d85ba315d53 | Makefiles: add install-debian target | |||
Thorsten Schifferdecker | cf65fd4c5f1 | Minor typo change of vzctl.c: Add < > to usage of vzctl set veid. | |||
Thorsten Schifferdecker | e2db06ad950 | Workaround: Export VEID from /proc/vz/veth in VZNETCFG script.See http://bugzilla.openvz.org/610 | |||
Thorsten Schifferdecker | 9a4b6699713 | On stopping OpenVZ (SUB)System these linux-kernel-modules should are removed: vzmon, vzdquota, vzdev, added to remove list in function stop() | |||
Thorsten Schifferdecker | f38809204ad | Modify init.d vz script to a more generic style,so redhat and debian related distribution can use it without modifications. | |||
Thorsten Schifferdecker | 4c7d5d5d7f8 | vzcpucheck: update headerupdate header of vzcpucheck -v old: vpsid, units to new: VEID, CPUUNITS http://bugzilla.openvz.org/show_bug.cgi?id=591 | |||
Kir Kolyshkin | 540f4c7ef48 | etc/init.d/vz-gentoo: use long form of ip command argumentsSame as in e838774ed20cb928d1e5087c1a528896097642f1 | |||
Thorsten Schifferdecker | e838774ed20 | etc/init.d/vz-redhat: replace short ip cmd args with full onessome "ip"-cmd are use in full other only short form, like: ip addr list <-> ip a l Use long commands everywhere. http://bugzilla.openvz.org/593 | |||
Thorsten Schifferdecker | 9f0eaa7a8a9 | vps-functions: cosmetic cleanups* brackets are missing after vzaddrouting4/6 function names * proper indentation in vzdelrouting() http://bugzilla.openvz.org/show_bug.cgi?id=596 | |||
Thorsten Schifferdecker | e7b8fa1050b | fix bashism conditionals in vps-net_addbashism conditionals, like if [ "txt" == "txt" ]; do should be changed to : if [ "txt" = "txt" ]; do http://bugzilla.openvz.org/594 | |||
Thorsten Schifferdecker | e42fb6f29a2 | fix bashism in vpsnetcleanFix "for ... do" bashism in vpsnetclean. Add 'exit 0'. | |||
Thorsten Schifferdecker | c2e68c12149 | Remove extra space in logging vpsnetclea/vpsreboot messages/var/log/vzctl.log : [...] <date> vzctl : VE <VEID> : VE start in progress... <date> vereboot : VE <VEID> : reboot [...] http://bugzilla.openvz.org/597 | |||
Thorsten Schifferdecker | 82c03c66054 | [IPv6] add ip6tables kernel modules in VE0, if IPV6 is enabledIf IPV6 is set to "yes", load a minimal set of ip6tables modules on VE0, so a VE can use cmd ip6tables. http://bugzilla.openvz.org/598 | |||
Kir Kolyshkin | 00a5a95c02c | etc/init.d/vz-redhat: add processing of multiple cron filesIdea and the first patch from Thorsten Schifferdecker <curx@openvz.org>: > enable crontabs related to OpenVZ, like checking /proc/user_beancouters or > /proc/bc/*/ or backuping VE's. > Files /etc/vz/cron/vz* build a general vz-crontab genvz, installed to > /etc/cron.d/vz. > > i.e: checks /proc/user_beancouters with monbean.pl > > - add a crontab file to /etc/vz/cron/vzmonbean, with: > > # enabl... | |||
Kir Kolyshkin | 562760ae38f | etc/init.d/vz-redhat: add update-cronOriginally from Thorsten Schifferdecker <curx@openvz.org>: > Since vz-init-script handles the cron script, it's impossilbe reload > crontabs without restart in the whole vz system, so with > /etc/init.d/vz update-cron this can be done. Patch reworked to do more general thing, i.e. either install or remove of cron entries, depending on whether openvz is running or not. Silent is_running() func... | |||
Kir Kolyshkin | 3d3f5d92189 | etc/init.d/vz-redhat: introduce and use print_result function | |||
Kir Kolyshkin | 47d8333b36c | etc/init.d/vz-redhat: introduce and use is_running() | |||
Kir Kolyshkin | c9efe10c365 | etc/init.d/vz-redhat: whitespace cleanupRemoved extra/wrong whitespace | |||
Thorsten Schifferdecker | 50ea66e963e | etc/init.d/vz-redhat: remove bashisms: for (( ... )) and let var++remove bashism : "for ((i = 0; i <= 2; i++)); do" -> "for i in `seq 0 2`; do" "let var++" -> "var=$(($var+1))" [kir@openvz.org: change `seq 0 2` to just 0 1 2; seq is GNU coreutils specific] | |||
Igor Sukhih | 4766d1f711a | Fixed 'stop VEID --fast' action.On newer kernel VEs init ignore SIGKILL, to kill init syscall reboot used. | |||
Kir Kolyshkin | 9f7d6e46dd2 | Remove vzsplit dependency on linux/magic.hInstead we define the magic in-place | |||
Kir Kolyshkin | 703a69cb68f | configure: check for either ppc64 or powerpc64Christian Kaiser reports that on his PPC box build_cpu is set to 'powerpc64'. On the machine I used it was ppc64. So we should check for both. See http://forum.openvz.org/index.php?t=tree&goto=13241&#msg_13241 | |||
Kir Kolyshkin | 9b490d48da3 | vzcfgvalidate: check/fix dcachesize before kmemsizeThe sane value of kmemsize parameter depends on dcachesize, so new value for dcachesize should be calculated before kmemsize to avoid a need to run vzcfgvalidate twice. http://bugzilla.openvz.org/518 | |||
Kir Kolyshkin | 45b1ea612ba | vzcfgvalidate: fix error message textbarrier should be equal *to* limit | |||
Thorsten Schifferdecker | 9ac01c321f1 | vzctl: delete IPv6 route from host system after VE stopBefore this patch, the following problem occured: VE assigned IP(v6) fc00::1, after stopping it, the VE IP(v6) route exist fc00::1 dev venet0 metric 1024 expires 21333737sec mtu 1500 advmss 1440 hoplimit 4294967295 http://bugzilla.openvz.org/587 | |||
Vitaliy Gusev | 38d21f32a71 | vzctl: fixed IPv6 addresses down on --ipdel | |||
Igor Sukhih | bd1f472de9d | vzctl: enhanced IPv6 addresses setup in VEuse ifconfig to bring up ip instead of all network restart | |||
Andrey Mirkin | 946a7926bfd | vzmigrate: Fixed check for CPT support on src and dst node before rsyncin case cpt modules build in. | |||
teme | 679c1f60bff | vzcpucheck: correct a typovzcpucheck node power has a minor inconsistency because the following line has a typo: if ($1 == "bogomips" || $1 = "BogoMIPS") { of course, it should be: if ($1 == "bogomips" || $1 == "BogoMIPS") { http://bugzilla.openvz.org/540 [kir@openvz.org: not a bug since all modern kernels print it in lowercase] | |||
Vitaliy Gusev | e28c04c64a6 | vzctl: fix removing IPv6 address from a VEWithout this patch, IPv6 address is not removed from a VE: # vzctl set <VEID> --ipdel fc00::1 --save Warning: ipv6 support disabled <---* Deleting IP address(es): Saved parameters for VE <VEID> Thanks to Thorsten Schifferdecker for reporting the issue. [kir@openvz.org: changelog, porting to latest git] |