pve-common.git
2 years agoset compat level to 9
Dietmar Maurer [Tue, 24 Jan 2017 10:16:32 +0000 (11:16 +0100)]
set compat level to 9

To avoid warnings on debian stretch.

2 years agoruntest.pl: use lib '.' - because newer perl does not have that by default
Dietmar Maurer [Tue, 24 Jan 2017 10:12:53 +0000 (11:12 +0100)]
runtest.pl: use lib '.' - because newer perl does not have that by default

To make tests work again on debian stretch.

2 years agofix #1232: cleanup bridges on veth_delete
Wolfgang Bumiller [Wed, 18 Jan 2017 09:48:11 +0000 (10:48 +0100)]
fix #1232: cleanup bridges on veth_delete

When a container stops or hotplug changes are applied we
do a veth_delete() which does not cleanup the firewall
bridges or OVS ports. This is problematic at the next
startup. When creating a network device we usually want to
copy the MTU of the bridge we intend to put it on, however,
with OVS still having the old port lying around the
recreated device gets associated with the bridge before we
read its MTU, potentially reducing it to that of the newly
created device.

This cleanup also gets rid of stale fwbr/fwln devices from
stopped containers.

2 years agobump version to 4.0-88
Dietmar Maurer [Thu, 19 Jan 2017 11:53:30 +0000 (12:53 +0100)]
bump version to 4.0-88

2 years agoremove libmime-base32-perl - we do not need that
Dietmar Maurer [Thu, 19 Jan 2017 11:52:32 +0000 (12:52 +0100)]
remove libmime-base32-perl - we do not need that

2 years agoPVE::Ticket - new helper class to create auth tickets
Dietmar Maurer [Thu, 19 Jan 2017 11:42:40 +0000 (12:42 +0100)]
PVE::Ticket - new helper class to create auth tickets

2 years agobump version to 4.0-87
Dietmar Maurer [Thu, 19 Jan 2017 08:09:53 +0000 (09:09 +0100)]
bump version to 4.0-87

2 years agoJSONSchema: remove formatter option
Dietmar Maurer [Wed, 18 Jan 2017 15:46:54 +0000 (16:46 +0100)]
JSONSchema: remove formatter option

We do no longer store that information in the method info.

2 years agoRESTHandler.pm: remove register_page_formatter (no longer required)
Dietmar Maurer [Wed, 18 Jan 2017 12:13:23 +0000 (13:13 +0100)]
RESTHandler.pm: remove register_page_formatter (no longer required)

2 years agoPVE::RESTEnvironment: new base class for PVE::RPCEnvironment
Dietmar Maurer [Wed, 18 Jan 2017 12:11:42 +0000 (13:11 +0100)]
PVE::RESTEnvironment: new base class for PVE::RPCEnvironment

Copied most code from PVE::RPCEnvironment.

2 years agobump version to 4.0-86
Dietmar Maurer [Fri, 13 Jan 2017 10:22:43 +0000 (11:22 +0100)]
bump version to 4.0-86

2 years agoCLIHandler.pm: remove run as root restriction
Dietmar Maurer [Thu, 12 Jan 2017 09:12:16 +0000 (10:12 +0100)]
CLIHandler.pm: remove run as root restriction

This should be checked somewhere else.

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agoCLIHandler.pm: add setup_environment hook
Dietmar Maurer [Thu, 12 Jan 2017 09:12:15 +0000 (10:12 +0100)]
CLIHandler.pm: add setup_environment hook

Most PVE command line tools will simply call

 PVE::RPCEnvironment->setup_default_cli_env();

there.

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agoremove calls to PVE::RPCEnvironment
Dietmar Maurer [Thu, 12 Jan 2017 09:12:14 +0000 (10:12 +0100)]
remove calls to PVE::RPCEnvironment

This introduces a cyclic dependency, so we need to remove this.

PVE::CLI::* classes should instead add ad call to

 PVE::RPCEnvironment->setup_default_cli_env();

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2 years agobump version 4.0-85
Dietmar Maurer [Thu, 22 Dec 2016 11:37:16 +0000 (12:37 +0100)]
bump version 4.0-85

2 years agorefactor delete_snapshot for readability
Fabian Grünbichler [Wed, 21 Dec 2016 09:54:18 +0000 (10:54 +0100)]
refactor delete_snapshot for readability

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2 years agoset 'snapshot-delete' lock when deleting snapshot
Fabian Grünbichler [Wed, 21 Dec 2016 09:54:17 +0000 (10:54 +0100)]
set 'snapshot-delete' lock when deleting snapshot

unless we are in cleanup mode from a failed snapshot_create,
in which case the config already has a 'snapshot' lock.

this is necessary to prevent concurrent starting of or other
actions on the guest in the windows inbetween holding the
flock, e.g. when removing the volume snapshot (which can
take a bit of time).

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2 years agobump version to 4.0-84
Dietmar Maurer [Wed, 21 Dec 2016 10:53:36 +0000 (11:53 +0100)]
bump version to 4.0-84

and remove RELEASE

2 years agoCpuSet write_to_cgroup: catch errors from close()
Dietmar Maurer [Wed, 21 Dec 2016 07:56:06 +0000 (08:56 +0100)]
CpuSet write_to_cgroup: catch errors from close()

2 years agoCpuSet short_string - avoid ranges like 0-0, 1-1, 2-2, ...
Dietmar Maurer [Wed, 21 Dec 2016 07:44:14 +0000 (08:44 +0100)]
CpuSet short_string - avoid ranges like 0-0, 1-1, 2-2, ...

2 years agobump version to 4.0-83
Dietmar Maurer [Mon, 28 Nov 2016 06:46:56 +0000 (07:46 +0100)]
bump version to 4.0-83

2 years agosafe_read_from: add filename parameter to improve error messages
Dietmar Maurer [Mon, 28 Nov 2016 06:42:34 +0000 (07:42 +0100)]
safe_read_from: add filename parameter to improve error messages

2 years agobump version to 4.0-82
Dietmar Maurer [Wed, 23 Nov 2016 11:22:23 +0000 (12:22 +0100)]
bump version to 4.0-82

2 years agocpuset: fix short_string
Wolfgang Bumiller [Thu, 17 Nov 2016 10:24:19 +0000 (11:24 +0100)]
cpuset: fix short_string

don't drop the next current cpu after finishing a range

2 years agobump version to 4.0-81
Dietmar Maurer [Tue, 22 Nov 2016 10:50:51 +0000 (11:50 +0100)]
bump version to 4.0-81

2 years agouse better regex for remote ip check
Thomas Lamprecht [Thu, 3 Nov 2016 13:22:55 +0000 (14:22 +0100)]
use better regex for remote ip check

while the input should be correctly generated by the other site its
still better to be on the safe side, so check if the IP is really an
valid one.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoschema_get_type_text: do not always expand enums
Dietmar Maurer [Sat, 5 Nov 2016 15:44:59 +0000 (16:44 +0100)]
schema_get_type_text: do not always expand enums

We try to keep the text short by default.

2 years agoschema_get_type_text: render generic types as <type>
Dietmar Maurer [Sat, 5 Nov 2016 14:38:29 +0000 (15:38 +0100)]
schema_get_type_text: render generic types as <type>

2 years agobump version to 4.0-80
Dietmar Maurer [Thu, 3 Nov 2016 08:46:03 +0000 (09:46 +0100)]
bump version to 4.0-80

2 years agouse the pvecm mtunnel command to get remote migration ip
Thomas Lamprecht [Mon, 31 Oct 2016 08:42:32 +0000 (09:42 +0100)]
use the pvecm mtunnel command to get remote migration ip

Ask the pvecm mtunnel command (was earlier in qm) if the remote side
has an IP configured in a given migration_network denoted by a CIDR.

If such a IP is available reset the nodeip and rem_ssh variables
and check if we can connect to the other side with ssh public key
authentication.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agotempfile: use /tmp for fallback-tempfiles
Wolfgang Bumiller [Wed, 2 Nov 2016 11:25:51 +0000 (12:25 +0100)]
tempfile: use /tmp for fallback-tempfiles

At this point we know it's not a tmpfs (as tmpfs definitely
supports O_TMPFILE), so /tmp makes more sense than /run as
default path.

2 years agotempfile: unliked-file fallback
Wolfgang Bumiller [Wed, 2 Nov 2016 11:25:50 +0000 (12:25 +0100)]
tempfile: unliked-file fallback

some file systems (eg. ZFS) don't support O_TMPFILE

2 years agoFix #1188: tempfile: use /run by default
Wolfgang Bumiller [Wed, 2 Nov 2016 11:25:49 +0000 (12:25 +0100)]
Fix #1188: tempfile: use /run by default

as /tmp is not a tmpfs by default and some file systems
(like ZFS) don't support O_TMPFILE

2 years agoJSONSchema: named formats in parse_property_string
Wolfgang Bumiller [Wed, 2 Nov 2016 11:08:33 +0000 (12:08 +0100)]
JSONSchema: named formats in parse_property_string

While our code currently passes the format hashes directly,
some code gets them via the format property of a
configuration description which verifies successfully via
check_format() for named property string formats, so this
should be allowed.

2 years agobump version to 4.0-79
Dietmar Maurer [Fri, 28 Oct 2016 15:47:21 +0000 (17:47 +0200)]
bump version to 4.0-79

2 years agoCpuSet: read $MAX_CPUID from /proc/cpuinfo
Dietmar Maurer [Fri, 28 Oct 2016 15:43:41 +0000 (17:43 +0200)]
CpuSet: read $MAX_CPUID from /proc/cpuinfo

2 years agoadd get_local_ip_from_cidr
Thomas Lamprecht [Fri, 28 Oct 2016 09:53:24 +0000 (11:53 +0200)]
add get_local_ip_from_cidr

The get_local_ip_from_cidr method can be used to determine addresses
configured on interfaces from the callers node which are located
in the subnet. The subnet can be passed in CIDR notation.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agofix typo
Dominik Csapak [Fri, 28 Oct 2016 06:38:49 +0000 (08:38 +0200)]
fix typo

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2 years agobump version to 4.0-78
Dietmar Maurer [Fri, 28 Oct 2016 05:04:41 +0000 (07:04 +0200)]
bump version to 4.0-78

2 years agoCpuSet: add helper to format/print cpu sets.
Dietmar Maurer [Fri, 28 Oct 2016 04:56:55 +0000 (06:56 +0200)]
CpuSet: add helper to format/print cpu sets.

2 years agobump version to 4.0-77
Dietmar Maurer [Wed, 26 Oct 2016 09:16:28 +0000 (11:16 +0200)]
bump version to 4.0-77

2 years agoCpuSet: Simply class to handle cpu sets
Dietmar Maurer [Wed, 26 Oct 2016 09:13:33 +0000 (11:13 +0200)]
CpuSet: Simply class to handle cpu sets

2 years agoAdd check for infiniband to write functions as well
Michael Rasmussen [Fri, 21 Oct 2016 18:14:52 +0000 (20:14 +0200)]
Add check for infiniband to write functions as well

Signed-off-by: Michael Rasmussen <mir@datanom.net>
2 years agoAdd support for infiniband nics
Michael Rasmussen [Fri, 21 Oct 2016 18:14:51 +0000 (20:14 +0200)]
Add support for infiniband nics

Signed-off-by: Michael Rasmussen <mir@datanom.net>
2 years agobump version to 4.0-76
Dietmar Maurer [Thu, 20 Oct 2016 04:16:42 +0000 (06:16 +0200)]
bump version to 4.0-76

2 years agoUpdate to reflect current status
Michael Rasmussen [Wed, 19 Oct 2016 22:52:25 +0000 (00:52 +0200)]
Update to reflect current status

Signed-off-by: Michael Rasmussen <mir@datanom.net>
2 years agoSectionConfig: always write out explicitly set booleans
Wolfgang Bumiller [Wed, 12 Oct 2016 09:35:19 +0000 (11:35 +0200)]
SectionConfig: always write out explicitly set booleans

Because when only writing the ones which are true we're
breaking the ones which default to true (like the mkdir
option on directory storages, where we need a false value
to be written out explicitly).

2 years agobump version to 4.0-75
Dietmar Maurer [Fri, 7 Oct 2016 07:02:51 +0000 (09:02 +0200)]
bump version to 4.0-75

2 years agocorrect spelling of synopsis
Fabian Grünbichler [Thu, 6 Oct 2016 13:12:11 +0000 (15:12 +0200)]
correct spelling of synopsis

2 years agobump version to 4.0-74
Dietmar Maurer [Thu, 29 Sep 2016 10:46:42 +0000 (12:46 +0200)]
bump version to 4.0-74

2 years agoNetwork: add disable_ipv6 and use it
Wolfgang Bumiller [Thu, 29 Sep 2016 09:37:49 +0000 (11:37 +0200)]
Network: add disable_ipv6 and use it

Many interfaces used to get an ipv6 link-local address which
was usually unusable and therefore pointless.

In order to ensure consistency this is called in various
places:
* $bridge_add_interface() and $ovs_bridge_add_port() because
  it's generally a good choice for bridge ports.
* tap_create() and veth_create() because the activate the
  interfaces and we want to avoid the link local address to
  exist temporarily between bringing the interface up and
  adding it to a bridge.
* create_firewall_bridge_*() because firewall bridges aren't
  meant to have addresses either.
* activate_bridge_vlan() - if vlan_filtering is disabled we
  create vlan-bridges and neither them nor their physical
  ports should have link local addresses.

2 years agofix doc generator (do not convert efidisk0 to efidisk[N])
Dietmar Maurer [Thu, 29 Sep 2016 10:15:47 +0000 (12:15 +0200)]
fix doc generator (do not convert efidisk0 to efidisk[N])

Also fix spacing in typetext generator.

3 years agobump version to 4.0-73
Dietmar Maurer [Fri, 16 Sep 2016 06:48:41 +0000 (08:48 +0200)]
bump version to 4.0-73

3 years agoschema_get_type_text: always access values as number
Dietmar Maurer [Mon, 5 Sep 2016 07:27:50 +0000 (09:27 +0200)]
schema_get_type_text: always access values as number

Else PVE::RESTHandler::api_dump prints values as strings.

3 years agoadd typetext property for more complex types
Dietmar Maurer [Mon, 5 Sep 2016 05:47:32 +0000 (07:47 +0200)]
add typetext property for more complex types

3 years agobump version to 4.0-72
Fabian Grünbichler [Tue, 16 Aug 2016 15:15:13 +0000 (17:15 +0200)]
bump version to 4.0-72

3 years agoharden file_set_contents against symlink attacks
Wolfgang Bumiller [Tue, 16 Aug 2016 14:31:09 +0000 (16:31 +0200)]
harden file_set_contents against symlink attacks

3 years agoallow Regexp objects for strings in the schema
Wolfgang Bumiller [Thu, 14 Jul 2016 07:21:24 +0000 (09:21 +0200)]
allow Regexp objects for strings in the schema

The 'pattern' property has type string and format regex, so
it makes sense to allow Regexp objects to be used for it.

While check_type() doesn't know the format, Regexp objects
can be treated like strings anyway, including compared via
'eq' or matched via '=~', so we allow strings to generally
come from a Regexp object.

3 years agotools: optional prefix for random_ether_addr
Wolfgang Bumiller [Wed, 13 Jul 2016 14:25:45 +0000 (16:25 +0200)]
tools: optional prefix for random_ether_addr

3 years agobump version to 4.0-71
Wolfgang Bumiller [Mon, 11 Jul 2016 09:34:10 +0000 (11:34 +0200)]
bump version to 4.0-71

3 years agofix mac address generation limitation
Wolfgang Bumiller [Tue, 5 Jul 2016 10:40:23 +0000 (12:40 +0200)]
fix mac address generation limitation

Commit de9a267 introduced vec() to optimize the generation
by using binary operations instead of converting back and
forth between hex and strings, but forgot to switch over to
the binary sha1 method. This resulted in only the first 6
hex digits of the output string making up the address.

3 years agofix 1046: add non-snapshotted disks as unused
Fabian Grünbichler [Mon, 4 Jul 2016 11:04:12 +0000 (13:04 +0200)]
fix 1046: add non-snapshotted disks as unused

3 years agodf: untaint the result
Wolfgang Bumiller [Mon, 4 Jul 2016 10:59:51 +0000 (12:59 +0200)]
df: untaint the result

3 years agouse new repoman toolkit
Dietmar Maurer [Sat, 25 Jun 2016 12:45:51 +0000 (14:45 +0200)]
use new repoman toolkit

3 years agobump version to 4.0-70
Wolfgang Bumiller [Wed, 22 Jun 2016 09:25:37 +0000 (11:25 +0200)]
bump version to 4.0-70

3 years agoFix #132: hold a lock while setting up vlan bridges
Wolfgang Bumiller [Mon, 13 Jun 2016 12:31:09 +0000 (14:31 +0200)]
Fix #132: hold a lock while setting up vlan bridges

It's possible for two simultaneous VM starts to try to
create vlan bridges on non-vlan-aware bridges
simultaneously, which causes one of them to fail with the
error "can't add bridge ...".

3 years agobump version to 4.0-69
Dietmar Maurer [Tue, 21 Jun 2016 04:54:15 +0000 (06:54 +0200)]
bump version to 4.0-69

3 years agovlan fixups: remove existing vlan ids
Wolfgang Bumiller [Mon, 20 Jun 2016 13:32:18 +0000 (15:32 +0200)]
vlan fixups: remove existing vlan ids

bridge_add_interface should remove the existing vids from
the interface (which is usually 1, which was previously left
on the interface)

3 years agobump version to 4.0-68
Dietmar Maurer [Thu, 9 Jun 2016 15:56:47 +0000 (17:56 +0200)]
bump version to 4.0-68

3 years agocatch malformed mailto/mailfrom in sendmail
Fabian Grünbichler [Thu, 9 Jun 2016 14:34:25 +0000 (16:34 +0200)]
catch malformed mailto/mailfrom in sendmail

3 years agoremove duplicate 'set -o pipefail'
Fabian Grünbichler [Tue, 24 May 2016 08:28:35 +0000 (10:28 +0200)]
remove duplicate 'set -o pipefail'

3 years agobump version to 4.0-67
Dietmar Maurer [Fri, 3 Jun 2016 09:27:28 +0000 (11:27 +0200)]
bump version to 4.0-67

3 years agoadded: enter_systemd_scope
Wolfgang Bumiller [Fri, 3 Jun 2016 09:09:24 +0000 (11:09 +0200)]
added: enter_systemd_scope

This essentially performas the task of systemd-run while
also waiting for the job to finish.

With the systemd-run version in jessie we run into a race
condition where the executed process can start forking child
processes before the systemd daemon is done setting up the
scope's cgroups, causing the children to NOT be included in
the cgroups. This means the child processes (in our case
qemu) will not adhere to the limits we want to apply to it
via cgroups.

enter_systemd_scope() performs the setup task of systemd-run
and waits for the job to finish, after this we can spawn the
qemu process without systemd-run.

3 years agomove Network::get_active_interfaces to ProcFSTools
Wolfgang Bumiller [Fri, 3 Jun 2016 09:09:23 +0000 (11:09 +0200)]
move Network::get_active_interfaces to ProcFSTools

This avoids a circular dependency between PVE::INotify and
PVE::Network.

Also renamed to get_active_network_interfaces since the
package name now doesn't hint at this anymore.

3 years agoadd netmasks starting from /8 to local netmask list
Wolfgang Bumiller [Fri, 3 Jun 2016 09:09:22 +0000 (11:09 +0200)]
add netmasks starting from /8 to local netmask list

3 years agoConsider /31 and /32 valid subnet masks.
Wolfgang Bumiller [Fri, 3 Jun 2016 09:09:21 +0000 (11:09 +0200)]
Consider /31 and /32 valid subnet masks.

Since we already allow this for container IP addresses it is
reasonable to assume the host might be using such a setup as
well. (You can use an additional route to reach the gateway
and then simply have no "LAN".) Some people seem to want
this...

3 years agobump version to 4.0-66
Dietmar Maurer [Wed, 1 Jun 2016 09:32:28 +0000 (11:32 +0200)]
bump version to 4.0-66

3 years agoAllow O_PATH and O_TMPFILE to be exported
Wolfgang Bumiller [Tue, 31 May 2016 12:58:27 +0000 (14:58 +0200)]
Allow O_PATH and O_TMPFILE to be exported

3 years agoadded: openat, mkdirat
Wolfgang Bumiller [Tue, 31 May 2016 12:58:26 +0000 (14:58 +0200)]
added: openat, mkdirat

3 years agobump version to 4.0-65
Dietmar Maurer [Wed, 25 May 2016 09:34:12 +0000 (11:34 +0200)]
bump version to 4.0-65

3 years agorun_cli_handler: add no_rpcenv parameter
Thomas Lamprecht [Wed, 25 May 2016 09:03:10 +0000 (11:03 +0200)]
run_cli_handler: add no_rpcenv parameter

This can be used if a CLIHandler child class does not needs or wants
RPCEnv. E.g. this is the case with pve-cluster, as it's a dependency
of the package where RPCEnv resides (access-control), so this can be
set to avoid a implicit circular build dependency.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agobump version to 4.0-64
Dietmar Maurer [Mon, 23 May 2016 04:27:01 +0000 (06:27 +0200)]
bump version to 4.0-64

3 years agoprint_property_string: don't print the default key's name
Wolfgang Bumiller [Thu, 19 May 2016 09:33:45 +0000 (11:33 +0200)]
print_property_string: don't print the default key's name

We had this behavior in the past and didn't mean to change
it.

3 years agoimprove doc generator, introduce verbose_description property
Dietmar Maurer [Thu, 19 May 2016 11:11:26 +0000 (13:11 +0200)]
improve doc generator, introduce verbose_description property

3 years agoexport bond_modes (define with 'our' instead of 'my')
Dietmar Maurer [Wed, 18 May 2016 14:49:19 +0000 (16:49 +0200)]
export bond_modes (define with 'our' instead of 'my')

So that other people can use that from outside.

3 years agotypo fix
Wolfgang Bumiller [Wed, 18 May 2016 09:20:08 +0000 (11:20 +0200)]
typo fix

3 years agobump version to 4.0-63
Dietmar Maurer [Wed, 18 May 2016 09:23:49 +0000 (11:23 +0200)]
bump version to 4.0-63

3 years agoshow warning when using VLAN 1 on a VLAN aware bridge
Dominik Csapak [Wed, 18 May 2016 09:18:29 +0000 (11:18 +0200)]
show warning when using VLAN 1 on a VLAN aware bridge

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
3 years agosupport for predictable network interface device names
Wolfgang Bumiller [Tue, 17 May 2016 07:21:19 +0000 (09:21 +0200)]
support for predictable network interface device names

Based on patch from: Igor Vlasenko <viy@altlinux.org>

3 years agobump version to 4.0-62
Dietmar Maurer [Sat, 14 May 2016 09:27:46 +0000 (11:27 +0200)]
bump version to 4.0-62

3 years agoreplace the smartmatch operator
Dietmar Maurer [Thu, 12 May 2016 09:37:00 +0000 (11:37 +0200)]
replace the smartmatch operator

3 years agore-enable run_cli, which is still in use
Dietmar Maurer [Thu, 12 May 2016 05:43:49 +0000 (07:43 +0200)]
re-enable run_cli, which is still in use

3 years agoprint_property_string: correctly implement skip parameter
Dietmar Maurer [Thu, 12 May 2016 05:25:51 +0000 (07:25 +0200)]
print_property_string: correctly implement skip parameter

3 years agofix keyAlias test
Dietmar Maurer [Wed, 11 May 2016 11:04:01 +0000 (13:04 +0200)]
fix keyAlias test

3 years agobump version to 4.0-61
Dietmar Maurer [Wed, 11 May 2016 09:10:36 +0000 (11:10 +0200)]
bump version to 4.0-61

3 years agoJSONSchema fix property sort order
Dietmar Maurer [Wed, 11 May 2016 08:57:06 +0000 (10:57 +0200)]
JSONSchema fix property sort order

order: default_key, required options, other

3 years agoremove PodParser.pm, implement keyAlias feature
Dietmar Maurer [Wed, 11 May 2016 07:28:09 +0000 (09:28 +0200)]
remove PodParser.pm, implement keyAlias feature

The keyAlias feature replaces the previous 'group_ feature.

3 years agoschema_get_type_text: return format_description if available
Dietmar Maurer [Sat, 7 May 2016 08:57:14 +0000 (10:57 +0200)]
schema_get_type_text: return format_description if available

3 years agoupdate changelog
Dietmar Maurer [Wed, 4 May 2016 06:11:02 +0000 (08:11 +0200)]
update changelog

3 years agoWhen starting in debug mode, starts the daemon without going through systemctl
Emmanuel Kasper [Tue, 3 May 2016 10:43:12 +0000 (12:43 +0200)]
When starting in debug mode, starts the daemon without going through systemctl

This fixes the problem that debug options for daemons were ignored and sets
the following behaviour for the daemons when -debug 1 is given
 * start on foreground with debug ouput on the console
 * do not start a sytemd unit

Starting the systemd unit in debug mode makes less sense because:
 * systemd will put the daemon in the background
 * systemd ignores environment variables so the only way to start
 the daemon with options would be through reading a config file

tested with pveproxy, pve-ha-lrm, pve-ha-crm