Difference between revisions of "Download/vzctl/4.1/changes"

From OpenVZ Virtuozzo Containers Wiki
< Download‎ | vzctl‎ | 4.1
Jump to: navigation, search
(added Paweł Tęcza to thanks)
(+ bug 2376)
Line 16: Line 16:
 
* vps-create: fix checking needed disk space ({{B|2413}})
 
* vps-create: fix checking needed disk space ({{B|2413}})
 
* vzctl set --mount_opts: fix a segfault ({{B|2385}})
 
* vzctl set --mount_opts: fix a segfault ({{B|2385}})
 +
* suse-add_ip.sh: only set default route to venet0 if there is no other ({{B|2376}})
 
* set_userpass.sh: fix bashism ({{B|2403}})
 
* set_userpass.sh: fix bashism ({{B|2403}})
 
* vzctl_resize_image(): initialize ploop_resize_param
 
* vzctl_resize_image(): initialize ploop_resize_param
Line 61: Line 62:
 
* Glauber Costa
 
* Glauber Costa
 
* Paweł Tęcza
 
* Paweł Tęcza
 +
* Andres Toomsalu

Revision as of 07:53, 31 October 2012

Changes

Since 4.0:

New features

  • etc/init.d/vz: restore running containers after reboot (#781)
  • etc/init.d/vz: faster restart by doing CT suspend instead of stop (#2325)
  • vzctl start: try to restore CT first if default dump file exists
  • Add OOM adjustments configuration (see /etc/vz/oom-groups.conf)
  • If a CT is locked, show pid and cmdline of a locker
  • vzctl snapshot: add --skip-config option
  • vzctl: add 'suspend' and 'resume' aliases (for 'chkpnt' and 'restore')

Fixes

  • vzctl snapshot: fix storing CT config file
  • vzctl snapshot-switch: fix restoring CT config file
  • vps-create: fix checking needed disk space (#2413)
  • vzctl set --mount_opts: fix a segfault (#2385)
  • suse-add_ip.sh: only set default route to venet0 if there is no other (#2376)
  • set_userpass.sh: fix bashism (#2403)
  • vzctl_resize_image(): initialize ploop_resize_param
  • getlockpid(): fix potential buffer overflow
  • Do not call xmlCleanupParser() from vzctl
  • Fixed compilation with libcgroup-0.37-r2 (#2370)
  • Properly return errors in cgroup_init() (#2372)
  • Print failures in ct_do_open directly to stderr
  • vzeventd: do process -h option

Improvements

  • etc/init.d/vz* stop: set cpuunits for all CTs at once
  • vzctl snapshot*: improve --id parameter parsing (validate, curly brackets are optional)
  • vzctl umount: handle the case when CT have deleted mount points
  • vzctl restore: do not print "Starting container"
  • vzctl restore: print 'restore failed' not 'start failed'
  • scripts/vps-download: fix bogus warning from checkbashisms
  • vzctl_merge_snapshot(): simplify return code handling
  • Simplify ct_chroot() (no need to umount each mount point)

Documentation

  • vzctl(8): improved vzctl create --layout/--diskspace description
  • vzctl(8): improve --diskspace description
  • vzctl(8): disambiguate 'it' in snapshot-switch description

Build

  • configure: add ability to alter /vz path (#421)
  • src/Makefile.am: fix building with builddir != srcdir (#2375)
  • Makefile.am: use AM_CPPFLAGS (not AM_CFLAGS)
  • setver.sh: restore original configure.ac and vzctl.spec if building
  • setver.sh: clean up dist tarball (if building) and rpms (if installing)

Thanks

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):

  • Richard H.
  • Raphael Geissert
  • Ola Lundqvist
  • Pavel Odintsov
  • Dmitry Kopytov
  • Thorsten Schifferdecker
  • Maksim Melnikau
  • Andrey Vagin
  • Glauber Costa
  • Paweł Tęcza
  • Andres Toomsalu