Commit Graph

34 Commits

Author SHA1 Message Date
Fabian Grünbichler
99d02523f6 properly encode YAML via YAML::XS
otherwise we get strange errors when formatting data that was originally
JSON, and can thus contain JSON::true/JSON::false.

one example is the QMP query-blockstats command, which gets called (and
the resulting values returned) by /nodes/NODE/qemu/VMID/status/current

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2020-09-18 13:40:55 +02:00
Fabian Grünbichler
00bcefa3f0 d/control: add missing libtimedate-perl to depends
Fixes: b18826ce61

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2020-09-17 13:00:35 +02:00
Fabian Grünbichler
e0f86f250c wrap-and-sort d/control
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2020-09-17 12:54:52 +02:00
Wolfgang Link
12b0d5a959 Move the code to proxmox-acme and add a dependency on it.
Signed-off-by: Wolfgang Link <w.link@proxmox.com>
2020-04-30 12:17:06 +02:00
Thomas Lamprecht
1714a63b36 d/control: break pmg-api (<< 6.1-7)
as we now register the ldap-simple-attr' format, and double
registrations result in exceptions.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-03-09 16:59:47 +01:00
Thomas Lamprecht
55163d614a d/control: record break of older ifupdown2
If ifupdown2 is installed we really want to have it synced with this
version, also with OVS (ifupdown2 handles that break) - this is part
of the version barrier.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-03-07 18:02:49 +01:00
Moayad
c3733145eb Add build dependency libtest-mockmodule-perl
Signed-off-by: Moayad Almalat <m.almalat@proxmox.com>
2020-01-20 16:02:37 +01:00
Thomas Lamprecht
9b0220b55d d/control: record breaks of pve-container (<< 3.0-9)
As we drop the arch translation part used by pve-container packages
in version 3.0-8 or older we need to break them, to avoid broken
newly created containers.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-10-29 07:29:02 +01:00
Thomas Lamprecht
b94d4081a0 d/control: fix priority-extra-is-replaced-by-priority-optional
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-05-16 17:12:51 +02:00
Thomas Lamprecht
98d5b8cb72 JSONSchema: register 'pve-snapshot-name' here to avoid cyclic dependencies
move it from qemu-server as it was also used in pve-container and
pve-manager (pvesr), while guest-commons AbstractConfig could be a
fit too, just move it here as all depending on this already use
JSONSchema and it just fits here...

Break respective qemu-server version

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-21 12:51:16 +01:00
Fabian Grünbichler
3591822189 d/control: add missing dependencies
used by the ACME standalone challenge.

these were previously already depended on by pve-manager, where they were
recently removed - exposing the fact they are in fact required by
libpve-common-perl.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2019-02-11 10:54:44 +01:00
Thomas Lamprecht
937fb11e28 break qemu-server << 5.0-42
changed the lspci return format

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-11-22 11:18:30 +01:00
Fabian Grünbichler
8881a28277 d/control: wrap-and-sort
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Acked-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Acked-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2018-10-29 14:10:50 +01:00
Fabian Grünbichler
c5e2d73f75 d/control: bump standards version
to current one.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Acked-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Acked-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2018-10-29 14:10:50 +01:00
Fabian Grünbichler
12228cabf4 d/control: bump compat to 10
and debhelper dependency accordingly

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Acked-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Acked-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2018-10-29 14:10:50 +01:00
Fabian Grünbichler
fc0fe26612 d/control: add missing build-dependencies
found by building in a clean minimal chroot

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Acked-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Acked-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2018-10-29 14:10:50 +01:00
Thomas Lamprecht
194ed9bbbd d/control: break pve-manager < 5.2-5 and pmg-api < 5.0-74 2018-06-27 15:34:14 +02:00
Thomas Lamprecht
8461a4875a d/control: record that we now break qemu-server << 5.0-29
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-06-15 12:06:42 +02:00
Wolfgang Bumiller
caf3f3a7a1 bump version to 5.0-27
Now breaks qemu-server<<5.0-21

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2018-01-22 15:10:05 +01:00
Fabian Grünbichler
b308c8d429 build: reformat debian/control
using wrap-and-sort -abt
2017-10-04 11:07:01 +02:00
Dietmar Maurer
cee25a8af9 depend on libmime-base32-perl (required by OTP.pm) 2017-03-30 17:42:16 +02:00
Wolfgang Bumiller
0c0304c0d9 deps: moving skiplock breaks qemu-server << 4.0-109 2017-02-08 09:56:43 +01:00
Fabian Grünbichler
c5df85be73 add Breaks for upgrade path 2017-02-06 14:44:48 +01:00
Wolfgang Bumiller
87cd38946e buildsys: missing build-dependencies 2017-02-03 12:12:54 +01:00
Dietmar Maurer
2b4582cb92 remove libmime-base32-perl - we do not need that 2017-01-19 12:52:32 +01:00
Dietmar Maurer
8ecb08d710 PVE::Ticket - new helper class to create auth tickets 2017-01-19 12:42:40 +01:00
Wolfgang Bumiller
0b9cf991e5 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.
2016-06-03 11:26:13 +02:00
Wolfgang Bumiller
97c8c8577d Tools::df: fork and use Filesys::Df
Instead of depending on the 'df' commandline tool do a
fork() to create a killable process and run Filesys::Df,
returning the data over a pipe.
2015-10-30 07:00:37 +01:00
Dietmar Maurer
051d9b42a8 depend on libclone-perl 2015-10-07 08:54:25 +02:00
Dietmar Maurer
7238ea8dbf bump version to 1.0-48 2013-02-25 06:21:26 +01:00
Dietmar Maurer
568ba6a471 use Digest::SHA instead of Digest::SHA1 2012-03-20 11:21:38 +01:00
Dietmar Maurer
7514b23af4 use package libstring-shellquote-perl 2011-10-25 13:35:08 +02:00
Dietmar Maurer
a413a515c5 add PVE::Tools::random_ether_addr() 2011-10-05 09:21:52 +02:00
Dietmar Maurer
e143e9d86b imported from svn 'pve-common/trunk' 2011-08-23 07:31:48 +02:00