# changelog

author: Kir Kolyshkin <kir@openvz.org> - 4.5-1
changelog:
  - New functionality:
  -- vztmpl-dl: add --upload-all, --ignore-errors
  -- vztmpl-dl: add --list-remote, --list-local
  -- vztmpl-dl: do not check GPG signatures by default
  -- vztmpl-dl: add --gpg-check and --update options
  -- vz-postinstall: enable iptables for bridges (#2641)
  -- vz-postinstall: be verbose about what we do
  -- vzmigrate: support for VE_PRIVATE being a symlink (#2694)
  - Fixes:
  -- ndsend: fix option field in sending packets (#2709)
  -- libvzchown: link to -ldl (#2705)
  -- vps_create(): save LOCAL_UID/GID=0 if !userns for upstream CT
  -- vzctl.spec: run vz-postinstall on a fresh install only
  -- vz-postinstall: do not change rp_filter sysctl
  -- vzmigrate: remove a bashism
  -- vzctl create: fix running postcreate action wrt --ostemplate path/tmpl
  -- vzctl create: use proper version of basename()
  -- vzdaemon_stop(): don't return error if stopped already
  -- read_resolv_conf(): fix potential buffer overflow
  -- vzctl_env_switch_snapshot: fix leak on error path
  -- vzctl_env_convert_ploop(): check chmod return code
  - Improvements:
  -- veth: improve veth random MAC generation (#2695)
  -- vzctl start: always mount /dev/pts for upstream CT
  -- vzmigrate: add / to paths for rsync (#2686)
  -- load_ploop_lib(): load .so.1, try .so too (for ploop-1.9)
  -- scripts: use VPSCONFDIR instead of PKGCONFDIR/conf
  -- vzctl.spec: add /var/lib/vz as a symlink to /vz
  -- vzctl.spec: don't mark symlink as %dir
  -- vzctl.spec: remove a bunch of defines
  -- vzctl.spec: use /var/lib not /var/lib
  -- vzctl.spec: quote rpm macros
  -- vzctl.spec: remove extra slashes
  - Documentation:
  -- vztmpl-dl: improve usage
  -- vztmpl-dl(8): describe new options


author: Kir Kolyshkin <kir@openvz.org> - 4.5.1-1
changelog:
  - Fixes:
  -- Fix loading older (<1.9) ploop library (#2719)
  -- Fix installing rpm for people using /var/lib/vz (#2722)


author: Kir Kolyshkin <kir@openvz.org> - 4.6-1
changelog:
  - New functionality:
  -- Add iolimit and iopslimit (need kernel >= 042stab084.2)
  -- Add optional VM_OVERCOMMIT/--vm_overcommit parameter
  -- In VSwap mode, set some secondary UBCs if unset:
  --- lockedpages=oomguarpages=ram
  --- vmguarpages=ram+swap
  --- privvmpages=(ram+swap)*vm_overcommit (if set)
  -- vzoversell: add
  -- vztmpl-dl: add --list-orphans
  -- vztmpl-dl: add --quiet/--no-quiet
  -- vzubc: don't show unlimited ubcs by default; add -v to show
  -- vzlist: add new fields (vm_overcommit, iolimit, iopslimit)
  - Fixes:
  -- Fix quota on ploop for RHEL5 CT
  -- vzctl console: hack to force redraw on reattach
  -- set_ublimit(): don't set unknown UBs to unlim (#2760)
  -- init.d/vzeventd: set reboot_event (#2764)
  -- arch.conf: add POST_CREATE (#2371)
  -- configure: fix libdir for Debian/Ubuntu case
  -- ct_env_create_real(): fix build for IA64
  -- vzctl create, vzctl exec: do skip fsck
  -- init.d/vz-gentoo: fix setting default for NET_MODULES and PLOOP_MODULES
  -- init.d/vz-redhat: don't reset cpulimits for all CTs
  - Improvements:
  -- Add a way to not modify sysctl.conf on installation (#2375)
  -- vzctl set --reset_ub: only allow for running CT
  -- init.d/vzeventd-redhat: switch to strict bash
  -- vz-postinstall: don't add bridge params to sysctl.conf
  -- vzlist: skip mounted status check if not needed
  -- vzubc: print errors to stderr
  -- vzctl start: don't start CT if /proc mount failed
  -- vzevent-stop: check for suspend/chkpnt
  -- init.d/vz*: unset io limits before stopping CT
  -- [build] setver.sh: add build_id, use getopt
  -- assorted minor code improvements
  - Documentation:
  -- vzctl(8), ctid.conf(5): document vm_overcommit
  -- vzctl(8): fix per-CT action script prefix
  -- vz.conf(5): LOGFILE don't have a default
  -- man: don't hardcode configurable paths
  -- vzlist(8): fix a subsection reference
  -- vzlist(8): fix indentation


author: Kir Kolyshkin <kir@openvz.org> - 4.6.1-1
changelog:
  - Fixes:
  -- vzctl set: require swap to be set for VSwap
  -- fill_vswap_ub(): fix a potential segfault
  -- ndsend: clear reserved2 field (#2804)
  -- vzubc: fix to work in old mawk (#2793)
  -- vzlist: fix bogus CTIDs in list (#2830)
  -- vzctl start: don't fail if VE_ROOT does not exist (#2807)


author: Kir Kolyshkin <kir@openvz.org> - 4.7-1
changelog:
  - New functionality and important changes:
  -- Disable conntrack for VE0 by default (#2755)
  -- vzctl set --diskspace: add --offline-resize (#2281)
  -- vzctl create: use ploop by default
  -- vzctl create, vzctl convert: honor diskinodes for ploop (#2898)
  -- vzctl create: add --diskinodes
  -- vzctl set: new option --netfilter to replace --iptables
  -- vzmigrate: support for copying CT dump file
  -- vzmigrate: introduce/use vzfsync for ploop (to shorten CT freeze time)
  -- bash-completion: CTIDs on ploop for compact
  -- vzctl create: honor MOUNT_OPTS
  -- vzctl console: add set_console dist script (#2865)
  -- vzctl snapshot-switch: add --skip_arpdetect option
  -- vzctl snapshot-switch: add --skip-resume, --skip-config
  -- vzctl set --diskinodes, DISKINODES: allow suffixes (KMG)
  -- vzpid: new option "-p" to show in-container PID(s)
  -- etc/vz.conf: add SKIP_ARPDETECT example
  -- etc/vz.conf: use ploop by default
  -- etc/vz.conf: use vswap config by default
  -- etc/vz.conf: merge IP6TABLES to IPTABLES_MODULES
  - Fixes:
  -- vzctl destroy: fix locking (#2814)
  -- debian-add_ip.sh: setup loopback device at least (#2859)
  -- vzctl start --wait: fix for non-standard Debian 7
  -- postcreate.sh: add Fedora 20+
  -- postcreate.sh: set file caps for suse 13.1+
  -- vzmigrate: fix ploop for diff VE_PRIVATE case (#2875)
  -- vzmigrate: hide ploop getdev output
  -- vzctl status, snapshot-list: don't mess with stdout even when verbose
  -- vzlist: don't spoil output with ploop messages
  -- logger.c: fix wrt ploop logging
  -- etc/network/if-up.d/vzifup-post: fix for Debian Wheezy (#2914)
  -- hooks_ct.c: bind-mount root to itself (fix for kernel v3.11+)
  -- hooks_ct: mount /proc and /sys before umounting old root
  -- bash_completion: replace exit with return
  -- bash_completion.d: add --quiet to vzctl
  -- vzmigrate: call vzctl status with --quiet
  -- vzcptcheck: fix program name in usage
  - Improvements:
  -- add_reach_runlevel_mark(): improve error messages
  -- set(): don't ignore fail from fill_vswap_ub()
  -- vzctl restore: warn in CPT_SET_LOCKFD2 not supported
  -- config.c: add SKIP_ARPDETECT to ignored list
  -- vzmigrate: lock CT locally
  -- vzmigrate --live: check for running CT earlier
  -- destroy_dump(): don't log "Removing" if no dump
  -- etc/conf/*sample: tune DISKINODES for ploop diskspace/diskinodes ratio
  -- etc/conf/ve-unlimited.conf-sample: remove
  -- hooks_ct: remove non-working devpts mount
  -- hooks_ct: mount devtmpfs in CT
  -- ct_chroot(): do not change a set of CT0's mounts
  -- parse_netif_str(): improve NETIF= param parsing
  -- setup_hardlink_dir(): show error if mkdir() failed
  - Documentation:
  -- vzctl(8): document MAX_VEID (#2784)
  -- vzctl --help: fix convert synopsys
  - Build system:
  -- setver.sh: rework buildid
  -- setver.sh: make it work on fresh git source
  -- autogen.sh, setver.sh: fix build from screwed git repo
  -- vzctl.spec: require bridge-utils (as we use brctl)


author: Kir Kolyshkin <kir@openvz.org> - 4.7.2-1
changelog:
  - vzlist: don't complain about missing ploop-lib (#2952)
  - setup_console: don't execute on older kernels (#2961)
  - clean_hardlink_dir(): note unlink/rmdir errors
  - vzctl(8): fix a typo


author: Kir Kolyshkin <kir@openvz.org> - 4.8-1
changelog:
  - New functionality and important changes:
  -- vzctl set: add NUMA --nodemask (sponsored by FastVPS)
  -- vzmigrate: speed up by using se ploop copy with feedback if available
  -- vzmigrate: speed up by reusing ssh connection
  -- init.d/vz: show CT stop status
  -- init.d/vz: implement parallel CT start (#2954, #2084)
  -- init.d/vz, vz.conf: use/expose VE_PARALLEL
  -- vzctl start,restore: add --skip-remount
  -- vzctl snapshot-switch: add --must-restore
  -- vzmigrate: ability to run ploop copy with timestamps
  - Fixes:
  -- vzctl.spec: disable VE0 conntracks only if unused (#2755)
  -- vzmigrate: fix for --snapshot (#2907)
  -- vzmigrate: don't run vzfsync if there is no need (#3055)
  -- vzmigrate: undo_lock if check_cpt_props failed
  -- vzmigrate: don't exit 1 on success
  -- vzlist: fix showing DISABLED (#3029)
  -- vzlist: fix cpulimit rounding (#3063)
  -- redhat-set_hostname.sh: fix for F15+/RHEL7 (#3051)
  -- vzctl compact: use built-in PATH (#2990)
  -- postcreate.sh: fix caps for suexec
  - Improvements:
  -- debian-add_ip.sh: support for Ubuntu 14.04
  -- postcreate.sh: add RHEL7/CentOS7 support
  -- vzctl create --diskinodes: check for max ploop size
  -- vzctl set --ostemplate: require --save (#2909)
  -- vzmigrate: don't specify default cipher
  -- vzmigrate: use getopt for option parsing
  -- vzmigrate: detect "can't lock CT" error
  -- vzmigrate: don't use rsync --delete-excluded
  -- cpumask: allow for up to 4096 CPUs
  -- vz_setcpu(): don't ignore errors from set_cpu*
  -- fixed a few memory leaks and non-closed fds reported by Coverity
  -- compare_osrelease(): fix for 3.x kernels
  -- parse_{chkpnt,restore}_opt: don't print error twice
  -- parse*opt(): add/improve extra args check
  -- vzctl create: improve "no ploop" error message
  - Documentation:
  -- vznnc(8): add
  -- vzctl --help: fix iolimit
  -- vzctl(8): document set --ostemplate (#2909)
  -- vzctl(8): add --nodemask, --must-restore, --skip-remount
  -- vzctl(8): improve --netfilter
  -- vz.conf(5): document VE_PARALLEL
  -- vzmigrate(8), vzmigrate --help: document --ssh-mux
  - Build system:
  -- setver.sh: check for ./configure to run autogen
  -- setver.sh: abort if autogen.sh/configure fails


author: Kir Kolyshkin <kir@openvz.org> - 4.9-1
changelog:
  - New functionality and important changes:
  -- vzmigrate: check CPU caps for suspended CT
  -- suse-{add,del}_ip.sh: support for IP mask
  -- vz.conf: allow list of interfaces in NEIGHBOUR_DEVS (#1289, #3192)
  -- Introduce funtoo-set_hostname (#3097)
  -- vz-postinstall: add a way to disable stock distro kernels from repos
  -- vzctl set --devnodes|--devices: made cumulative, fix
  -- vzctl set --devnodes: remove devices from CT
  -- vzctl start/resume: load kernel modules needed for CT
  -- vzctl create: disallow VE_PRIVATE be a mount point (#3166)
  -- vzevent: try to run a script for all known events
  -- vzctl restore|resume: add --skip-fsck
  - Fixes:
  -- redhat-add_ip.sh: support for Fedora 21 and RHEL/CentOS 7.1 (#3169)
  -- vzctl snapshot-delete: ignore ploop 'no guid found'
  -- suse-add_ip.sh: fix for venet routing in SUSE 13.2
  -- osrelease.conf: add suse 13.2
  -- vzctl chkpnt: workaround for ENOSPC
  -- ct_enter(): enter mnt namespace last (#3038)
  -- vzmigrate: fix for vzfsync if VE_PRIVATE differs (#3170)
  -- init.d/vz-gentoo: fix a typo
  -- vzctl.spec: fix iptables checking for RHEL5 (#2755)
  -- vzmigrate: use DUMPDIR for CT dump (#3054)
  -- vzmigrate: don't hardcode /vz/lock, use LOCKDIR (#2976)
  -- vzmigrate: use C locale (#3049)
  -- vzlist: fix cpuunits rounding (#3120)
  -- snapshot-switch --must-restore: fix restoring config
  -- fs_create: lock private
  -- vps_create: minor fixes to cleanup logic
  -- make_dir_mode(): ignore EEXIST from mkdir()
  -- vzlist -j: output valid JSON for no CTs
  -- init.d/vz-redhat: fix exit codes according to LSB (#3195)
  - Improvements:
  -- vzmigrate: random ports for ploop copy (#3052)
  -- vzctl start: close extra fds later (#3091)
  -- vzctl start: mkdir /proc in CT if needed (#3091)
  -- vzctl create: fix an error message
  -- vzctl.spec: require recent RHEL6 kernel (#3094)
  -- init.d/vz*: load pio_kaio
  -- suse-add_ip.sh: fix a warning
  -- suse-del_ip.sh: remove venet routes
  -- init.d/vz-redhat: fix a bashism (#3148)
  -- vzctl delete: do rm config/dump even if failed to rm VE_PRIVATE
  -- dists/scripts/{funtoo,gentoo}*: remove env var doc
  -- debian-add_ip.sh: silent an error
  -- vzeventd: ignore non-existent event scripts
  - Documentation:
  -- vzeventd(8): document new behavior
  -- vzcptcheck(8): describe caps check w/o CTID
  -- vz.conf(5): describe new NEIGHBOUR_DEV syntax


author: Kir Kolyshkin <kir@openvz.org> - 4.9.1-1
changelog:
  - create_hardlink_dir(): fix wrong owner/perms case (#3222)
  - vzctl.spec: drop the "Conflicts: vzkernel" (#3219)


author: Kir Kolyshkin <kir@openvz.org> - 4.9.2-1
changelog:
  - store_devnodes: fix NULL deref (#3228)
  - vps-create.sh: use stat -f instead of df
  - vzctl.spec: require attr package


