OpenVZ-legacy
  1. OpenVZ-legacy

vzctl

Public
AuthorCommitMessageCommit dateIssues
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>
Kir KolyshkinKir Kolyshkin
50c173f4871vzubc: add support for reading /proc/bc/$ID/resourcesIt was not possible to use it before, because we relied on BCID field to be present. In /proc/bc/resources and /proc/user_beancounters it is printed just before 'kmemsize', but in /proc/bc/*/resources it is nowhere to be found. Change the logic to not rely on BCID to be known. We actually need BCID for relative and incremental modes, so add a check that BCID is there, and error out if it is n...
Kir KolyshkinKir Kolyshkin
33b758fcabcman/vzctl.8: fix --physpages/--meminfo description for VSwapNot sure why I haven't done it before. Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Kir KolyshkinKir Kolyshkin
233f7fad6b9etc/conf/*sample: increase DISKSPACE(1) Increase disk space 2x (to 1G for light, 2G to other configs) (2) Make sure that hard limit is 1.1x of soft limit for both DISKSPACE and DISKINODES. Note that it doesn't make sense until QUOTATIME is set -- so the idea is if a user will set QUOTATIME it will start making sense. Thanks to previous commit we can now specify it in more human-readable manner ("2G:2.2G"). Signe...
Kir KolyshkinKir Kolyshkin
eb96dbf77cavzctl set: add ability to parse numbers like 1.5GThis adds the ability to specify values using floating point numbers. Surely this only makes sense with a suffix, such as 1.5G or 0.5T. Note that we try to parse the number as long long first, this kinda provides backward compatibility. Also, since we are using long long double in internal calculations, we can now detect overflow better. Sorry I do not remember an example of that at the momen...
Kir KolyshkinKir Kolyshkin
db0c8d29e0bvzctl set: add T|t suffix for terabytes...and document it in the man page Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Kir KolyshkinKir Kolyshkin
67ac5a188e3man/vzctl.8: fix formatting for suffixesIt looks much better this way. Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Kir KolyshkinKir Kolyshkin
27351826ab6man/vzctl.8: use .nf/.fi instead of lots of .brSigned-off-by: Kir Kolyshkin <kir@openvz.org>
Kir KolyshkinKir Kolyshkin
a88eaa9f4f4man/vzctl.8: use centos-5 in example for --ostemplateSigned-off-by: Kir Kolyshkin <kir@openvz.org>
Kir KolyshkinKir Kolyshkin
8cbce4ad4f5man/vzctl.8: note about page sizePage size is 4K on both x86 and x86_64. Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Kir KolyshkinKir Kolyshkin
dd46b742a15arch-add_ip.sh: set default route w/o fake gatewayAccording to RFC 3330, 191.255.0.0/16 block of IP addresses might be used on the Internet due to IPv4 address shortage. The scheme with fake gateway is old and obsoleted, let's just set the default route to venet0. Signed-off-by: Kir Kolyshkin <kir@openvz.org>