Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Download/vzctl/4.1/changes

2,148 bytes added, 21:33, 30 October 2012
created (incomplete)
== Changes ==
Since {{dlink|vzctl|4.0}}:

'''New features'''
* etc/init.d/vz: restore running containers after reboot ({{B|781}})
* etc/init.d/vz: faster restart by doing CT suspend instead of stop ({{B|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 ({{B|2413}})
* vzctl set --mount_opts: fix a segfault ({{B|2385}})
* set_userpass.sh: fix bashism ({{B|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 ({{B|2370}})
* Properly return errors in cgroup_init() ({{B|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
* src/Makefile.am: fix building with builddir != srcdir ({{B|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)