OpenVZ-legacy
  1. OpenVZ-legacy

vzctl.ovzl

Public
AuthorCommitMessageCommit dateIssues
Dmitry MishinDmitry Mishin
d72fdeb86a1Released vzctl-3.0.12-1
Igor SukhihDmitry MishinIgor Sukhih
3701941b4bcFixed vzgetnetdev() function operations with mawk.In Debian mawk is the default awk version. It doesn't understand some advanced syntax, such as "[[:space:]]" or "\<,\>". Noticed by Thorsten Schifferdecker.
Thorsten SchifferdeckerDmitry MishinThorsten Schifferdecker
63f926538d8Fixed typo in set_name() function.
Thorsten SchifferdeckerDmitry MishinThorsten Schifferdecker
142c8920416Changed path to vznetcfg scriptThis patch changes path to vznetcfg script from /sbin to /usr/sbin for uniformity.
Igor SukhihDmitry MishinIgor Sukhih
559ad7305c3Pass veid in environment VEID=veid for vznetcfg
Kristian HøghDmitry MishinKristian Høgh
5e4757e226cFixed bash autocompletion scriptThis patch removes misplaced "," on line 108 in etc/bash_completion.d/vzctl.sh
Igor SukhihIgor Sukhih
ce27e73c176Fixed '--meminfo=privvmpages:x' setup on VE start
Igor SukhihIgor Sukhih
0aefe278f7bWait untill default runlevel reached on VE start--wait option added 'vzctl start VEID --wait' in this case the line vz:2345:once:sh -c 'if [ -p /.vzfifo ]; then echo done > /.vzfifo; fi' added to /etc/inittab and vzctl wait on fifo. The timeout set to 60 min.
Igor SukhihIgor Sukhih
4185b48d4bfFixed compilation warning
Igor SukhihIgor Sukhih
45b869166ccAdded vznetcfg scriptThe script bring up veth device
Igor SukhihIgor Sukhih
2ad5625152dChanged vznetcfg usage to 'vznetcfg init veth <dev>'
Igor SukhihIgor Sukhih
21d8f2ced72fixed error message in case kernel compiled without USER_RESOURCEShttp://bugzilla.openvz.org/show_bug.cgi?id=180
Igor SukhihIgor Sukhih
da438e655c0Call /sbin/vznetcfg on creating veth devicehttp://bugzilla.openvz.org/show_bug.cgi?id=196
Igor SukhihIgor Sukhih
2d66afb671dAdded check is VE running on destroyVE could be umounted inside VE by 'mount -f'
Igor SukhihIgor Sukhih
762130a11aaRedirect info messages to stdouthttp://bugzilla.openvz.org/show_bug.cgi?id=275
Igor SukhihIgor Sukhih
24c43f98800Fixed getting VE mount status in case mount point has links in pathuse realpath() libc function to get canonical name. http://bugzilla.openvz.org/show_bug.cgi?id=279
Igor SukhihIgor Sukhih
af11995da69Fixed processing DUMPDIR global parameterhttp://bugzilla.openvz.org/show_bug.cgi?id=273
Igor SukhihIgor Sukhih
27c2c019439Do not cancel ditribution configuration file parse in case missing script
Igor SukhihIgor Sukhih
1ab768aa8f9Fixed restart actionInformation for ip cleanup was passed to start function http://bugzilla.openvz.org/show_bug.cgi?id=270
Igor SukhihIgor Sukhih
f3eca6d5ac0Updated vzctl.8 (--applyconfig_map <name>)
Andrey MirkinDmitry MishinAndrey Mirkin
7142539d843vzmigrate support for VE name feature.vzmigrate should check if the name is present on the destination node and fail if so.
Dmitry MishinDmitry Mishin
fb60ff89454vzgetnetdev optimizationvzgetnetdev() is optimized to use only one IP_CMD call.
Igor SukhihIgor Sukhih
6199f4920f8Added --applyconfig_map nameinternal command for restore name based on VE config NAME variable
Igor SukhihIgor Sukhih
c132c5405f7Friendly name redisignNow name is link that point on VE configuration file
Dmitry MishinDmitry Mishin
c4421c2066bFixed annoying arpsend warning on VE startThe problem arises when there are UP devices with no assigned IP. Arpsend can't form ARP packet without it and thus fails, raises: arpsend: can't get iface ethX address : Cannot assign requested address vps-net_add WARNING: arpsend -c 1 -w 1 -D -e *** ethX: FAILED warning. This is not good as attempt to send ARP from the interface without IP is useless. So, filter is fixed in order to exclu...
Andrey MirkinKir KolyshkinAndrey Mirkin
e859d9b0536Correct check for readability of both global OpenVZ and VE configs
Kir KolyshkinKir Kolyshkin
c3ea5359cd6vzcpucheck: print error if VE0 CPU units not set (bug #249)The problem is if VE0 CPU units is not set (e.g. /etc/init.d/vz not started) the utility prints bogus information that the node is overcommitted. To fix, we check that VE0 cpuweight is not 1, and print an appropriate error. Potential problem is VE0 cpuweight can be explicitly set to 1 (for example, by setting VE0CPUUNITS=500000 in /etc/vz/vz.conf) -- but this is wrong setting anyway. Still, w...
Kir KolyshkinKir Kolyshkin
3e59709d283Fixed 'make install' for bash-completion script, added to spec
Kir KolyshkinKir Kolyshkin
3db5def9475.spec cleanup: some path defines changed* Use _sysconfdir * Define udev rules.d dir * Use defines whenever possible
Kir KolyshkinKir Kolyshkin
d1153cb448e.spec cleanup: remove %_mandir define%_mandir was defined explicitly because in some old version of Red Hat (like 7.1 -- do not remember exact version now) it was defined incorrectly. This is not the case now, thus removing the define.
Kir KolyshkinKir Kolyshkin
ba22a699dc3Fixed vps -> ve in vzctl --help output (bug #263).
August ZajoncKir KolyshkinAugust Zajonc
b366969a0a3Change vpsid -> veid in vzctl --help output (bug #263).http://bugzilla.openvz.org/263
Kir KolyshkinKir Kolyshkin
c8f6d4c929dFixed compilation.Fixed a typo introduced by the previous patch: d5400e0446a92aff7339d06876ea4f59e9263c74
Kir KolyshkinKir Kolyshkin
d5400e0446aGlobal VPS -> VE renaming madness.Hope I haven't b0rked everything.
Kir KolyshkinKir Kolyshkin
e3869fe9e70Man pages cleanup.VPS -> VE, removed CVS $Id$'s, updated dates, some other minor fixes.
Dmitry MishinDmitry Mishin
6bdbe093b5fUpped version.
Igor SukhihIgor Sukhih
8823815bc7cMissed part of 'Replace sprintf() -> snprintf() to avoid possible buffer overflow.'
Dmitry MishinDmitry Mishin
98ed0077123Added bash completion scriptIt allows to auto-complete vzctl commands by TAB. It requires that your distribution supports bash completion.
Dmitry MishinDmitry Mishin
4391a321c04vzmigrate should check is OVZ running on remote side
Dmitry MishinDmitry Mishin
d1c110f5158Remove debian directory from the sourcesThis directory will be added later by debian packages (bugs #197, #194)
Kir KolyshkinKir Kolyshkin
0000d1a4fd6Man page fixes, VPS->VE, added --name description (bug #232).This patch is in addition to 0c4d2abe1f18993fc871e19af62f90651a56ac7e http://bugzilla.openvz.org/232
Kir KolyshkinKir Kolyshkin
d0b9ec159e9Fixed arpsend options parsing for some compilers (bug #261)http://bugzilla.openvz.org/261
Kir KolyshkinKir Kolyshkin
8899cd10cdfCheck for /dev/vzctl only after modules were loaded (bug #204)This is a hunk for gentoo's init.d script. http://bugzilla.openvz.org/204
Kir KolyshkinKir Kolyshkin
6a1aaa413a4Added Gentoo-specific init.d script and 'make install-gentoo' (bug #262)
Kir KolyshkinKir Kolyshkin
ee7435b86eeRemoved distribution-specific stuff from 'make install' (bug #254)The problem is vzctl's make install installs /etc/init.d/vz and /etc/sysconfig/network-scripts/*venet0. /etc/init.d/vz is RedHat/SUSE specific and does not make sense on, say, Gentoo. So this needs to be removed from make install (and added to make install-redhat). /etc/sysconfig/network-scripts/*venet0 is RedHat-specific as well. Same applies. http://bugzilla.openvz.org/254
Kir KolyshkinKir Kolyshkin
b98c0b4f0eeAdded all missing ChangeLog entries since 3.0.11 release
Kir KolyshkinKir Kolyshkin
f2ac4b01378Fixed a mistype in a comment (bug #228)This is an additional hunk to commit 6b349c3d3adea85c73452d269a8278d86a35795f http://bugzilla.openvz.org/228
Kir KolyshkinKir Kolyshkin
1eb3cfac565We need -m64 for ppc64 in order to get proper ioctls.OpenVZ bug #197 (http://bugzilla.openvz.org/197).
Kir KolyshkinIgor SukhihKir Kolyshkin
46e45d11596Create /dev/vzctl (if not exists) after modules loadedAlso, in the /etc/init.d/vz script you should load modules first, then check for /dev/vzctl -- since these are modules (and udev) which makes /dev/vzctl appears. http://bugzilla.openvz.org/show_bug.cgi?id=204
Kir KolyshkinIgor SukhihKir Kolyshkin
ec2247177ddAdded syscall numbers for ppc.http://bugzilla.openvz.org/show_bug.cgi?id=253