Commits
Author | Commit | Message | Commit date | Issues | |
---|---|---|---|---|---|
Kir Kolyshkin | 27c8a3dda33 | Released vzctl-3.0.16 | |||
Kir Kolyshkin | eace6c59f52 | Added bash-completion support for --ioprio | |||
Igor Sukhih | bc39887c1e6 | Close stderr, stdout on env_create() | |||
Kir Kolyshkin | c7374ada743 | dev.h, veth.h: minor comment fixThis is not just "next" element, but rather prev/next. | |||
Kir Kolyshkin | dc19fe74742 | list.h: remove no-longer needed type castsDue to previous commit 4b079d2b7ee2f8398ff67e2c40b62c50ccf06e12 it is no longer needed to type-cast list_head_t* to list_elem_t*, thus cleaning it up. | |||
Kir Kolyshkin | 4b079d2b7ee | Remove compiler warnings by fixing list_elem_t and list_head_t definitionsThere were a few warnings like this: config.c: In function 'store_dev': config.c:1078: warning: dereferencing type-punned pointer will break strict-aliasing rules The problem is caused by the fact that two different types -- list_head_t and list_elem_t -- are defined in list.h and used for double linked list routines. In fact, those types are the same, but since they are defined separately,... | |||
Kir Kolyshkin | c0ea956e55c | Released vzctl-3.0.15 | |||
Dmitry V. Levin | e04b5e6712a | Relocate cron master file from pkgdatadir to pkgconfdir.Configuration files should not be placed in datadir. [kir@openvz.org: fixed commit message] Signed-off-by: Dmitry V. Levin <ldv@altlinux.org> Acked-by: Kir Kolyshkin <kir@openvz.org> | |||
Kir Kolyshkin | 5517075edf1 | .gitignore: added TAGS | |||
Kir Kolyshkin | 285b4bf5801 | etc/cron.d/.gitinore: fixAs needed after commit 873485e9b1c3d892da8b9bf9e76ac21d70130726. | |||
Vasily Tarasov | 92cbab4c67c | Add ubioprio support for vzctl. | |||
Kir Kolyshkin | ab3c0c84bf6 | Fix vzctl destroy logic.vzctl destroy operation is asyncronous: it moves VE private area to a temp directory on the same filesystem, and then forks rm -rf in background. The problem: that background task removes everything that is sitting under the 'tmp' directory under the filesystem root where VE private area is situated (usually /vz/tmp or /var/lib/vz/tmp). Rework the removal logic to remove only those temporary... | |||
Kir Kolyshkin | f77d5d828a2 | Use correct sizeof() in snprintfUse sizeof() of var we print to. Not a bug here, since both vars are of the same size, but still looks wrong. | |||
Kir Kolyshkin | f92323d5228 | bash-completion: fixed support for VE names with dashesCommit 7dd83295d36d5d83e98f5bc5bc0cfdbfa2c05141 introduced support for VE names in bash_completion script. Unfortunately it stripped all the dashes ("-") from VE names, so it was not possible to use it with names such as deb-build-amd64. This patch fixes it. | |||
Kir Kolyshkin | 257931d2dd8 | Really remove VE names on destroy.Really fix bug #440. Previous commit 0e167b32f2cd1670e7cac1ce81ea18bd6e84aa32 forgot to add slash. Also fix whitespace (spaces -> tab). http://bugzilla.openvz.org/440 | |||
Igor Sukhih | 0e167b32f2c | Remove all names reffered on VE on destroy actionhttp://bugzilla.openvz.org/show_bug.cgi?id=440 | |||
Kir Kolyshkin | e07fecea0b7 | vzctl mount: print warning if no simfsIn case simfs mount failed returning ENODEV, print a hint. http://bugzilla.openvz.org/429 | |||
Kir Kolyshkin | 5aa2d071cfc | A bunch of whitespace fixesIt is mostly eight spaces to a tab conversion. | |||
Kir Kolyshkin | 258c3c2b9fb | init.d/vz-redhat: removed unused codeFunction check_is_root() is not used, thus removing it. Noticed by Thorsten Schifferdecker, see http://bugzilla.openvz.org/show_bug.cgi?id=473 | |||
Kir Kolyshkin | 8f528d387f3 | man/vzctl.8: document --devices optionhttp://bugzilla.openvz.org/475 | |||
Thorsten Schifferdecker | 0cf7548f88d | init.d/vz-redhat: really honour MODULES_DISABLED=yesBUG: when MODULES_DISABLED="yes" set in /etc/vz/vz.conf and a non-modular kernel is used; non-OpenVZ modules are still loaded, like af_packet and the related iptables_modules. This patch fixes it. | |||
Dmitry V. Levin | df37d19e772 | src/lib/config.c: Fix "cast discards qualifiers from pointer target type" warningssrc/lib/config.c (vps_parse_opt): Remove const qualifier from "const char *val" argument, because it may be passed to parsers which in turn may modify it using strtok(3). src/lib/config.c (parse_setmode, conf_store_str, parse_meminfo, parse_ub): Add const qualifier to "char *val" argument. Signed-off-by: Dmitry V. Levin <ldv@altlinux.org> Acked-by: Kir Kolyshkin <kir@openvz.org> | |||
Dmitry V. Levin | 87a40f6f64b | Change the default behaviour for AC_PROG_LIBTOOL to disable build of static libraries. The user may still override this default by specifying --enable-static.Signed-off-by: Dmitry V. Levin <ldv@altlinux.org> Acked-by: Kir Kolyshkin <kir@openvz.org> | |||
Kir Kolyshkin | f5843614706 | Fixed a typo in initscriptsIntroduced by the previous commit, 873485e9b1c3d892da8b9bf9e76ac21d70130726 | |||
Kir Kolyshkin | 873485e9b1c | Move cronjob installation/removal logic to initscriptIf OpenVZ is not started, it doesn't make sense to execute its cron jobs every five minutes. This fills up system logs, reduces notebook battery life etc. Moving cronjobs management to initscript fixes that. Idea stolen from mailman initscript. | |||
Kir Kolyshkin | 40dfa8bb6eb | init.d/vz-redhat: display error if there's oneIn some cases vz script get a fatal error from modprobe. By not displaying the error we left user to guess what's wrong. This patch fixes that. "Idea" stolen from Red Hat netdump package initscript. | |||
Kir Kolyshkin | 18f8fe335c7 | Simplified vzctl cron.d entries.It makes little sense to have two separate files in /etc/cron.d/, so merge both vpsnetclean and vpsreboot into a sinlge file with a simple name. Also removed licensing blurb since it doesn't make much sense here. | |||
Kir Kolyshkin | 269855c1086 | src/lib/vps_configure.c: get rid of a warningRemove the following warning: vps_configure.c: In function ‘vps_ip_configure’: vps_configure.c:274: warning: cast discards qualifiers from pointer target type | |||
Dmitry V. Levin | fefbe762d12 | src/vzlist.c (*_sort_fn, *_search_fn): Add const qualifier to casts from const pointer type[kir@openvz.org: limited line width to <80 chars] Signed-off-by: Dmitry V. Levin <ldv@altlinux.org> Signed-off-by: Kir Kolyshkin <kir@openvz.org> | |||
Kir Kolyshkin | a01572a3f76 | lib/env.c: comments/messages spelling fixes | |||
Kir Kolyshkin | 248b85a47a0 | Fix ndsend compile with Gentoo linux-headers-2.6.19.2-r2The problem is abovementioned linux-headers change linux/if.h file in a way that it does no more include linux/types.h, thus unknown types like __u8 etc. We add this include explicitly and fix the problem. | |||
Kir Kolyshkin | eb4d8b9dc03 | Released vzctl-3.0.14 | |||
Kir Kolyshkin | 6b29c57c493 | vz.conf(5): fixed dateAfter commit 8ed827ce5ad406c9920a71419cddd9196a393bd5 | |||
Kir Kolyshkin | 3b659c87b81 | Fixed wording/spelling in a comment | |||
Kir Kolyshkin | 3dc87c6133e | vzctl.8: formatting/spelling fixAn addition to commit 0855ff4d69c61e4a13f1b605f30e4e4f5a012ea0 | |||
Kir Kolyshkin | 6c501234dfb | Happy New Year!Added 2007 to copyright statements. | |||
Kir Kolyshkin | fbf462f4977 | 0.conf.*: removed GNU copyright header, add 2007Full GNU copyright header makes little sense for a file with only a couple of lines in it. | |||
Kir Kolyshkin | 0855ff4d69c | vzctl.8: reworded netif_add/netif_del description | |||
Kir Kolyshkin | 8ed827ce5ad | Implement MODULES_DISABLED in gentoo initscript; document it.This is an addition to commit 37861579f02fee2f6a8aea48282586b0a45d94bc In case MODULES_DISABLED is set to "yes" in global config, no attempt is made to load/unload OpenVZ kernel modules in vz initscripts. http://bugzilla.openvz.org/132 | |||
Igor Sukhih | dd466af792e | Move workaround for FC5 copy bug to the common partSee commits 30c21e7a5d3dc9f3895ab8f8df4b06a3cf3c139b and e10ba105a588291d073ce57f9444d36f1f2f495a | |||
Kir Kolyshkin | c1531545ea9 | Makefile.am: add vzctl.spec to EXTRA_DISTOtherwise it is not included into the dist tarball. | |||
Kir Kolyshkin | 3b041b25ef0 | configure: skip useless/harmful C++/F77 checks by libtoolAC_PROG_LIBTOOL configure macro wants to run a lot of C++ and Fortran checks Since vzctl does not use any C++ or Fortran code, those checks are useless. But this is not a problem -- the problem is in case of there is no C++ compiler, configure fails miserably with the following diagnostics: checking how to run the C++ preprocessor... /lib/cpp configure: error: C++ preprocessor "/lib/cpp" ... | |||
Igor Sukhih | e2d8ca8ecf5 | Fixed build enviroment array for execve() in the run_script() | |||
Kir Kolyshkin | 71324a24fba | vzctl.spec: fix to compile vzctl on 64-bit platform | |||
Kir Kolyshkin | 5e7fb69a89b | Really fix installation of proper VE configs.An addition to the previous commit 82968bc396108a54c22d2e32b3a69afb57498526. The problem apparently is when variable assignment is performed in Makefile, and the line (like A = b) is preceded with a TAB character, GNU make just ignores this line. No error, no warning, just ignore... | |||
Kir Kolyshkin | 82968bc3961 | Install proper (arch-dependent) VE configsPrevious implementation was flawed and didn't really worked, as discovered by Thorsten (bug #419). Redone with obligatory arch-suffixes and temporary files. http://bugzilla.openvz.org/419 | |||
Kir Kolyshkin | 857d64238d0 | Do not install directory if a corresponding feature is not enabled.Problem: even if, say, bash_completion feature is not enabled via configure, a corresponding directory (bash_completion.d) is installed anyway. Same problem with cron, logrotate, udev. Apparently it's not enough to guard "bashc_DATA" in Makefile by "if ENABLE_BASHCOMP" -- it is also required to guard the directory. | |||
Kir Kolyshkin | 5336018d135 | Fix to make configure working in builddir != srcdir.Apparently automake is smart enough to add $(srcdir) by itself. Without this patch, make tried to refer to ../../bin/../../bin/ files which is shows that srcdir has been added twice -- by us and by automake. | |||
Ola Lundqvist | 2727096552e | vzmigrate: add --delete to rsync callsDuring testing and debugging of a problem on Debian systems (which I later found out was corrected in 3.0.13 version) I found that the rsync commands in vzmigrate can give quite unexpected results. The command looks basically like this: rsync -aH ${from} ${to} This means that files are copied from ${from} to ${to}, but if files already exist on ${to} from some older copy the old files that do... | |||
Igor Sukhih | a26a2dd948c | Speedup 'vz stop' action * removed 'sleep 1' * added parallel value auto calculation by the rule: num_cpu * 4http://bugzilla.openvz.org/show_bug.cgi?id=431 |