Commits
Author | Commit | Message | Commit date | Issues | |
---|---|---|---|---|---|
Kir Kolyshkin | 93f23a1406a | Released 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 Kolyshkin | 6e4108a052f | scripts/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 Kolyshkin | f8c91572b14 | vzctl.spec: add vzkernel-install providesRecent RHEL6-based kernels require it. Signed-off-by: Kir Kolyshkin <kir@openvz.org> | |||
Kir Kolyshkin | eee5585219c | vzctl.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 Kolyshkin | 95509b12dc6 | man/*: 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 Kolyshkin | 166d66e6a44 | vzctl 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 Kolyshkin | a387b61bca5 | etc/osrelease.conf: Fedora 15 needs 2.6.32Signed-off-by: Kir Kolyshkin <kir@openvz.org> | |||
Kir Kolyshkin | 9f1963abaa2 | vzctl 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 Kolyshkin | 9b80a197de0 | man/wikitoc.sh: fix getting section number from file nameIt was broken in commit d0e61740 Signed-off-by: Kir Kolyshkin <kir@openvz.org> | |||
Kir Kolyshkin | 1b10e77d3ba | man/vzsplit.8: fix broken OPTIONS formattingBroken by commit d031ac16 Signed-off-by: Kir Kolyshkin <kir@openvz.org> | |||
Kir Kolyshkin | aa3258e2426 | man/*: unified header for DIAGNOSTICS sections/EXIT STATUS|RETURN CODE/DIAGNOSTICS/ Signed-off-by: Kir Kolyshkin <kir@openvz.org> | |||
Kir Kolyshkin | 53be15bd962 | man/vzubc.8: add DIAGNOSTICSSigned-off-by: Kir Kolyshkin <kir@openvz.org> | |||
Kir Kolyshkin | d0e61740c13 | man/wikitoc.sh: use Template:ManSigned-off-by: Kir Kolyshkin <kir@openvz.org> | |||
Kir Kolyshkin | 928c2fbce32 | man/vzlist.8: beautify SYNOPSYSUsing .SY/.OP/.YS tags Signed-off-by: Kir Kolyshkin <kir@openvz.org> | |||
Kir Kolyshkin | 89abf68b495 | man/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 Kolyshkin | 16f22b0c450 | man/*: fix NAMEsFix one-line description of utilities, to be more in line with each other. Signed-off-by: Kir Kolyshkin <kir@openvz.org> | |||
Kir Kolyshkin | a9bfef35599 | man/wikitoc.sh: use between a man page and a section numberSigned-off-by: Kir Kolyshkin <kir@openvz.org> | |||
Kir Kolyshkin | 9145895804c | man/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 Kolyshkin | 43035755040 | bin/vzpid: fix usage()(1) pid is not optional (2) one can use "-" Signed-off-by: Kir Kolyshkin <kir@openvz.org> | |||
Kir Kolyshkin | d031ac16179 | man/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 Kolyshkin | f1d17ec078e | man/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 Kolyshkin | 7d08f5917de | man/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 Kolyshkin | fba8a2262b0 | man/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 Kolyshkin | a4165d15b09 | man/vzsplit.8: beautify SYNOPSYSSigned-off-by: Kir Kolyshkin <kir@openvz.org> | |||
Kir Kolyshkin | b331ed7cf12 | man/vzifup-post: fix typesettingVariable parameters should be typeset using italic not bold. Signed-off-by: Kir Kolyshkin <kir@openvz.org> | |||
Kir Kolyshkin | 45e7cfbfd8f | man/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 Kolyshkin | 14dbe37dbf0 | man/Makefile.am: mark phony targets as suchSigned-off-by: Kir Kolyshkin <kir@openvz.org> | |||
Kir Kolyshkin | 921ce8f37c9 | man/vzmigrate.8: fix dash in NAMESigned-off-by: Kir Kolyshkin <kir@openvz.org> | |||
Kir Kolyshkin | 354f854e561 | man/vzctl.8: add chkpnt/restore to SYNOPSYSSigned-off-by: Kir Kolyshkin <kir@openvz.org> | |||
Kir Kolyshkin | 3dbd40feaf2 | man/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 Kolyshkin | 77cd438f106 | vzlist: 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 Kolyshkin | f09a3baffe4 | man/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 Kolyshkin | 5057d3aeba5 | man/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 Kolyshkin | 31aad84269e | man/vzctl.8: add options for restart commandSigned-off-by: Kir Kolyshkin <kir@openvz.org> | |||
Kir Kolyshkin | 696aa55abc9 | man/toc.man: more generic title for manualSigned-off-by: Kir Kolyshkin <kir@openvz.org> | |||
Kir Kolyshkin | 4185f77258e | man/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 Kolyshkin | 1c143b3f851 | man/*: more cross-references in SEE ALSOvzctl, vzmemcheck -> vzubc vzmemcheck -> vzcfgvalidate Signed-off-by: Kir Kolyshkin <kir@openvz.org> | |||
Kir Kolyshkin | 5074e66fbf7 | man/vzubc.8: fixed heading (.TH)Oops, copy/paste error. Signed-off-by: Kir Kolyshkin <kir@openvz.org> | |||
Kir Kolyshkin | 192243d9d0c | man/vzctl.8: use .EX / .EE for examplesSimplifies it greatly, and makes html/wiki output good. Signed-off-by: Kir Kolyshkin <kir@openvz.org> | |||
Kir Kolyshkin | 0d7de766fa5 | man/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 Kolyshkin | 50c173f4871 | vzubc: 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 Kolyshkin | 33b758fcabc | man/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 Kolyshkin | 233f7fad6b9 | etc/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 Kolyshkin | eb96dbf77ca | vzctl 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 Kolyshkin | db0c8d29e0b | vzctl set: add T|t suffix for terabytes...and document it in the man page Signed-off-by: Kir Kolyshkin <kir@openvz.org> | |||
Kir Kolyshkin | 67ac5a188e3 | man/vzctl.8: fix formatting for suffixesIt looks much better this way. Signed-off-by: Kir Kolyshkin <kir@openvz.org> | |||
Kir Kolyshkin | 27351826ab6 | man/vzctl.8: use .nf/.fi instead of lots of .brSigned-off-by: Kir Kolyshkin <kir@openvz.org> | |||
Kir Kolyshkin | a88eaa9f4f4 | man/vzctl.8: use centos-5 in example for --ostemplateSigned-off-by: Kir Kolyshkin <kir@openvz.org> | |||
Kir Kolyshkin | 8cbce4ad4f5 | man/vzctl.8: note about page sizePage size is 4K on both x86 and x86_64. Signed-off-by: Kir Kolyshkin <kir@openvz.org> | |||
Kir Kolyshkin | dd46b742a15 | arch-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> |