[lxc-devel] [PATCH] use /var/lock/subsys/lxc-centos instead of /var/lock/subsys/lxc as a lock name

S.Çağlar Onur caglar at 10ur.org
Sat Dec 7 22:46:22 UTC 2013


Signed-off-by: S.Çağlar Onur <caglar at 10ur.org>
---
 templates/lxc-centos.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/templates/lxc-centos.in b/templates/lxc-centos.in
index 6000cf2..95802dc 100644
--- a/templates/lxc-centos.in
+++ b/templates/lxc-centos.in
@@ -376,7 +376,7 @@ install_centos()
 
     return 0
 
-    ) 200>/var/lock/subsys/lxc
+    ) 200>/var/lock/subsys/lxc-centos
 
     return $?
 }
@@ -457,7 +457,7 @@ clean()
     rm --preserve-root --one-file-system -rf $cache && echo "Done." || exit 1
     exit 0
 
-    ) 200>/var/lock/subsys/lxc
+    ) 200>/var/lock/subsys/lxc-centos
 }
 
 usage()
-- 
1.8.3.2





More information about the lxc-devel mailing list