Commits
Author | Commit | Message | Commit date | Issues | |
---|---|---|---|---|---|
Kir Kolyshkin | 206843fdc6d | Released vzctl-3.0.22 | |||
Kir Kolyshkin | 25bcbfc9556 | Really fix major/minor device numbers handlingFix after commit aadf6f1506d84e6364ae9adfeee764b04f5d Signed-off-by: Kir Kolyshkin <kir@openvz.org> | |||
Kir Kolyshkin | 413b39c8705 | vzlist: add support for VE namesBug #95366. Signed-off-by: Kir Kolyshkin <kir@openvz.org> | |||
Vasily Averin | 0bdf7833038 | vzsplit: guarpages should not be increased while we limit privvmpagesFix for http://bugzilla.openvz.org/747 Signed-off-by: Vasily Averin <vvs@openvz.org> | |||
Igor Sukhih | b3e79a34621 | vzsplit: fixed disk space per VE calculationDefault disk space specified is in K; do recalculation in blocks. Bug #96342. | |||
Kir Kolyshkin | 463a30bf420 | Released vzctl-3.0.21 | |||
Kir Kolyshkin | 197aaadf6f1 | Fix 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 Kolyshkin | 94f0a6bcacb | Clear 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 Kolyshkin | ad8b5475e16 | Fix 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 Kolyshkin | bf9ebff7270 | Released vzctl-3.0.20 | |||
Kir Kolyshkin | 80f286fc000 | NEIGHBOUR_DEVS: add to global config and document.Signed-off-by: Kir Kolyshkin <kir@openvz.org> | |||
Kir Kolyshkin | 96ad2950738 | Source /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. Levin | 1cb8182a5e3 | scripts/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 Kolyshkin | 075a7da0325 | man/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 Vinogradov | 5384c921427 | Don't start disabled VE on restart (Close #729)http://bugzilla.openvz.org/729 Signed-off-by: Pavel Vinogradov <Pavel.Vinogradov@nixdev.net> | |||
Pavel Vinogradov | 64330a4f45b | Update comments in lib/env.cSigned-off-by: Pavel Vinogradov <Pavel.Vinogradov@nixdev.net> | |||
Igor Sukhih | a8a9a236b37 | Added ipt_owner support | |||
Kir Kolyshkin | 65925cad488 | src/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 Kolyshkin | b02e09a0369 | Released vzctl-3.0.19 | |||
Kir Kolyshkin | 6b7d837983a | Added distscripts config for fedora-8 | |||
Dmitry V. Levin | 6bfed8a2565 | etc/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. Levin | 813519a45fb | src/lib/config.c (parse_ub): Optimize after parse_twoul_sfx() cleanupSigned-off-by: Dmitry V. Levin <ldv@altlinux.org> | |||
Dmitry V. Levin | 0fce78edbfe | src/vzlist.c: In sort comparison functions, add const qualifier to pointersSigned-off-by: Dmitry V. Levin <ldv@altlinux.org> | |||
Dmitry V. Levin | 11cb642882e | src/lib/create.c (fs_create): Add uncompressed tarball supportSigned-off-by: Dmitry V. Levin <ldv@altlinux.org> | |||
Dmitry V. Levin | 193b87086a9 | scripts/vpsreboot.in: CleanupConvert to pure Bourne shell script syntax. Signed-off-by: Dmitry V. Levin <ldv@altlinux.org> | |||
Dmitry V. Levin | 7197be5c0ab | scripts/vpsnetclean.in: CleanupConvert to pure Bourne shell script syntax. Signed-off-by: Dmitry V. Levin <ldv@altlinux.org> | |||
Dmitry V. Levin | 82f19412e8b | scripts/vps-stop.in: CleanupConvert to pure Bourne shell script syntax. Signed-off-by: Dmitry V. Levin <ldv@altlinux.org> | |||
Dmitry V. Levin | 375f33e4436 | scripts/vps-net_del.in: CleanupConvert to pure Bourne shell script syntax. Signed-off-by: Dmitry V. Levin <ldv@altlinux.org> | |||
Dmitry V. Levin | 7a8abf90b97 | scripts/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. Levin | f5f64f57d8b | scripts/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. Levin | 241736ed9e8 | scripts/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. Levin | 735890d382c | src/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. Levin | 9b20ef18eb0 | src/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. Levin | 5c3425623cb | src/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. Levin | 423e433f185 | src/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. Levin | 0e893c55d69 | src/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. Levin | 27d3a74a5e4 | src/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. Levin | e14a0127adf | src/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. Levin | 144a84e8747 | Move 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. Levin | ebd5fb00a4e | vzmigrate: CleanupConvert to pure Bourne shell script syntax. Redirect usage() function output to stderr. Signed-off-by: Dmitry V. Levin <ldv@altlinux.org> | |||
Dmitry V. Levin | 57bd922b551 | vzpid: 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. Levin | 111dab65417 | vznetcfg: 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. Levin | 1cf0e44bb09 | vzcpucheck: 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. Levin | 4418d6ebf7c | etc/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. Levin | 49e6b5df38a | Package /vz/private and /vz/rootSigned-off-by: Dmitry V. Levin <ldv@altlinux.org> | |||
Dmitry V. Levin | 83c5eca2b47 | Strip 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. Levin | 673cf0450e9 | Strip 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. Levin | d9c8053d813 | Add .gear-rulesSigned-off-by: Dmitry V. Levin <ldv@altlinux.org> | |||
Kir Kolyshkin | 92eca61221b | man/vzctl.8: small fix to previous commitFixes to commit 9370e1816ed4959e65d7440898e53135c49abdba s/would/will/ typeset LONG_MAX | |||
Kir Kolyshkin | 9370e1816ed | man/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 |