OpenVZ-legacy
  1. OpenVZ-legacy

vzctl.ovzl

Public
AuthorCommitMessageCommit dateIssues
Kir KolyshkinKir Kolyshkin
0340f01d32eReleased vzctl-3.0.28.3 CHANGES (since 3.0.28.2) * Fixed enabling second-level disk quota (#1904) * Fix VSwap configurations * Fix start of Fedora 15 CT on RHEL6 kernel * init.d/vzeventd-redhat: support for RHEL4, fix a warning message Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Kir KolyshkinKir Kolyshkin
589bc74cb47init.d/vzevent-redhat: support for RHEL4In RHEL4 kernel, reboot_event file is located in /sys/module/vzevent/ not /sys/module/vzevent/parameters/ directory. Check both files at once, hiding the 'file not found' error from cat. Signed-off-by: Kir Kolyshkin <kir@openvz.org> (cherry picked from commit 7d4c629f810fdb047298a1db442f0dff5c7adcb2)
Kir KolyshkinKir Kolyshkin
f0861c31e06init.d/vzeventd-redhat: fix warning messageApparently print_warning only accepts $1 as an argument, not $*, so the second part of the message was not printed: Checking vzevent kernel module ... [FAILED] vzevent module should be loaded with [WARNING] Fix it. Signed-off-by: Kir Kolyshkin <kir@openvz.org> (cherry picked from commit dc2e185a48f043a77364052d0b120d39700f3b45)
Kir KolyshkinKir Kolyshkin
36e60de53ffvzctl start: fix start of Fedora 15 CT on RHEL6 kernelThe check for /proc/cgroups existance in fix_ve_systemd() is wrong -- current RHEL6 kernel (042stab017) has this file in the host system, but it doesn't mean that cgroups are supported inside containers. Fixes #1906. http://bugzilla.openvz.org/1906 Reported-by: Scott Dowdle <dowdle@montanalinux.org> Signed-off-by: Kir Kolyshkin <kir@openvz.org> (cherry picked from commit b54383ef3024ee3a101dd...
Kir KolyshkinKir Kolyshkin
5f41ace1a48Fix VSwap configurations(1) Set barrier of oomguarpages and vmguarpages to 0 (i.e. no guarantees by default) (2) Set KMEMSIZE limit to half of PHYSPAGES (with 10% gap between the barrier and the limit) (3) Set LOCKEDPAGES to half of PHYSPAGES Signed-off-by: Kir Kolyshkin <kir@openvz.org> (cherry picked from commit aaad64a019521a4761b025710d40f08b93f6b621)
Kir KolyshkinKir Kolyshkin
e7c3fa0efb5set_ugid_quota.sh: fix filesystem typeCommit e324b0ad changed filesystem type in created /etc/mtab from reiserfs to simfs: > 4. Remove old/questionable reiserfs reference. No one knowns why it was ther > (reiserfs quota tools? who knows). Now we know why it was there. Below is an essential, see the long description in http://bugzilla.openvz.org/1904#c31 (a) Some of the quota utilities have a build-in list of recognized filesy...
Kir KolyshkinKir Kolyshkin
2b9d6aff0eeReleased vzctl-3.0.28.2 CHANGES (since 3.0.28) * Fixed a check for quotaugidlimit change causing SEGV in vzctl set (#1896) Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Kir KolyshkinKir Kolyshkin
2112a2b38d6vzctl set: fix check for changing quotaugidlimitCommit 4e61f7119 was horribly wrong. First, it did some checks even if new_res->dq.ugidlimit was not set (i.e. there was no --quotaugidlimit option). Second, it tried to dereference it which lead for SEGV. Fix both cases, and moved the code to a separate function for much better readability. http://bugzilla.openvz.org/1896 Reported-by: Roman Veretelnikov <roman@rover.pp.ru> Signed-off-by: Ki...
Kir KolyshkinKir Kolyshkin
cb06ccd24afReleased vzctl-3.0.28.1 CHANGES (since 3.0.28) * Fixed virtual-vzkernel-install provides for newer RHEL6 kernel Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Kir KolyshkinKir Kolyshkin
8970569b93dFixed virtual-kernel-install provides for new RHEL6 kernelKernel 042stab017.1 Requires(pre): virtual-vzkernel-install >= 2.0.0 Signed-off-by: Kir Kolyshkin <kir@openvz.org> (cherry picked from commit cb79f9a9c49cd1552dafa87f126b7765dd7f390c)
Kir KolyshkinKir Kolyshkin
93f23a1406aReleased vzctl-3.0.28 CHANGES (since 3.0.27) New features: * vzctl start: support for Fedora 15 templates (with upstart) * vzctl create: support for templates in bzip2 and xz formats (#1670) Fixes: * vzctl set --quotaugidlimit: warn on turning quota on/off, no warn on change * dists/scripts/set_ugid_quota.sh: multiple fixes (#1734) * vzmemcheck: fix overflow in showing total ram * e...
Kir KolyshkinKir Kolyshkin
6e4108a052fscripts/vzevent-stop: try to not get in the way of vzctl stopIf vzctl stop is running for a container, it stops then unmounts the container. Event 've-stop' is delivered in the middle of the 'vzctl stop' run so vzevent-stop is executed while 'vzctl stop' is still running. Same logic applies to 'vzctl restart'. If 've-stop' event is caused by 'vzctl stop' or 'vzctl restart' we don't want to perform any actions in vzevent-stop script. So, if there is such...
Kir KolyshkinKir Kolyshkin
f8c91572b14vzctl.spec: add vzkernel-install providesRecent RHEL6-based kernels require it. Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Kir KolyshkinKir Kolyshkin
eee5585219cvzctl.spec: ed is no longer requiredAll the invocations of ed were replaced with sed quite some time ago Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Kir KolyshkinKir Kolyshkin
95509b12dc6man/*: always use EXIT STATUS to describe, well, exit statusPrevious commit aa3258e2426f unified the header of this section to be DIAGNOSTICS. While unification was a good thing, name was badly chosen, since DIAGNOSTICS is for various error messages printed by a program etc., The proper name is EXIT STATUS. Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Kir KolyshkinKir Kolyshkin
166d66e6a44vzctl start: for Fedora 15, change systemd to upstartsystemd is not working inside a CT because it needs cgroups. The fix is to use upstart. Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Kir KolyshkinKir Kolyshkin
a387b61bca5etc/osrelease.conf: Fedora 15 needs 2.6.32Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Kir KolyshkinKir Kolyshkin
9f1963abaa2vzctl start: fix /dev/console for Fedora 14/15 CTsApparently upstart chokes on our /dev/console, and since there are really no console in a container, let's just symlink it to /dev/null. This fix is needed for Fedora 15. Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Kir KolyshkinKir Kolyshkin
9b80a197de0man/wikitoc.sh: fix getting section number from file nameIt was broken in commit d0e61740 Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Kir KolyshkinKir Kolyshkin
1b10e77d3baman/vzsplit.8: fix broken OPTIONS formattingBroken by commit d031ac16 Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Kir KolyshkinKir Kolyshkin
aa3258e2426man/*: unified header for DIAGNOSTICS sections/EXIT STATUS|RETURN CODE/DIAGNOSTICS/ Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Kir KolyshkinKir Kolyshkin
53be15bd962man/vzubc.8: add DIAGNOSTICSSigned-off-by: Kir Kolyshkin <kir@openvz.org>
Kir KolyshkinKir Kolyshkin
d0e61740c13man/wikitoc.sh: use Template:ManSigned-off-by: Kir Kolyshkin <kir@openvz.org>
Kir KolyshkinKir Kolyshkin
928c2fbce32man/vzlist.8: beautify SYNOPSYSUsing .SY/.OP/.YS tags Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Kir KolyshkinKir Kolyshkin
89abf68b495man/vzcpucheck.8: fixes(1) SYNOPSYS: fix using italic for literal -v (2) SYNOPSYS: reformat using .SY/.OP./.YS (3) Reformat options using .TP (4) Fix copyright years Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Kir KolyshkinKir Kolyshkin
16f22b0c450man/*: fix NAMEsFix one-line description of utilities, to be more in line with each other. Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Kir KolyshkinKir Kolyshkin
a9bfef35599man/wikitoc.sh: use &nbsp; between a man page and a section numberSigned-off-by: Kir Kolyshkin <kir@openvz.org>
Kir KolyshkinKir Kolyshkin
9145895804cman/vzpid.8: a few fixes(1) Remove abbreviation from NAME (2) Remove -h from SYNOPSYS (3) Reformat SYNOPSYS using .SY/.OP/.YS (4) SYNOPSYS: pid is not optional! (5) Add - to SYNOPSYS and OPTIONS (6) Note that many pids can be specified (7) Reformat OPTIONS using .TP (8) Fix copyright year Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Kir KolyshkinKir Kolyshkin
43035755040bin/vzpid: fix usage()(1) pid is not optional (2) one can use "-" Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Kir KolyshkinKir Kolyshkin
d031ac16179man/vzsplit.8: few fixes(1) Fix NAME (too long) (2) Simplify formatting in OPTIONS (3) Highlight file name (4) Fix years in copyright Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Kir KolyshkinKir Kolyshkin
f1d17ec078eman/vzmemcheck.8: multiple fixes(1) Fix NAME (2) DESCRIPTION should be before OPTIONS (3) Beautify SYNOPSYS using .SY/.OP/.YS (4) Make a list of fields shown a list (5) Move some info about options from DESCRIPTION to where it belongs (OPTIONS) (6) Add a link to http://wiki.openvz.org/UBC_systemwide_configuration Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Kir KolyshkinKir Kolyshkin
7d08f5917deman/vzcfgvalidate: multiple minor fixes(1) DESCRIPTION should precede OPTIONS (2) The statement about exceeding system resources is irrelevant to this utility. Replace it with some info about UBC interdependencies. (3) Fix English (articles etc.) (4) Update dates/copyrights Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Kir KolyshkinKir Kolyshkin
fba8a2262b0man/vzubc.8: fixed references to watch(1)It was referred to as watch(1), watch(8) and just watch. Fix and unify (watch(1) is the right way). Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Kir KolyshkinKir Kolyshkin
a4165d15b09man/vzsplit.8: beautify SYNOPSYSSigned-off-by: Kir Kolyshkin <kir@openvz.org>
Kir KolyshkinKir Kolyshkin
b331ed7cf12man/vzifup-post: fix typesettingVariable parameters should be typeset using italic not bold. Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Kir KolyshkinKir Kolyshkin
45e7cfbfd8fman/Makefile.am: add wiki.toc targetThis is to create a table-of-contents like page for OpenVZ wiki, to be used on http://wiki.openvz.org/Man Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Kir KolyshkinKir Kolyshkin
14dbe37dbf0man/Makefile.am: mark phony targets as suchSigned-off-by: Kir Kolyshkin <kir@openvz.org>
Kir KolyshkinKir Kolyshkin
921ce8f37c9man/vzmigrate.8: fix dash in NAMESigned-off-by: Kir Kolyshkin <kir@openvz.org>
Kir KolyshkinKir Kolyshkin
354f854e561man/vzctl.8: add chkpnt/restore to SYNOPSYSSigned-off-by: Kir Kolyshkin <kir@openvz.org>
Kir KolyshkinKir Kolyshkin
3dbd40feaf2man/vzlist.8: fixes/improvements(1) Reformatted SYNOPSYS using .SY/.OP/.YS (2) -1 is not CTID but an option (3) Add --help to SYNOPSYS (4) Removed list of possible fields (can be seen using vzlist -L) (5) Reformatted suffixes without tables (6) Describe an example Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Kir KolyshkinKir Kolyshkin
77cd438f106vzlist: fix usage()A few fixes here and there, including the fact that -1 is not CTID but an option. Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Kir KolyshkinKir Kolyshkin
f09a3baffe4man/vzctl.8: fix SYNOPSYS, beautify using .SY/.OP/.YSThese options lead to better formatting. While working on SYNOPSYS: * add all options for set command * add options for start, stop, and restart * add delete alias for destroy Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Kir KolyshkinKir Kolyshkin
5057d3aeba5man/vzctl.8: fixed --root, added --private descriptionI am not sure why but --private was missing in options for 'vzctl set'. Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Kir KolyshkinKir Kolyshkin
31aad84269eman/vzctl.8: add options for restart commandSigned-off-by: Kir Kolyshkin <kir@openvz.org>
Kir KolyshkinKir Kolyshkin
696aa55abc9man/toc.man: more generic title for manualSigned-off-by: Kir Kolyshkin <kir@openvz.org>
Kir KolyshkinKir Kolyshkin
4185f77258eman/Makefile: add extra_MANS parameterThis is a hack to process vzquota man pages together with vzctl ones. In the meantime, get rid of hack in html2wiki.sh (remove vzquota.8). Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Kir KolyshkinKir Kolyshkin
1c143b3f851man/*: more cross-references in SEE ALSOvzctl, vzmemcheck -> vzubc vzmemcheck -> vzcfgvalidate Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Kir KolyshkinKir Kolyshkin
5074e66fbf7man/vzubc.8: fixed heading (.TH)Oops, copy/paste error. Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Kir KolyshkinKir Kolyshkin
192243d9d0cman/vzctl.8: use .EX / .EE for examplesSimplifies it greatly, and makes html/wiki output good. Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Kir KolyshkinKir Kolyshkin
0d7de766fa5man/vzctl: introduce sub-sub-sectionsThose were previously done using .TP which is wrong. This patch introduces macro .SS3 which tries to do a sub-sub-section (similar to .SS -- subsection). Also, Makefile and html2wiki.sh were modified appropriately to format .SS3 Heading for wiki as ==== Heading ==== Signed-off-by: Kir Kolyshkin <kir@openvz.org>