projects
/
ganeti-local
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ganeti-noded: Create LOCK_DIR if missing
[ganeti-local]
/
daemons
/
ganeti-noded
diff --git
a/daemons/ganeti-noded
b/daemons/ganeti-noded
index
b587ede
..
0337dca
100755
(executable)
--- a/
daemons/ganeti-noded
+++ b/
daemons/ganeti-noded
@@
-747,6
+747,7
@@
def EnsureRuntimeEnvironment():
"""
dirs = [(val, constants.RUN_DIRS_MODE) for val in constants.SUB_RUN_DIRS]
dirs.append((constants.LOG_OS_DIR, 0750))
+ dirs.append((constants.LOCK_DIR, 1777))
for dir_name, dir_mode in dirs:
if not os.path.exists(dir_name):
try: