Commit Graph

737 Commits

Author SHA1 Message Date
Thomas Lamprecht
4f8f519fbb remove various outdated or moved dependencies
some http/ssl based ones where for the now separate http-server,
while they got added there, they did not get removed here.

Some are not needed in manager, e.g., liblinux-inotify2-perl which is
used in pve-common

Some others are simply outdated, e.g. libauthen-pam-perl or
libhttp-daemon-perl

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-01-31 12:05:01 +01:00
Thomas Lamprecht
2faa769857 remove unused libxml-parser-perl dependency
over from the time where corosync was still bnased on XML configs
(pre PVE 4.0). This was not used, and XML::Parser is not Export
based, so it does not pushes some methods into the using modules
namespace

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-01-31 12:02:55 +01:00
Thomas Lamprecht
8b4162f03e pveperf: use fsync syscall from PVE::Tools
allows to drop the libfile-sync-perl dependency

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-01-31 11:44:15 +01:00
Dominik Csapak
bdbd074b4d d/control: remove netcat dependency
we do not use it anymore, history of it goes back to the initial SVN
to git import.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-01-31 06:52:29 +01:00
Thomas Lamprecht
485248e22e d/control: add libpve-common-perl as build dependency
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-01-22 12:16:34 +01:00
Thomas Lamprecht
216bfe51f9 d/control: bump version dependency for libpve-common-perl
to ensure that the new 'mac-addr' format is available

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-01-22 12:16:28 +01:00
Thomas Lamprecht
2929af8e10 bump version to 5.3-8
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-01-11 10:24:58 +01:00
Thomas Lamprecht
e8ed1e2265 bump version to 5.3-7
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-12-20 10:59:59 +01:00
Thomas Lamprecht
83d8e4d0de d/control: bump libpve-storage-perl version dependency to 5.0-35
to ensure that the new PVE::CephConfig module is available

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-12-20 10:53:55 +01:00
Thomas Lamprecht
37b3c8dfc3 bump version to 5.3-6
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-12-14 12:25:43 +01:00
Thomas Lamprecht
97ae681d6b bump version to 5.3-5
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-12-03 12:14:06 +01:00
Thomas Lamprecht
fbb1554ef8 bump version to 5.3-4
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-11-29 13:02:33 +01:00
Dominik Csapak
2a67983029 add pciutils as dependency
the package is not big, installed by default in the installer,
makes the pci scan much prettier, and we call lspci in the pvereport

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-11-28 11:41:50 +01:00
Thomas Lamprecht
c460f95dc1 bump version to 5.1-3
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-11-23 19:16:40 +01:00
Thomas Lamprecht
a75068b184 update bump to 5.3-2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-11-23 16:17:46 +01:00
Thomas Lamprecht
57d471964d bump version to 5.3-2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-11-23 15:13:45 +01:00
Thomas Lamprecht
3311f92cca bump version to 5.3-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-11-23 14:11:27 +01:00
Thomas Lamprecht
694517f083 bump version to 5.2-13
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-11-22 15:01:31 +01:00
Thomas Lamprecht
1cc257e5d3 bump version dependency of libpve-common-perl to 5.0-43
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-11-22 14:23:57 +01:00
Thomas Lamprecht
ba196e4b49 bump version to 5.2-12
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-11-19 15:26:20 +01:00
Thomas Lamprecht
5e7d2a1845 d/control: bump version dependency for libpve-common-perl
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-11-19 15:04:38 +01:00
Thomas Lamprecht
1de71bb8d0 d/control: bump version dependency to pve-doc-generator
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-11-14 16:20:51 +01:00
Thomas Lamprecht
13c2da63c5 bump version to 5.2-11
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-11-09 17:00:30 +01:00
Fabian Grünbichler
829fe4acc2 build: use pve-doc-generator for bash-completion
and bump build-depends accordingly

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2018-10-18 14:17:08 +02:00
Fabian Grünbichler
71bef866ab build: pull REPOID into top-level Makefile
otherwise it is missing when building in a clean chroot via a generated
source packages.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2018-10-18 14:17:08 +02:00
Thomas Lamprecht
dc953890f8 d/control: add lintian to build depends
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-10-17 10:07:23 +02:00
Thomas Lamprecht
39aaac60ae d/control: add libapt-pkg-perl also to build depends
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-10-17 08:00:59 +02:00
Rhonda D'Vine
dedd72eb82 Completing Build-Depends
These were the missing Build-Depends that were needed in building this
package.

Signed-off-by: Rhonda D'Vine <rhonda@proxmox.com>
2018-10-17 07:56:32 +02:00
Thomas Lamprecht
6f892b405e bump version to 5.2-10
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-10-16 11:57:20 +02:00
Thomas Lamprecht
60d16bef1d d/control: bump version dependency for libpve-common-perl
to ensure we have the /etc/hosts inotify read/write, needed for it's
gui part, methods available

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-10-08 14:16:14 +02:00
Thomas Lamprecht
4b30e8f914 bump version to 5.2-9
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-09-13 11:43:59 +02:00
Thomas Lamprecht
d8a5041c89 d/control: update build dependencies
helpful for easier bootstrapping PVE, e.g., on buster.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-09-06 06:37:52 +02:00
Thomas Lamprecht
fdf3991277 bump version to 5.2-8
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-08-20 15:12:23 +02:00
Dietmar Maurer
8d88e66a2b bump version to 5.2-7 2018-07-27 11:47:38 +02:00
Thomas Lamprecht
bcd5f008eb bump version to 5.2-6
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-07-10 14:48:32 +02:00
Thomas Lamprecht
51681e0d7f debian/control: update pve-common version dependency
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-07-10 14:37:48 +02:00
Thomas Lamprecht
eb24855a73 bump version to 5.2-5 2018-06-27 14:07:07 +02:00
Thomas Lamprecht
86be19e41e d/control: update pve-common version dependency
as we use the new param_mapping functionallity from PVE::CLIHandler

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-06-27 14:00:19 +02:00
Thomas Lamprecht
9770ec3d8c bump version to 5.2-4 2018-06-27 09:21:54 +02:00
Thomas Lamprecht
6721f9ea98 cleanup: add configs directory and move respective files
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-06-20 13:04:51 +02:00
Wolfgang Bumiller
785ba98013 bump version to 5.2-3
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2018-06-15 12:29:22 +02:00
Alexandre Derumier
411c69e73a add ifupdown2 as alternative to ifenslave.
ifupdown2 conflict with ifenslave, as it's replace it
2018-06-15 09:50:07 +02:00
Thomas Lamprecht
b1d1c7f470 bump version to 5.2-2 2018-06-05 15:39:50 +02:00
Fabian Grünbichler
0fcd787928 bump version to 5.2-1
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2018-05-14 14:05:16 +02:00
Wolfgang Bumiller
525aed1f87 bump version to 5.1-53
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2018-05-07 15:22:08 +02:00
Thomas Lamprecht
e044a4668d d/control: update build and install dependencies
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-05-04 16:28:33 +02:00
Thomas Lamprecht
ba597a6452 bump version to 5.1-52 2018-04-23 16:01:48 +02:00
Dietmar Maurer
96be535457 bump version to 5.1-51 2018-04-06 14:10:09 +02:00
Dietmar Maurer
374a542a6b bump version to 5.1-50 2018-04-06 13:56:11 +02:00
Dietmar Maurer
1e427a547f bump version to 5.1-49 2018-04-05 12:31:32 +02:00
Thomas Lamprecht
dd0d2d6c61 bump version to 5.1-48
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-03-22 09:45:30 +01:00
Thomas Lamprecht
ae997e258a postinst: ensure pve-daily-upgrade timer gets started on transition
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Acked-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2018-03-13 12:14:38 +01:00
Thomas Lamprecht
78bf2ea277 postinst: handle masked units
check if a unit is masked before starting/restarting/reloading it,
as else we get pretty ugly error messages during upgrade.

as "deb-systemd-helper --quiet was-enabled" differs from the
"systemctl is-enabled" behaviour, the former returns true for masked
units while the latter does not, we have to manually call systemctl,
circumventing the deb helper.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Acked-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2018-03-13 12:14:22 +01:00
Fabian Grünbichler
378d47688a postinst: switch to /bin/sh
we don't use anything bash specific in our postinst, and this way linitian
should warn us about any bashisms we introduce.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2018-03-13 11:06:12 +01:00
Fabian Grünbichler
637935f058 postinst: start/restart units like dh_start
with an added "reload-or" for pvedaemon/pveproxy/spiceproxy, which
dh_start unfortunately does not yet support

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2018-03-13 11:06:12 +01:00
Fabian Grünbichler
492af7c510 postinst: unify version-dependent cleanup
putting this into one place is better for readability

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2018-03-13 11:06:12 +01:00
Fabian Grünbichler
81d670ebd7 postinst: refactor service/timer handling
reduce code duplication, and reload-or-restart timers just like service
units instead of just starting them.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2018-03-13 11:06:12 +01:00
Fabian Grünbichler
ec33c02fde postinst: actually enable and start pveupdate.timer
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2018-03-13 11:06:12 +01:00
Fabian Grünbichler
37595bed0c postinst: cleanup trigger code
reload-or-try-restart works just fine even if the unit is stopped or
disabled

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2018-03-13 11:06:12 +01:00
Thomas Lamprecht
7c50adb24c b/prerm: cleanup cruft from prerm helper
we actually want to keep this for now as else we get the
autogenerated systemd helper code here which stops all services from
this package before upgrading, which we really really do not want
(kills API connections, among other things)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-03-12 15:14:16 +01:00
Thomas Lamprecht
a5d11de2fe buildsys: remove outdated preinst helper
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-03-12 15:14:16 +01:00
Thomas Lamprecht
d0e0394481 b/postrm: let debhelper generate systemd stuff
With #DEBHELPER# the manual maintained code will be autogenerated, no
need to manually track which services and timers this packages has.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-03-12 15:14:16 +01:00
Thomas Lamprecht
1605fdfacd pveupdate: replace cron job with systemd timer
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-03-12 15:14:13 +01:00
Thomas Lamprecht
a637b9ac8c postinst: remove pvebanner call
We have the pvebanner.service in places which ensures this gets
called on boot before the getty target.

Thus this only had an effect if we changed the nodename to IP mapping
_and_ upgraded/reinstalled pve-manager, then switching to another TTY
would show the updated IP. But as this a) is for sure not a common
triggered path and b) a IP change suggest a reboot either way, and if
the user can handle it on their own without a reboot, they should be
able to also handle an outdated /etc/issue until the next reboot.

Also for PVE ontop of plain Debian a reboot is needed, so that the
PVE kernel gets booted, so this shouldn't be an issue ther neither.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-03-12 15:13:48 +01:00
Thomas Lamprecht
b0138a12bc postinst: remove commented out call to a2ensite
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-03-12 15:13:48 +01:00
Thomas Lamprecht
482aa8094e postinst: remove fixup for ceph jewel update transition
In commit 8b89f7533e we needed to
change the ceph.service install target to multi-user.target, as
ceph.target could hang indefinitely if ceph-common gets upgraded.
This change is included in pve-manager 4.4-13 and newer, as users
wanting to upgrade to 5.0 must upgrade to latest 4.4 to be able to do
so (without headache) this can be removed.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-03-12 15:13:48 +01:00
Thomas Lamprecht
46eba56edb postinst: simplify code for transitional updates
The first case won't happen anymore on a recent PVE.
The 'version is empty or <unknown>' check may drop the '<unknown>'
part, it gets handled by the 'dpkg --compare-versions' bits just
fine, if it happens at all for the 'configure' case

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-03-12 15:13:48 +01:00
Thomas Lamprecht
25ba75f77d postinst: combine abort-* cases and remove boilerplate cruft
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-03-12 15:13:48 +01:00
Thomas Lamprecht
eda656f50d postinst: simplify root's mail .forward check
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-03-12 15:13:48 +01:00
Thomas Lamprecht
63b66fd921 postinst: bootlogd is not used under systemd
"Note that not all init systems print messages to the system console,
so that the logfile may remain empty; this is the case with systemd
(the default init system). Try "journalctl -b" instead."
-- https://packages.debian.org/stretch/bootlogd

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-03-12 15:13:48 +01:00
Thomas Lamprecht
7aca385740 postinst: removing old APL dir is obsolete
This was added by 82f9a5d7c on 2012-02-21 11:42:32, as we had 2 major
upgrades since them every system either was update or new installed,
so just remove this.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-03-12 15:13:48 +01:00
Thomas Lamprecht
13f8d48604 buildsys: remove unused debconf template
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-03-12 15:13:48 +01:00
Thomas Lamprecht
0ae4418f95 postinst: purge all old init.d service files on upgrade
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-03-12 15:13:44 +01:00
Wolfgang Bumiller
97a08ab2e6 bump version to 5.1-47
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2018-02-26 10:29:18 +01:00
Thomas Lamprecht
f39cb3cb3a d/control: update version dependency to widget toolkit 2018-02-23 11:14:33 +01:00
Wolfgang Bumiller
ae8241d498 bump version to 5.1-46
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2018-02-16 15:08:32 +01:00
Fabian Grünbichler
875ca5348d bump version to 5.1-45 2018-02-16 12:46:35 +01:00
Wolfgang Bumiller
1595997d0d bump version to 5.1-44
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2018-01-26 10:41:49 +01:00
Dominik Csapak
e8c6a71f35 use pve-i18n package
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-01-25 13:36:37 +01:00
Dominik Csapak
fdf74e410b add proxmox-widget-toolkit to pve gui
we will use components from proxmox-widget-toolkit rather than
directly from pve-manager

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-01-23 10:15:09 +01:00
Fabian Grünbichler
bdb080298a bump version to 5.1-43 2018-01-17 09:11:00 +01:00
Wolfgang Bumiller
724a6cb3c8 bump version to 5.1-42
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2018-01-10 11:53:42 +01:00
Fabian Grünbichler
0b958203d1 bump version to 5.1-41 2017-12-21 12:47:49 +01:00
Wolfgang Bumiller
ea05b379d0 bump version to 5.1-40
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2017-12-13 14:51:07 +01:00
Dominik Csapak
de9b5cd0aa add termproxy api call for nodes
and add dependency for pve-xtermjs

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-12-12 08:34:07 +01:00
Fabian Grünbichler
5fa9d6c1f3 bump version to 5.1-39 2017-12-11 15:35:22 +01:00
Fabian Grünbichler
1e9bc77700 add versioned dependency on libpve-storage-perl
for API changes needed for new DiskSelector
2017-11-30 11:40:03 +01:00
Fabian Grünbichler
cdcbb81543 bump version to 5.1-38 2017-11-30 11:36:30 +01:00
Wolfgang Bumiller
c52848aa6f bump version to 5.1-37
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2017-11-28 16:42:55 +01:00
Thomas Lamprecht
d80ef0516c access log rotate: try to reload not restart services
with the use of systemd the /etc/init.d/pveproxy restart call got
intercepted and redirected to systemd, which did an restart.
But, that is a behvaior change to the intention of the init.d script,
which would not restart but reload the service.
Thus change this to systemds equivalent:
systemctl try-reload-or-restart pveproxy.service

Which tries to reload, if the unit supports it, and only if that does
not worked it restarts.

Same for spiceproxy.

Reported-by: Stefan Priebe <s.priebe@profihost.ag>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2017-11-14 14:08:52 +01:00
Wolfgang Bumiller
c6ef43b57f buildsys: add excludes to dh_fixperms
Instead of fixing up permissions manually as the make
install target is actually responsible for this (and already
doing it).

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2017-11-14 14:06:51 +01:00
Wolfgang Bumiller
131401db6d bump version to 5.1-36 2017-10-25 11:16:27 +02:00
Fabian Grünbichler
722cc48803 bump version to 5.1-35 2017-10-23 09:21:06 +02:00
Wolfgang Bumiller
b325d69e0e bump version to 5.0-34 2017-10-20 12:04:34 +02:00
Fabian Grünbichler
23132090a0 bump version to 5.0-33
and add versioned dependencies:
- libpve-common-perl: for PVE::Subscription
- libpve-access-control: for new VM.Snapshot.Rollback privilege
2017-10-10 14:23:00 +02:00
Fabian Grünbichler
ce72e11d38 build: reformat debian/control
using wrap-and-sort -abt
2017-10-04 11:05:32 +02:00
Wolfgang Bumiller
2560e07395 bump version to 5.0-32 2017-09-12 13:55:49 +02:00
Thomas Lamprecht
8e144795cc rename pve-manager.service to pve-guests
the name 'pve-manager' collides with our pve-manager package name,
which - from the user point of view - provides mainly the API and
WebUI.
An user could thus think that restarting 'pve-manager' would restart
the WebUIs server, which is relatable.
But, the pve-manager.service does not controls the WebUI or its
server but is responsible for starting all guest with 'onboot=1' in
their config on system boot and to stop all remaining running guests
on system shutdown.

Thus rename it to pve-guests and adapt its description. This may not
seem as ideal name at first glance, but its better than the current
option. Further it leads to log messages like:
 > Starting PVE guests (Service providing start-on-boot and stop-all-on-shutdown)
 > [...]
 > Started PVE guests (Service providing start-on-boot and stop-all-on-shutdown)
 > [...]
 > Stopping PVE guests (Service providing start-on-boot and stop-all-on-shutdown)

which makes it clearer what happens, or what this service is for.

Alias the new service to the old pve-manager.service for legacy
reasons. While our services do not depend on it an user could have
made an own service which used pve-manager.service as synchronisation
point.

Linitian then complains about init.d/pve-manager not having a related
systemd service file. Instead of renmaning it just drop it.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2017-09-11 09:34:02 +02:00
Fabian Grünbichler
27769b1f5d bump version to 5.0-31 2017-09-01 12:05:14 +02:00
Fabian Grünbichler
5ab26bc69d bump version to 5.0-30 2017-08-08 11:08:24 +02:00