OpenVZ-legacy
  1. OpenVZ-legacy

vzctl.ovzl

Public
AuthorCommitMessageCommit dateIssues
Kir KolyshkinKir Kolyshkin
206843fdc6dReleased vzctl-3.0.22
Kir KolyshkinKir Kolyshkin
25bcbfc9556Really fix major/minor device numbers handlingFix after commit aadf6f1506d84e6364ae9adfeee764b04f5d Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Kir KolyshkinKir Kolyshkin
413b39c8705vzlist: add support for VE namesBug #95366. Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Vasily AverinKir KolyshkinVasily Averin
0bdf7833038vzsplit: guarpages should not be increased while we limit privvmpagesFix for http://bugzilla.openvz.org/747 Signed-off-by: Vasily Averin <vvs@openvz.org>
Igor SukhihKir KolyshkinIgor Sukhih
b3e79a34621vzsplit: fixed disk space per VE calculationDefault disk space specified is in K; do recalculation in blocks. Bug #96342.
Kir KolyshkinKir Kolyshkin
463a30bf420Released vzctl-3.0.21
Kir KolyshkinKir Kolyshkin
197aaadf6f1Fix major/minor>255 handling for --devicesUse standard macros for minor/major <--> dev_t conversion. http://bugzilla.openvz.org/755 Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Kir KolyshkinKir Kolyshkin
94f0a6bcacbClear supplementary group IDs on entering a VEWe need to get rid of supplementary GIDs when jumping into VE. Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Kir KolyshkinKir Kolyshkin
ad8b5475e16Fix adding multiple IPs for Debian/UbuntuIt's a long long story. First, commit 575b0d6e580f3cf2c6a8bf627d5ffd8dc6474968 fixed debian-add_ip.sh script which was rewriting /etc/network/interfaces each time on adding a new IP because of incorrect regex in line 104. Before this commit, the code was looking for a line containing '^auto venet0$', after the commit it looks for '^auto venet0 ' (note the ending space). Since the actual line w...
Kir KolyshkinKir Kolyshkin
bf9ebff7270Released vzctl-3.0.20
Kir KolyshkinKir Kolyshkin
80f286fc000NEIGHBOUR_DEVS: add to global config and document.Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Kir KolyshkinKir Kolyshkin
96ad2950738Source /etc/vz/vz.conf in scripts that needs it.After commit 1cb8182a5e3cbc697996bca4445384764281c572, vzarp... functions call vz_get_neighbour_devs which rely on NEIGHBOUR_DEVS global config parameter value. So source global config in scripts that calls vzarp...().
Dmitry V. LevinDmitry V. Levin
1cb8182a5e3scripts/vps-functions.in: Rework sending arp requestsRename vz_get_local_dev() to vz_get_neighbour_devs(), change it to return device list, implement $NEIGHBOUR_DEVS switch to control whether it should detect neighbour devices or just output all $NETDEVICES. Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Kir KolyshkinKir Kolyshkin
075a7da0325man/vzctl.8: minor formatting fixesPossible values for --iptables should be formatted with bold not italic. Also ass a missing comma. Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Pavel VinogradovKir KolyshkinPavel Vinogradov
5384c921427Don't start disabled VE on restart (Close #729)http://bugzilla.openvz.org/729 Signed-off-by: Pavel Vinogradov <Pavel.Vinogradov@nixdev.net>
Pavel VinogradovKir KolyshkinPavel Vinogradov
64330a4f45bUpdate comments in lib/env.cSigned-off-by: Pavel Vinogradov <Pavel.Vinogradov@nixdev.net>
Igor SukhihIgor Sukhih
a8a9a236b37Added ipt_owner support
Kir KolyshkinKir Kolyshkin
65925cad488src/lib/config.c: fix parse_ul_sfx after refactoringAfter commit e14a0127adf3813b7f06ada75d1e43c8c263d420 in function parse_twoul_sfx() 'ret' is no longer initialized to 0, thus the function may return a random value, which could lead to errors like this: Warning: too large value for NUMPROC=240:240 was truncated Invalid value for DISKINODES=200000:220000, skipped Fix that. Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Kir KolyshkinKir Kolyshkin
b02e09a0369Released vzctl-3.0.19
Kir KolyshkinKir Kolyshkin
6b7d837983aAdded distscripts config for fedora-8
Dmitry V. LevinDmitry V. Levin
6bfed8a2565etc/dists/scripts/redhat-7.x_add_ip.sh (setup_network): Add BOOTPROTO=staticThe BOOTPROTO=static is maybe not necessary for redhat-7.x itself (it won't harm there, too) but is useful for distributions with network scripts derived from redhat-7.x. Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. LevinDmitry V. Levin
813519a45fbsrc/lib/config.c (parse_ub): Optimize after parse_twoul_sfx() cleanupSigned-off-by: Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. LevinDmitry V. Levin
0fce78edbfesrc/vzlist.c: In sort comparison functions, add const qualifier to pointersSigned-off-by: Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. LevinDmitry V. Levin
11cb642882esrc/lib/create.c (fs_create): Add uncompressed tarball supportSigned-off-by: Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. LevinDmitry V. Levin
193b87086a9scripts/vpsreboot.in: CleanupConvert to pure Bourne shell script syntax. Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. LevinDmitry V. Levin
7197be5c0abscripts/vpsnetclean.in: CleanupConvert to pure Bourne shell script syntax. Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. LevinDmitry V. Levin
82f19412e8bscripts/vps-stop.in: CleanupConvert to pure Bourne shell script syntax. Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. LevinDmitry V. Levin
375f33e4436scripts/vps-net_del.in: CleanupConvert to pure Bourne shell script syntax. Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. LevinDmitry V. Levin
7a8abf90b97scripts/vps-net_add.in: Add given IP address to neighbour table prior to adding routing for this addressConvert to pure Bourne shell script syntax. Call vzarp() before vzaddrouting(), to ensure that given IP address is added to neighbour table prior to adding routing for this address. Fixes http://bugzilla.altlinux.org/show_bug.cgi?id=11192 Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. LevinDmitry V. Levin
f5f64f57d8bscripts/vps-functions.in: Send arp requests only where appropriateConvert to pure Bourne shell script syntax. vz_get_local_dev: New function, finds interface for given IP if it is local for one of $NETDEVICES. vzarp, vzarpipdetect, vzarpipset: Use vz_get_local_dev to limit sending arp requests only to appropriate interfaces. Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. LevinDmitry V. Levin
241736ed9e8scripts/vps-create.in: Add uncompressed tarball supportConvert to pure Bourne shell script syntax. create_prvt(): Add uncompressed tarball support. Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. LevinDmitry V. Levin
735890d382csrc/vzmemcheck.c: Change usage() semanticsOutput usage either to stdout or to stderr depending on specified exit value, and exit with that value. Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. LevinDmitry V. Levin
9b20ef18eb0src/vzmemcheck.c: Change usage() semanticsOutput usage either to stdout or to stderr depending on specified exit value, and exit with that value. Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. LevinDmitry V. Levin
5c3425623cbsrc/vzctl.c: Change usage() semanticsOutput usage either to stdout or to stderr depending on specified exit value, and exit with that value. Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. LevinDmitry V. Levin
423e433f185src/vzcfgvalidate.c: Change usage() semanticsOutput usage either to stdout or to stderr depending on specified exit value, and exit with that value. Add -h option. Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. LevinDmitry V. Levin
0e893c55d69src/vzcfgscale.c: Change usage() semanticsOutput usage either to stdout or to stderr depending on specified exit value, and exit with that value. Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. LevinDmitry V. Levin
27d3a74a5e4src/vzcalc.c: Change usage() semanticsOutput usage either to stdout or to stderr depending on specified exit value, and exit with that value. Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. LevinDmitry V. Levin
e14a0127adfsrc/lib/config.c (parse_twoul_sfx): CleanupFactor common code to new function parse_ul_sfx(). Remove parse_twoul() function, use parse_twoul_sfx() instead. Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. LevinDmitry V. Levin
144a84e8747Move g_log symbol from utilities to libvzctlUndefined symbols in shared library are evil. They break --as-needed linkage and should be avoided. Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. LevinDmitry V. Levin
ebd5fb00a4evzmigrate: CleanupConvert to pure Bourne shell script syntax. Redirect usage() function output to stderr. Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. LevinDmitry V. Levin
57bd922b551vzpid: CleanupConvert to pure Bourne shell script syntax. Redirect usage() function output to stderr where appropriate. Optimize standard input parser. Simplify awk(1) script. Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. LevinDmitry V. Levin
111dab65417vznetcfg: CleanupConvert to pure Bourne shell script syntax. Redirect usage() function output to stderr. Fix quoting variables. Use ip(8) instead of ifconfig(8) to activate interface. Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. LevinDmitry V. Levin
1cf0e44bb09vzcpucheck: CleanupConvert to pure Bourne shell script syntax. Redirect usage() function output to stderr. Let cat(1) check access to /proc/ files. Simplify awk(1) scripts. Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. LevinDmitry V. Levin
4418d6ebf7cetc/dists: Add ALT Linux and Owl supportAdd etcnet ip scripts for etcnet based distributions. Add configuration file for ALT Linux. Add "altlinux" and "owl" targets to install configs for ALT Linux and Owl. Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. LevinDmitry V. Levin
49e6b5df38aPackage /vz/private and /vz/rootSigned-off-by: Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. LevinDmitry V. Levin
83c5eca2b47Strip trailing backslash in shell scriptsfind bin etc scripts -type f -not -name Makefile\* -print0 | xargs -r0 sed -i 's/\([&|]\) \+\\$/\1/' -- Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. LevinDmitry V. Levin
673cf0450e9Strip trailing whitespacesfind * -type f -not -name C\* -print0 | xargs -r0 sed -i 's/[[:space:]]\+$//' -- Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. LevinDmitry V. Levin
d9c8053d813Add .gear-rulesSigned-off-by: Dmitry V. Levin <ldv@altlinux.org>
Kir KolyshkinKir Kolyshkin
92eca61221bman/vzctl.8: small fix to previous commitFixes to commit 9370e1816ed4959e65d7440898e53135c49abdba s/would/will/ typeset LONG_MAX
Kir KolyshkinKir Kolyshkin
9370e1816edman/vzctl.8: describe the use of "unlimited"Add the description of the special value "unlimited" to the man page. An ability to use "unlimited" was introduced in commit 635f13ee90e2ab11469aff3b9842c0c0a4fcc79e http://bugzilla.openvz.org/712