[pve-devel] [PATCH v2 container 3/3] Check lock in lxc-pre-start-hook script as well

Fabian Grünbichler f.gruenbichler at proxmox.com
Fri Jan 15 11:40:11 CET 2016


Fixes: #847
Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---
 src/lxc-pve-prestart-hook | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lxc-pve-prestart-hook b/src/lxc-pve-prestart-hook
index e88911d..1ba957f 100755
--- a/src/lxc-pve-prestart-hook
+++ b/src/lxc-pve-prestart-hook
@@ -63,6 +63,7 @@ __PACKAGE__->register_method ({
 	return undef if ! -f PVE::LXC::config_file($vmid);
 
 	my $conf = PVE::LXC::load_config($vmid);
+	PVE::LXC::check_lock($conf);
 
 	my $storage_cfg = PVE::Storage::config();
 
-- 
2.1.4





More information about the pve-devel mailing list