]> git.proxmox.com Git - pve-manager.git/commit
fix container locking (avoid multiple restore processes)
authorDietmar Maurer <dietmar@proxmox.com>
Tue, 27 Mar 2012 06:35:36 +0000 (08:35 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 27 Mar 2012 06:35:36 +0000 (08:35 +0200)
commit924800406b0cd2ea761812ff6baefd9ae475ae67
tree7c7a1678467940d4168a58ff90c05013e75cf34f
parent2c5351706bfe52f6e205d2fadc729b49a8d59e71
fix container locking (avoid multiple restore processes)

Unlike flock, LockFile::Simple does not inherit locks to child process.
So we need to do the locking inside the child process.
PVE/API2/OpenVZ.pm
PVE/OpenVZ.pm
PVE/OpenVZMigrate.pm