]>
git.proxmox.com Git - pve-common.git/log
Dietmar Maurer [Mon, 28 Jan 2013 10:23:39 +0000 (11:23 +0100)]
fix syntax error
Dietmar Maurer [Mon, 28 Jan 2013 06:00:04 +0000 (07:00 +0100)]
tc: use rate filter with mtu 64k
also see: http://www.redhat.com/archives/libvir-list/2012-June/msg01306.html
Dietmar Maurer [Mon, 31 Dec 2012 07:23:05 +0000 (08:23 +0100)]
correctly count sockets
Physical IDs may not start at 0.
bump version to 1.0-41
Dietmar Maurer [Mon, 10 Dec 2012 11:50:38 +0000 (12:50 +0100)]
implement afterfork callback
Dietmar Maurer [Wed, 31 Oct 2012 12:55:26 +0000 (13:55 +0100)]
bump version to 1.0-39
Stefan Priebe [Wed, 31 Oct 2012 11:16:57 +0000 (12:16 +0100)]
PVE/AbstractMigrate: remove hardcoded blowfish cipher
Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
Dietmar Maurer [Wed, 31 Oct 2012 07:22:40 +0000 (08:22 +0100)]
fix bug #273: retry flock if it fails with EINTR
Dietmar Maurer [Mon, 29 Oct 2012 08:45:50 +0000 (09:45 +0100)]
fix bug #264: use option pipefail for shell commands
Normal unix shell pipe return the exits status of the last command.
If pipefail is enabled, the pipeline's return status is the value of
the last (rightmost) command to exit with a non-zero status, or zero
if all commands exit successfully.
Dietmar Maurer [Wed, 24 Oct 2012 06:21:29 +0000 (08:21 +0200)]
new helper wait_for_vnc_port()
Dietmar Maurer [Mon, 15 Oct 2012 04:33:43 +0000 (06:33 +0200)]
fix bug in read_memory_usage
Dietmar Maurer [Tue, 2 Oct 2012 06:05:33 +0000 (08:05 +0200)]
file_read_firstline: avoid warning with empty files
Dietmar Maurer [Wed, 26 Sep 2012 11:18:19 +0000 (13:18 +0200)]
fix run_command: restore umask correctly
Dietmar Maurer [Tue, 25 Sep 2012 04:08:19 +0000 (06:08 +0200)]
fix typo in error message
Dietmar Maurer [Tue, 11 Sep 2012 07:22:47 +0000 (09:22 +0200)]
minor fix: remove debug output
Dietmar Maurer [Thu, 2 Aug 2012 05:28:38 +0000 (07:28 +0200)]
fix regex for network devices
Dietmar Maurer [Thu, 14 Jun 2012 07:08:48 +0000 (09:08 +0200)]
use rsync flags AX (preserve ACLs and xattr)
Dietmar Maurer [Tue, 22 May 2012 05:18:42 +0000 (07:18 +0200)]
increase RELEASE to 2.1
Dietmar Maurer [Wed, 16 May 2012 05:19:54 +0000 (07:19 +0200)]
added SectionConfig.pm, base class for Storage and Auth plugins.
Dietmar Maurer [Fri, 20 Apr 2012 06:33:21 +0000 (08:33 +0200)]
use DNS compatible regex in upid parser
Dietmar Maurer [Wed, 11 Apr 2012 06:35:47 +0000 (08:35 +0200)]
add Turkish keyboard mappings
Dietmar Maurer [Mon, 2 Apr 2012 12:12:44 +0000 (14:12 +0200)]
fix bug #135: use DNS compatible naming for 'pve-node'
Dietmar Maurer [Mon, 2 Apr 2012 10:08:02 +0000 (12:08 +0200)]
fix bug #135: allow single letter 'dns-name', allow to start name with numbers
Dietmar Maurer [Wed, 28 Mar 2012 08:33:07 +0000 (10:33 +0200)]
new function to setup tc rate limits.
Dietmar Maurer [Wed, 28 Mar 2012 08:24:28 +0000 (10:24 +0200)]
add vlan setup code to PVE::Network
Dietmar Maurer [Wed, 28 Mar 2012 08:21:25 +0000 (10:21 +0200)]
remove exec permissions
Dietmar Maurer [Wed, 28 Mar 2012 05:58:05 +0000 (07:58 +0200)]
moved dir_glob_regex() and dir_glob_foreach() from PVE::Storage
Dietmar Maurer [Mon, 26 Mar 2012 05:54:29 +0000 (07:54 +0200)]
return number of sockets in read_cpuinfo
Dietmar Maurer [Tue, 20 Mar 2012 10:21:38 +0000 (11:21 +0100)]
use Digest::SHA instead of Digest::SHA1
Dietmar Maurer [Mon, 19 Mar 2012 12:30:40 +0000 (13:30 +0100)]
fix bug #116, #103: try to keep ordering in /etc/network/interfaces
Dietmar Maurer [Tue, 13 Mar 2012 05:56:31 +0000 (06:56 +0100)]
remove 'name' to the list of utf8 encoded parameters.
Revert previous change. Add dns-name format instead.
Dietmar Maurer [Mon, 12 Mar 2012 11:31:59 +0000 (12:31 +0100)]
add 'name' to the list of utf8 encoded parameters
Dietmar Maurer [Fri, 2 Mar 2012 11:49:01 +0000 (12:49 +0100)]
try to keep ordering in /etc/network/interfaces
Dietmar Maurer [Thu, 1 Mar 2012 11:36:56 +0000 (12:36 +0100)]
cleanup error message from usermod command
Dietmar Maurer [Thu, 1 Mar 2012 08:52:12 +0000 (09:52 +0100)]
try to keep comments in /etc/network/interfaces
Dietmar Maurer [Mon, 27 Feb 2012 08:47:07 +0000 (09:47 +0100)]
add Swedish keymap
Dietmar Maurer [Thu, 16 Feb 2012 14:12:38 +0000 (15:12 +0100)]
increase version to 1.0-14 for RC1
Dietmar Maurer [Thu, 26 Jan 2012 10:54:42 +0000 (11:54 +0100)]
moved format definition from pve-storage
Dietmar Maurer [Thu, 26 Jan 2012 05:56:56 +0000 (06:56 +0100)]
allow to pass undefined value to template_replace
Dietmar Maurer [Tue, 24 Jan 2012 05:49:29 +0000 (06:49 +0100)]
fix usage string
Dietmar Maurer [Mon, 23 Jan 2012 10:25:38 +0000 (11:25 +0100)]
support check and description property for permission
And revove old path/priv properties.
Dietmar Maurer [Fri, 20 Jan 2012 06:05:16 +0000 (07:05 +0100)]
new helper raise_perm_exc
Dietmar Maurer [Thu, 19 Jan 2012 13:01:02 +0000 (14:01 +0100)]
new helper decode_utf8_parameters()
Both CGI.pm and Getopt.pm does not decode utf8 strings, so we need
to do that manually.
Dietmar Maurer [Mon, 9 Jan 2012 11:30:48 +0000 (12:30 +0100)]
fix bug 77: only use cmd2string when necessary
Dietmar Maurer [Mon, 9 Jan 2012 10:44:52 +0000 (11:44 +0100)]
new helper kvmkeymaplist()
Dietmar Maurer [Thu, 15 Dec 2011 10:24:05 +0000 (11:24 +0100)]
split out run_with_timeout()
Dietmar Maurer [Thu, 8 Dec 2011 05:45:23 +0000 (06:45 +0100)]
use correct log function
Dietmar Maurer [Mon, 5 Dec 2011 06:21:53 +0000 (07:21 +0100)]
implement AbstractMigrate.pm
Dietmar Maurer [Fri, 2 Dec 2011 05:28:43 +0000 (06:28 +0100)]
correctly call errfunc inside run_command
Dietmar Maurer [Thu, 1 Dec 2011 06:37:22 +0000 (07:37 +0100)]
new helper cmd2string
Dietmar Maurer [Tue, 29 Nov 2011 05:14:43 +0000 (06:14 +0100)]
add liblocale-po-perl to prerequisites
Dietmar Maurer [Wed, 23 Nov 2011 07:37:27 +0000 (08:37 +0100)]
make cli argument parser more flexible
Dietmar Maurer [Wed, 9 Nov 2011 09:08:19 +0000 (10:08 +0100)]
update version to 1.0-7
Dietmar Maurer [Tue, 8 Nov 2011 06:37:12 +0000 (07:37 +0100)]
new helper dump_logfile
Dietmar Maurer [Tue, 8 Nov 2011 06:36:11 +0000 (07:36 +0100)]
only set list_param if we pass args
Dietmar Maurer [Thu, 27 Oct 2011 09:13:23 +0000 (11:13 +0200)]
fix bug #23: add gid parameter to chown call
Dietmar Maurer [Tue, 25 Oct 2011 11:35:08 +0000 (13:35 +0200)]
use package libstring-shellquote-perl
Dietmar Maurer [Tue, 25 Oct 2011 11:08:09 +0000 (13:08 +0200)]
use Text::ParseWords for split_args
Dietmar Maurer [Tue, 25 Oct 2011 10:18:41 +0000 (12:18 +0200)]
add split_args helper function
Dietmar Maurer [Tue, 25 Oct 2011 09:36:28 +0000 (11:36 +0200)]
add shellquote utility function
Dietmar Maurer [Tue, 25 Oct 2011 06:36:28 +0000 (08:36 +0200)]
introduce '-alist' format
This new meta-format is used for list which need to be 0 terminated.
The default '-list' format is now always [,; ] terminated.
Dietmar Maurer [Wed, 19 Oct 2011 05:29:41 +0000 (07:29 +0200)]
fix stdin/sdout redirection
Dietmar Maurer [Wed, 19 Oct 2011 04:22:30 +0000 (06:22 +0200)]
allow to pass single '-' as argument.
Dietmar Maurer [Fri, 14 Oct 2011 08:48:57 +0000 (10:48 +0200)]
add logfunc callback to run_command
logfunc() is called with stdout and stderr.
Dietmar Maurer [Fri, 14 Oct 2011 08:02:51 +0000 (10:02 +0200)]
fix regex for active worker file
Allow error messages with starting white space.
Dietmar Maurer [Fri, 14 Oct 2011 06:56:55 +0000 (08:56 +0200)]
avoid warning when list_param is undefined
Dietmar Maurer [Fri, 14 Oct 2011 06:29:39 +0000 (08:29 +0200)]
improve get_options (allow argument lists)
So far it was possiple to specific lists by using option multiple times.
vzdump --vmid 100 --vmid 101
or
vzdump -vmid 100,101
No we can pass the vm list as arguments (not options)
vzdump 100 101
Dietmar Maurer [Thu, 13 Oct 2011 11:55:49 +0000 (13:55 +0200)]
allow input/output redirection in run_command
Those changes are needed by new vzdump code.
Dietmar Maurer [Thu, 13 Oct 2011 09:14:30 +0000 (11:14 +0200)]
overload cmp operator for PVE::Exception
So that we can use ($err eq "timeout") like expressions.
Dietmar Maurer [Wed, 12 Oct 2011 09:40:45 +0000 (11:40 +0200)]
allow list format in getopts
Dietmar Maurer [Wed, 12 Oct 2011 09:38:43 +0000 (11:38 +0200)]
do not merge comma separated lists with zero separated lists
Dietmar Maurer [Wed, 12 Oct 2011 08:27:56 +0000 (10:27 +0200)]
add helper for simple commands - handle_simple_cmd()
A simple command is a command without sub-command.
Dietmar Maurer [Wed, 5 Oct 2011 07:21:52 +0000 (09:21 +0200)]
add PVE::Tools::random_ether_addr()
Dietmar Maurer [Thu, 29 Sep 2011 11:33:45 +0000 (13:33 +0200)]
added libtool and dietlibc-dev to prerequisites
Dietmar Maurer [Thu, 29 Sep 2011 11:18:10 +0000 (13:18 +0200)]
add vzctl to list of required packages
Dietmar Maurer [Fri, 23 Sep 2011 05:41:34 +0000 (07:41 +0200)]
add hint to lvm.git
We compile our own lvm packages
Dietmar Maurer [Thu, 15 Sep 2011 04:56:07 +0000 (06:56 +0200)]
Allow to use check_process_running() without $pstart parameter.
Dietmar Maurer [Wed, 14 Sep 2011 05:51:19 +0000 (07:51 +0200)]
implement a clean way to read /prod/[pid]/stat
Added the method check_process_running() to check if a process
is running.
Dietmar Maurer [Mon, 12 Sep 2011 08:50:13 +0000 (10:50 +0200)]
return user_hz from POSIX::_SC_CLK_TCK
and remove that jiffie code (which is totally wrong)
Dietmar Maurer [Tue, 30 Aug 2011 08:48:43 +0000 (10:48 +0200)]
add reference to fence-agents-pve.git
Dietmar Maurer [Tue, 30 Aug 2011 05:26:51 +0000 (07:26 +0200)]
Overwite LC_ALL instead of LANG
This also works when user sets LC_ environment variables.
Dietmar Maurer [Wed, 24 Aug 2011 07:47:54 +0000 (09:47 +0200)]
add .gitignore file, remove svn leftover
Dietmar Maurer [Wed, 24 Aug 2011 07:44:50 +0000 (09:44 +0200)]
remove Changelog - we no have git
Dietmar Maurer [Tue, 23 Aug 2011 09:06:30 +0000 (11:06 +0200)]
update documentation (we now use git instead of svn)
Dietmar Maurer [Tue, 23 Aug 2011 05:31:48 +0000 (07:31 +0200)]
imported from svn 'pve-common/trunk'