Commit Graph

3 Commits

Author SHA1 Message Date
Thomas Lamprecht
ed183bcec8 AbstractMigrate: do not overwrite global signal handlers
perls 'local' must be either used in front of each $SIG{...}
assignments or they must be put in a list, else it affects only the
first variable and the rest are *not* in local context.

This may cause weird behaviour where daemons seemingly do not get
terminating signals delivered correctly and thus may not shutdown
gracefully anymore.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2017-09-07 10:34:07 +02:00
Thomas Lamprecht
581332b275 AbstractMigrate: remove unused rsync and scp remainders
We have no call using rsync_cmd or scp_cmd here or any child class.
The only part where rsync is used is in the
PVE::Storage::storage_migrate call, but here both the command and the
RSYNC_RSH environment variable gets assembled there locally, so clean
this up here.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2017-03-08 12:42:32 +01:00
Fabian Grünbichler
58a3c91ced initial commit
AbstractConfig.pm and AbstractMigrate.pm copied from
pve-common

added use statements for PVE::Cluster and PVE::Storage to
AbstractConfig
2017-01-24 14:03:24 +01:00