Skip to content
Commits on Jan 11, 2012
  1. @kolyshkin

    Released vzctl-3.0.30

    kolyshkin committed
    (since vzctl
    New features
    * vzctl create: add ability to auto-download template cache
    * vzctl set: introduce --ram and --swap options
    * vzcfgvalidate: add support for VSwap configs (#1969)
    * vzctl umount: try to umount all submounts first, do not use detached umount
    * vzcfgvalidate: fix exit code in case validation failed (should be 2)
    * vzctl set --userpasswd: fix changing pass on a stopped CT for new distros
    * vzctl: skip setting meminfo on a vswap-enabled CT
    * vzctl set --ipadd: fix default IPv6 route for Debian (#2023)
    * vzlist: fixed messages wrt stdout/stderr
    * etc/dists/scripts/ fix removing too much IPv6 addresses
    * etc/dists/scripts/ try harder to remove all IPs
    * vzctl: in VSwap mode, make most of UBC parameters optional
    * etc/conf/*: simplify VSwap configs by removing optional parameters
    * vzmigrate: use --sparse on the first rsync (#2002)
    * vzctl enter/exec: log these actions (#1266)
    * vzcfgvalidate: add -v yes|no option
    * vzlist: add 'cpus' field
    * vzctl set --ipdel all: do not run * script
    * etc/dists/scripts/* add case for IPDELALL
    * vzctl set --save: enhance the "config saved" message
    * vzctl set: tailor "no save" warning to running/stopped states
    * vzsplit: remove hacks for KMEMSIZE, DCACHESIZE, LOCKEDPAGES
    * vzctl start: add SETPCAP and AUDIT_WRITE capabilities to default set
    * vzctl create: set proper file caps for Fedora >= 15
    * etc/conf: add VSwap configs for 2GB and 4GB RAM
    * etc/conf/ve-vswap-1g.conf-sample: added as an alias to 1024m
    * Various code cleanups and refactoring
    * man/vzctl.8: better info wrt VSwap
    * Describe the new options
    * Small formatting fixes
    OpenVZ project would like to thank the following people who contributed
    patches and/or provided bug reports for this vzctl release
    (in no particular order):
    * John O. Stevens
    * Scott Dowdle
    * Toke Høiland-Jørgensen
    * Stefan Priebe
    * FabioDB
    Signed-off-by: Kir Kolyshkin <>
Commits on Dec 9, 2011
  1. @kolyshkin

    scripts/vps-download: add config file

    kolyshkin committed
    Signed-off-by: Kir Kolyshkin <>
Commits on Nov 29, 2011
  1. @kolyshkin

    vzctl create: add ability to auto-download template cache

    kolyshkin committed
    Signed-off-by: Kir Kolyshkin <>
Commits on Sep 16, 2011
  1. @kolyshkin

    etc/conf: add vswap configs for 2GB and 4GB RAM

    kolyshkin committed
    Signed-off-by: Kir Kolyshkin <>
  2. @kolyshkin

    etc/conf/ve-vswap-1g.conf-sample: added as alias to 1024m

    kolyshkin committed
    Just an alias, so you can say --config vswap-1g instead of vswap-1024m
    Signed-off-by: Kir Kolyshkin <>
Commits on Sep 15, 2011
  1. @kolyshkin

    Released vzctl-3.0.29

    kolyshkin committed
    New features
        * vzctl set --ipadd: support for net masks (#1088)
        * vzsplit: support for VSwap enabled config generation
        * vzctl set --ipadd: fix default route disappearing in Debian-based
          containers after adding netmask (#1971)
        * configs: fix VSwap configurations
        * vzctl set/start: fix parsing T suffix on 32-bit boxes
        * vzctl set --devices: option argument parsing fixes
        * vzctl set --devices|--devnodes: do not allow loop devices in CT
        * vzctl set --netdev_add: fix exit code in case of invalid veth params
        * vzctl create: turn on quota when running postcreate actions
        * vzctl create: also randomize /etc/cron.d entries in
        * vzctl start: add SETFCAP to default capabilities in CT (#1911)
        * vzifup-post: do not fail if there's no /proc/vz/veip (#1918)
        * vzsplit: do not play with CPUUNITS (#1627)
        * vzsplit: fix printing minimum RAM size
        * vzsplit: fix privvmpages calculation
        * etc/init.d/vz*: mount cgroups
        * etc/dists/scripts/ support for resolvconf in CT
        * etc/conf/ve-unlimited.conf-sample: remove VERSION
        * etc/dists/scripts/*: remove bashisms
        * vzctl set: improve parsing int and ulong numbers
        * vzctl start/set: be less chatty when running distscripts
        * bash_completion: complete .tar, tar.bz2 and tar.xz for --ostemplate
        * vzsplit, vzctl set: better output of UBC parameters
        * vzsplit: fix help/usage output
        * vzsplit: fix text of a generated config comment
        * vzsplit: show usage in case of invalid arguments
        * vzsplit: print 'container' not 'containers' for a single CT
        * etc/dists/scripts/ improve removing old nameservers
        * etc/dists/scripts/* enhancements
        * vzctl set --capability: fix capability parsing error message
        * vzubc: fix for Debian/mawk
        * vzubc: fix -i/-r modes for 0th beancounter
        * Various code cleanups and refactoring
        * vzctl --help: fix more than 80 columns output
        * scripts/ fix VE_STATE description
        * configs: CONFIG_CUSTOMIZED parameter is obsoleted
        * man/vzctl.8: use simfs in mount script example
        * man/vzctl.8: in SYNOPSYS --netif_del can be all
        * man/vzctl.8: add a note to ACTION SCRIPT about execution context
        * man/*: Many other fixes and improvements
    Build system
        * Add ability to build snapshots from git (
        * use newer macros
        * many missing checks added
    OpenVZ project would like to thank the following people who contributed
    patches and/or provided bug reports for this vzctl release
    (in no particular order):
        * Tim Small
        * Dietmar Maurer
        * Mario Kleinsasser
        * Sam Trenholme
        * Slava Dubrovskiy
        * Leandro López
        * Scott Dowdle
    Signed-off-by: Kir Kolyshkin <>
Commits on Jun 13, 2011
  1. @kolyshkin

    vzctl.spec: move release to a separate define

    kolyshkin committed
    ...and fix accordingly.
    Simplifies changing release field from, since we no longer
    need to deal with %{?dist} suffix (required by Fedora).
    Signed-off-by: Kir Kolyshkin <>
Commits on Jun 9, 2011
  1. @kolyshkin

    Fixed virtual-kernel-install provides for new RHEL6 kernel

    kolyshkin committed
    Kernel 042stab017.1 Requires(pre): virtual-vzkernel-install >= 2.0.0
    Signed-off-by: Kir Kolyshkin <>
Commits on Jun 7, 2011
  1. @kolyshkin

    Released vzctl-3.0.28

    kolyshkin committed
    	(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)
        * vzctl set --quotaugidlimit: warn on turning quota on/off,
          no warn on change
        * dists/scripts/ multiple fixes (#1734)
        * vzmemcheck: fix overflow in showing total ram
        * etc/conf/*sample: unify ONBOOT setting (now unset)
        * dists/scripts/ set default route w/o fake gateway
        * Try to fix an umount race between vzctl stop and vzevent-stop (#1878)
        * vzctl set: add ability to parse numbers like 1.5G
        * etc/dists: added support for Funtoo Linux network script (#1884)
        * etc/conf/*sample: doubled DISKSPACE
        * vzubc: add support for reading /proc/bc/$ID/resources
        * man/Makefile: added targets for generating PS, PDF and wiki pages
        * man/vzctl.8: improve runscript description
        * man/vzctl.8: fix --physpages and --meminfo description for VSwap case
        * man/vzctl.8: fixed --root, added --private description for vzctl set
        * man/vzctl.8: add options for restart command
        * man/vzctl.8: provide complete SYNOPSYS
        * man/vzlist.8: remove a table with fields list, only describe suffixes
        * man/*: lots and lots of formatting fixes and improvements
    OpenVZ project would like to thank the following people who contributed
    patches and/or provided bugreports for this vzctl release
    (in no particular order):
        * Brian May
        * Jakub Jankowski
        * Daniel Robbins
        * Víctor Román Archidona
        * Dietmar Maurer
    Signed-off-by: Kir Kolyshkin <>
  2. @kolyshkin

    vzctl.spec: add vzkernel-install provides

    kolyshkin committed
    Recent RHEL6-based kernels require it.
    Signed-off-by: Kir Kolyshkin <>
  3. @kolyshkin

    vzctl.spec: ed is no longer required

    kolyshkin committed
    All the invocations of ed were replaced with sed quite some time ago
    Signed-off-by: Kir Kolyshkin <>
Commits on May 25, 2011
  1. @kolyshkin

    Released vzctl 3.0.27

    kolyshkin committed
    New features:
    * vzubc: a script to show User Beancounters for mere mortals (#845)
    * init.d/vz*: use separate IPTABLES_MODULES variable (#1814)
    * dists/scripts: fix /etc/hosts localhost aliases handling (#1877)
    * fix a lintian warning about initscript call (#1640)
    * init.d/vz-gentoo: force loading network modules, load vzethdev
    * vzgetnetdev: filter out link-local addresses (#1820)
    * vzctl set --devices|--devnodes: save 'q' bit (#1876)
    * fixed logging level in a few places
    * vzctl start: set ipv6.conf.all.forwarding=0 for a CT
    * vzctl set --netdev_del: fix dcachesize/kmemsize leak
    * vzctl restore: fix restoring 2nd-level quotas (#1824)
    * ndsend: fix segfault if called w/o parameters (#1850)
    * vzctl: fix --quiet being ignored while parsing global config
    * vzctl: do report unknown parameters in config (with --verbose)
    * vzctl: much better warnings/errors while parsing config
    * vzctl set --save: always tell if we are saving config or not
    * vzctl: many fixes to return proper error codes
    * dists/scripts: greatly reduce the number of similar configs in sources
    * dists/scripts: add Scientific Linux support (same as RHEL/CentOS)
    * init.d/vzeventd-gentoo: give up if kernel is non-OpenVZ
    * init.d/vz-gentoo: add iptables modules loading functionality
    * init.d/*redhat: less noise then running under non-OpenVZ kernel
    * etc/dists/scripts/ add /etc/hosts, /etc/resolv.conf setup,
      cleanups, workaround for certain awk versions
    * Fix compile warning on systems with __NR_ioprio_set already defined
    * vzctl: add 148 exit code (ioprio set failed)
    * ndsend: add usage, fix error messages
    * vzctl --verbose: remove (undocumented) numeric parameter
    * vzctl: do not allow too high CTID
    * vzctl: fix unrecognized option reporting
    * Added vzubc(8) man page
    * Added ndsend(8) man page (#1859)
    * vz.conf(5): document IPTABLES_MODULES and IPTABLES
    * vz.conf(5): much better description of LOG_LEVEL and VERBOSE
    * vzctl(8): better description of --quiet and --verbose
    * Fix man page dates and copyright years
    OpenVZ project would like to thank the following people who contributed
    patches and/or provided bugreports for this vzctl release
    (in no particular order):
    * Ola Lundqvist
    * Dietmar Maurer
    * Ekaterina Epifanova
    * Maxim Shchelokov
    * Andrey Vagin
    * Stefan Priebe
    * Thorsten Schifferdecker
    * Curtis
    * Marc Perkel
    Signed-off-by: Kir Kolyshkin <>
Commits on May 22, 2011
  1. @kolyshkin

    vzubc: add a man page

    kolyshkin committed
    Signed-off-by: Kir Kolyshkin <>
Commits on May 21, 2011
  1. @kolyshkin

    Add vzubc - a tool to show beancounters in a human-readable format

    kolyshkin committed
    This is still a work in progress, but overall I am starting to like it.
    * Held, maxheld, barrier, limit, and fail counter are shown for every beancounter.
    * Zero and unlimited values are shown as " - "
    * Values that are in pages are converted to bytes.
    * Long values are converted to kilo-, mega-, gigabytes etc.
    * For held and maxheld it shows how close the value to the barrier and the limit, in per cent.
    * Can be used both inside CT and on HN.
    * User can specify CTIDs or CT names to output info about.
    * Optional top-like autoupdate mode (using "watch").
    * Optional "relative failcnt" mode (show increase in UBC fail counters since last run).
    * Optional quiet mode (only shows "worth to look at" UBCs, ie ones close to limits and/or with failcnt).
    * check compatibility with mawk etc.
    * colors?
    * man page
    Signed-off-by: Kir Kolyshkin <>
Commits on May 4, 2011
  1. @kolyshkin

    Add man page for ndsend

    Thorsten Schifferdecker committed with kolyshkin
    [ changelog entry, whitespace cleanups, formatting]
Commits on Mar 30, 2011
  1. @kolyshkin

    vzctl.spec: fix shell redirection in %post

    kolyshkin committed
    It was 2&>1 instead of 2>&1. Fix.
    Reported-by: Dmitry Kopytov <>
    Reported-by: Jakub Jankowski <>
    Signed-off-by: Kir Kolyshkin <>
Commits on Feb 27, 2011
  1. @kolyshkin

    Released vzctl 3.0.26

    kolyshkin committed
    New features
    * vzctl set: add cpu bindings (--cpumask)
    * etc/conf: add vswap configs
    * etc/init.d/vz*: switch default CT config to vswap if supported
    * vzctl set --pci*: use newer kernel API
    * etc/vz.conf: enable IPv6 by default (#651)
    * vzctl start: do not start half-configured environment (#1732)
    * vzctl restore: support both old and new kernel lockfd api (#1732)
    * vzctl restore: better error handling from CPT_UNDUMP (#1561)
    * vzifup-post: fix device for proxy arp (#1587)
    * vzmemcheck: only account for running containers (#1757)
    * vznetaddbr: fix interface initialization (#1617)
    * vzlist: fix sorting for some fields
    * vzctl create: exit with error if default CT config not found
    * vzctl set --dev*: return proper error
    * debian-{add,del} fix IPv6 wrt 2.6.32 kernel (#1669)
    * debian-{add,del} get rid of venet if no IP configured (#1596)
    * vzctl create: warn if default sample is not to be used
    * vzmemcheck: fix header to show ctid not veid
    * vzmemcheck: fix output formatting
    * bash_completion: for chkpnt, show running CTs only
    * bash-completion: for restore, show suspended CTs only
    * etc/conf/*conf-sample*: remove arch-specific entries
    * veth: added hint to load vzethdev kernel module
    * etc/dists/scripts/debian-* remove hardcoded names
    * build system: fix generated files' perms
    * man/vzctl.8: document "can not set devices" exit code
    * man/vzlist.8: improve the description of -S option
    * man/vz.conf.5: misc fixes
    * VSwap is only supported by RHEL6 kernels
    * cpumask is only supported by RHEL6 kernels and RHEL5 kernels >= 028stab084.1
    * pci_add/del is only supported by RHEL6 kernels >= 042test005.1
    OpenVZ project would like to thank the following people who contributed
    patches and/or provided bugreports for this vzctl release
    (in no particular order):
    * Olena Vasilkova
    * Michael Fincham
    * Pete de Zwart
    * Peter Volkov
    * Vladimir Davydov
    * Vyacheslav Nikitin
    * Andrew Moore
    * Alexander Prinsier
    * Jakub Jankowski
    * Olga Sivoronova
    * Paparaciz
    * frank
    Signed-off-by: Kir Kolyshkin <>
Commits on Jan 25, 2011
  1. @kolyshkin

    etc/conf: add vswap configs

    kolyshkin committed
    So, in VSwap mode we only set RAM (physpages) and swap (swappages),
    while all the other values are set to 'unlimited'.
    Remember this is still experimental stuff, and it's only for
    RHEL6-based (i.e 042test* and 042stab*) kernels.
    Signed-off-by: Kir Kolyshkin <>
Commits on Jan 13, 2011
  1. @kolyshkin

    vzctl.spec: add /etc/sysconfig/vzeventd as %ghost

    kolyshkin committed
    Teach RPM that if this file exists then it's ours.
    Signed-off-by: Kir Kolyshkin <>
Commits on Dec 20, 2010
  1. @kolyshkin

    Released vzctl 3.0.25

    kolyshkin committed
        (since vzctl-
    * Removed cron scripts to handle cleanup and reboot (#1423)
    * Introduced vzeventd to handle cleanup and reboot (#1519)
    * vzctl start/runscript: add ability to set per-CT osrelease
      (/etc/vz/osrelease.conf) -- support for Fedora 14 etc. (#1709)
    * vzctl set --pci_{add,del}: add the ability to move PCI devices to CT
    * Removed FAKEGATEWAY routing for all distros (except for very old ones) (#1659)
    * vzctl --help: improve/reformat, add quota* commands
    * vzctl set: remove obsoleted --veth_{add,del} options
    * vzctl set --applyconfig: fix for DISK_QUOTA
    * vzctl set: implement --diskquota on|off
    * vzctl set --devnodes: always try to recreate device in CT
    * vzctl set --features: fix enabling sysfs by default
    * vzctl set --features bridge: enable CAP_NET_ADMIN automatically
    * vzctl start: do not fail to start CT if ioprio is unsupported
    * vzctl start: hint to check kernel log if CT start fails
    * vzctl delete: take care of premount/postumount scripts
    * vzctl quota*: report an error if disk quota is disabled
    * bash_completion: various fixes and improvements
    * vzlist: introduce uptime
    * vzmigrate: add ability to increase verbosity (-vv...)
    * etc/init.d/vz*: do not run stop inside a container (#1655)
    * etc/dists/scripts/* fix mtab perms
    * etc/ve-basic.conf-sample: increase LOCKEDPAGES
      (Fedora 14 and Ubuntu 10.10 wanted more)
    * scripts/vps-create: use -Sp options for tar
    * scripts/vps-create: fix VE_PRVT permissions
    * man/vzctl.8: describe action scripts (#1273)
    * man/vzctl.8: document 'suspended' status
    * man/vzctl.8: describe quotaon/quotaoff/quotainit commands
    * man/vzctl.8: add/describe 'vzquota on failed' exit code (60)
    * man/*: describe/fix DISK_QUOTA/--diskquota
    * Do not allow INT_MAX CT ID (since kernel doesn't like it)
    * Fixed vzctl udev rule to conform to recent udev (#1642)
    * Scripts: do not use full path to ip utility (#1643)
    * Code cleanups, refactoring, other minor fixes
    * All the cron trickery (used for CT reboot and network cleanup) is
      removed from this release. If you have something non-standard in
      /etc/vz/cron/ directory, this is no longer managed by the vz initscript.
    * This release contains a small daemon called vzeventd, which takes care
      about CT reboot and network cleanup. Details can be found in vzeventd(8)
      man page. Note that the kernel should support vzevent feature.
    * vzctl set --pci_{add,del} feature needs support from the kernel. Currently
      this is only available in RHEL6 kernels starting from 042test003.
    OpenVZ project would like to thank the following people who contributed
    patches and/or provided bug reports for this vzctl release (in no particular
    * Solar Designer
    * Benjamin Henrion
    * Apollon Oikonomopoulos
    * Peter Volkov
    * Ola Lundqvist
    * Mehdi Dogguy
    * Thorsten Schifferdecker
    * Dietmar Maurer
    * Roman Veretelnikov
    * Alexander Prinsier
    Signed-off-by: Kir Kolyshkin <>
  2. @kolyshkin

    vzctl.spec: make sure to start vzdaemon after upgrade

    kolyshkin committed
    If vz is running and vzeventd is not -- start it.
    Signed-off-by: Kir Kolyshkin <>
Commits on Dec 14, 2010
  1. @avagin @kolyshkin

    Add vps-pci script

    avagin committed with kolyshkin
    This script will be executed after moving pci device in container.
    [ shell script style improvements, added missing C includes]
    Signed-off-by: Andrey Vagin <>
Commits on Nov 23, 2010
  1. @kolyshkin

    vzctl start/runscript: add ability to set per-CT osrelease

    kolyshkin committed
    Some distros (like recent Fedora versions) expect a kernel
    version to be x.y.z or newer, and won't work with older kernels.
    Our kernels are usually sufficiently patched to work with new
    userspace, but this check for kernel version requires some
    Introduce /etc/vz/osrelease.conf to have these requirements
    configurable. Use new /dev/vzctl ioctl to set per-CT osrelease
    field, based on distro name and contents of osrelease.conf
    Signed-off-by: Kir Kolyshkin <>
Commits on Sep 8, 2010
  1. @kolyshkin

    init.d/vzfunctions: moved to $vzlibdir/initd-functions

    kolyshkin committed
    Apparently LSB forbids to put auxiliary stuff in /etc/init.d/, so
    move vzfunctions from there to $vzlibdir, renaming it to initd-functions
    to avoid confusion.
    Reported-by: Ola Lundqvist <>
    Signed-off-by: Kir Kolyshkin <>
  2. @kolyshkin

    man/vzeventd.8: add

    Thorsten Schifferdecker committed with kolyshkin
    Add the man page, required by Debian standards and useful overall.
    [ additions to man page; added it to vzctl.spec]
Commits on Sep 3, 2010
  1. @kolyshkin

    vzctl.spec: remove cron scripts, add vzfunctions

    kolyshkin committed
    Forgot to do it in commit 5b35797.
    Signed-off-by: Kir Kolyshkin <>
  2. @kolyshkin

    Remove cron functionality

    kolyshkin committed
    Previous commit adds vzeventd, so that makes cron trickery and scripts
    obsolete now.
    This should solve bugs like #1423.
    Signed-off-by: Kir Kolyshkin <>
  3. @kolyshkin

    vzeventd: initial implementation

    kolyshkin committed
    Recent OpenVZ kernels provided vzevent module which sends CT
    start/stop/reboot events (see bug #1427). This commit adds
    vzevent daemon, which reacts to such events and performs
    appropriate actions.
    Before vzeventd, the problem of restarting a CT which was rebooted from
    the inside, and the problem of cleaning up CT0 networking for a CT which
    was stopped from the inside were solved by using shell scripts run from
    cron, with some trickery inside a CT to mark it for reboot. The solution
    was suboptimal, cumbersome and ugly -- hopefully now with vzevent those
    kludges will be removed (by a separate commit).
    vzeventd is implemented as a daemon, plus there is a separate vzeventd
    initscript to start/stop it (and also load vzevent kernel module with
    the appropriate parameter). Since we now have two initscripts, common code
    (for init.d compatibility between Red Hat/Debian/SUSE) is moved into
    a separate file vzfunctions which is sourced from both initscripts.
    vzeventd listens to the events from the kernel (delivered via netlink
    socket). Current list of known events and associated vzeventd actions are:
    	start		ignore
    	stop		run /usr/lib/vzctl/scripts/vzevent-stop
    	mount		ignore
    	umount		ignore
    	reboot		run /usr/lib/vzctl/scripts/vzevent-reboot
    Events mount/umount are currently not implemented in the kernel for simfs.
    Event 'stop' is generated when CT is being stopped (either by vzctl or
    from inside the container, e.g. by executing halt). Script vzevent-stop
    does the following:
    	1. Waits till CT is stopped
    	2. Umounts CT if it's not unmounted
    	3. Cleans up CT0 network setup (i.e. arp and route records)
    Event 'reboot' is generated when CT is rebooted from inside (e.g. by
    executing reboot). Script vzevent-reboot does the following:
    	1. Waits till CT is stopped
    	2. Starts it (by running vzctl start).
    Signed-off-by: Kir Kolyshkin <>
Commits on Sep 1, 2010
  1. @kolyshkin

    vzctl stop: try to untangle CT IP cleanup mess

    kolyshkin committed
    OK, here is a mess.
    First, vps_stop() calls vps_cleanup_res() which calls run_net_script()
    which calls external shell script vps_net-del to clean up CT IPs.
    One problem is vps_cleanup_res() is called with STATE_STOPPING, which
    is ignored and run_net_script() is called with STATE_RUNNING (for
    whatever reason).
    Second, vps_stop() calls external shell script vps-stop which is
    supposed to take IP_ADDR environment variable. The problem is IP_ADDR
    is never passed. It's not a problem really since IP addresses were
    cleaned up already, there's actually no need for vps-stop at all.
    This is how we try to untangle it:
    1. Remove vps_cleanup_res(), do call run_net_script() directly.
    2. Supply STATE_STOPPING to the vps_net-del script.
    3. In vps_net-del, remove a file with CT IPs in case CT is stopping.
    4. Remove vps_stop and call to it -- it wasn't working/needed anyway.
    Signed-off-by: Kir Kolyshkin <>
Commits on Jun 12, 2010
  1. @kolyshkin

    Released vzctl 3.0.24

    kolyshkin committed
    * Added new swappages UBC parameter
    * Added new vzctl set --features: ppp, ipgre, bridge, nfsd
    * Feature 'sysfs' is now on by default
    * Added new CT parameter: bootorder (#1300)
    * Added delete alias for destroy command
    * Added unlimited CT config (#1080)
    * Added support for vps.create global user script
    * Added support for premount and postumount global and per-CT user scripts
    * Added ability to run vzctl set --save on a non-OpenVZ kernel
      (with --force, #847)
    * Added new global parameter ERROR_ON_ARPFAIL (#919)
    * Added vzctl enter --exec cmd (#658)
    * vzctl start --wait: added support for Ubuntu 9.10
    * Fixed working with long (more than 50 characters) CT names in vzctl/vzlist
    * Fixed using vzctl enter with busybox sh (#1314)
    * vzctl create: fix race vs init.d/vz (#495)
    * vzctl: allow dots in CT names (#1412)
    * vzctl set --iptables: add support for ipt_recent (#117)
    * vzctl set 0 --ioprio: made it working (#1062)
    * vzctl set ... --setmode: made it working for some cases not covered
      before (#1445)
    * vzctl set --hostname: fix removing short "ghost" names
      left in /etc/hosts (#1263)
    * vzctl set: fix handling config files which are cross-device
      symlinks (#1270)
    * vzctl set --ipdel all: fixed removing IPs from CT
    * vzctl start: mount /proc and /sys in container
    * vzctl chkpnt: remove dump file in case of error (#1201)
    * vzctl chkpnt: release cpt context before umounting root area
    * vzctl chkpnt/restore: handle hardlink directory
      (helps with live migrating CT over NFS)
    * vzctl restart: made it understand all 'start' and 'stop' options (#653)
    * vzctl runscript: do not umount CT if it was mounted before
    * vzctl status, vzlist: added new state -- suspended
    * vzlist: added new fields: onboot, bootorder, swappages, ioprio, ostemplate
    * vzlist: fixed swapping cpulimit and cpuunits for stopped CTs
    * vzlist: allow to list stopped CT's CPU parameters when OpenVZ is not loaded
    * vzlist: do not print spaces at end-of-line (#1419)
    * vzmigrate: added --rsync option (#640)
    * vzmigrate: add support for CT names (#1333)
    * vzmigrate: remove CT name after unsuccessful migration (#1413)
    * vzmigrate: check exit code from rsync (#1066, #1104, #1006, #879)
    * vzmigrate: fix export statement in dash (#1394)
    * vzmigrate: do not fail to migrate stopped CT when DISK_QUOTA=off (#1094)
    * vzmigrate: saner error messages, other cleanups
    * vzsplit: honor blocksize when calculating DISKSPACE (#912)
    * init.d/vz: print warning if IP forwarding is not enabled (#1079)
    * Fixed adding ARP records on network interface up (#556)
    * Fixed sending ARP if NEIGHBOUR_DEVS=detect (#1344)
    * Fixed IPv6 configuration on a debian lenny container (#824)
    * Fixed large CT checkpointing (when dump file size is more than 2GB)
    * Sanitized PATH variable for various vzctl actions (#1304)
    * bash-completion: add new parameters, multiple fixes (including #1388)
    * man/vzctl.8: document vzctl exit codes (#1274)
    * Some error messages fixed (proper English-wise)
    * A man page vps.conf(5) renamed to ctid.conf(5)
    * Lost of other man page fixes (including #1320, #1323, #903, #920, #879)
    * Code cleanups
    * Build system: enable silent build rules by default
    * Other fixes big and small not mentioned above (including #861, #1306,
      #1307, #1308, #1309, #1280, #1206, #1043, #1087, #1350, #1282, #993,
      #478, #1389, #1089, #1339, #1078, #1095)
    * New features (ipgre, bridge, nfsd, ppp) and new UBC parameter
      (swappages) requires appropriate kernels that support these
    OpenVZ project would like to thank the following people who contributed
    patches and/or provided bugreports for this vzctl release (in no particular
    * Dmitry V. Levin
    * mathgl
    * Ola Lundqvist
    * Peter Volkov
    * Cyrill Gorcunov
    * Ivan Vilata i Balaguer
    * Dietmar Maurer
    * Marcin Owsiany
    * Marat Stanichenko
    * Raphael Hertzog
    * М. Alhimenko
    * Petter Reinholdtsen
    * Slava Semushin
    * Floris Bos
    * Thomas Werschlein
    * Igor Sviridov
    * Andjelko Horvat
    * Konstantin Pavlov
    * Dimitri Puzin
    * Ignace Mouzannar
    * Piavlo
    * Roman Ustyugov
    * mogorva
    * Andrey Vagin
    * James Stanley
    * Matthias-Christian Ott
    * Àrea de Sistemes, ITI
    * Scott Dowdle
    * Kirill A. Korinskiy
    * Derek Poon
    * Raphael Geissert
    * Dennis P. Nikolaenko
    Signed-off-by: Kir Kolyshkin <>
Commits on Apr 6, 2010
  1. @kolyshkin

    man: vps.conf(5) renamed to ctid.conf(5)

    kolyshkin committed
    The term VPS is way obsolete.
    Signed-off-by: Kir Kolyshkin <>
Commits on Mar 19, 2010
  1. @kolyshkin

    install-redhat: fix case when ifup-local is already set up

    kolyshkin committed
    This is all messy because there is no something like Debian's
    /etc/network/if-up.d/ in Red Hat, there is only one script
    (/sbin/ifup-local). Therefere we need to check all the
    possible cases here:
     (1) In case there is no /sbin/ifup-local, add it as a symlink
         to our script vzifup-post.
     (2) In case /sbin/ifup-local exist, warn user that he needs to
         add a call to vzifup-post to it.
     (3) In case there is /sbin/ifup-post and it is a symlink to our
         script already, do nothing.
    So, (1) and (2) were implemented already, this patch adds (3) to
    both places we do tricks, i.e. a Makefile and vzctl.spec.
    Signed-off-by: Kir Kolyshkin <>
Commits on Mar 16, 2010
  1. @kolyshkin

    vzctl.spec: use %_smp_mflags to speed up rpm build

    kolyshkin committed
    As recommended by the Fedora Packaging Guidelines.
    Signed-off-by: Kir Kolyshkin <>
Commits on Oct 12, 2009
  1. @kolyshkin

    Add ARP records for containers' IPs on network interface up

    kolyshkin committed
    This fixes a long-standing bug -- if a network interface like eth0
    is restarted after some containers already went up, their appropriate
    ARP records became lost. This is usually the case with DHCP.
    To fix this, we need to hook on an interface up and add all the ARP
    records for all IPs of all the running containers. The adding is done
    by the added vzifup-post script. The hooking is distribution-specific:
     (1) Red Hat/Fedora/CentOS: use /sbin/ifup-local
     (2) SUSE: use /etc/sysconfig/network/if-up.d/
     (3) Debian/Ubuntu: /etc/network/if-up.d
     (4) Gentoo: use postup() in /etc/conf.d/net
    For all of the above the proper install-DISTRO target is added. In case of Gentoo
    we can only print a suggestion, for others create an appropriate symlink.
    Red Hat is a special case since there's no if-up.d and we can only use
    /sbin/ifup-local, so check that if does not exist and create a symlink,
    otherwise just print a suggestion to call our script from there.
    When building rpms do not install those symlinks, but rather have vzctl.spec's
    %post to do the job (and distinguish between suse and redhat).
    Suggestions for other distributions are welcome.
    Signed-off-by: Kir Kolyshkin <>
Commits on Jan 27, 2009
  1. @kolyshkin

    Rename sample config file 'vps.basic' to 'basic'

    kolyshkin committed
    Signed-off-by: Kir Kolyshkin <>
Something went wrong with that request. Please try again.