git://git.onelab.eu
/
nodemanager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Needed to define a password for the slice user (e.g. *) to allow ssh access. If not...
[nodemanager.git]
/
tools.py
diff --git
a/tools.py
b/tools.py
index
22895c4
..
99e6dac
100644
(file)
--- a/
tools.py
+++ b/
tools.py
@@
-60,7
+60,7
@@
def daemon():
os.setsid()
if os.fork() != 0: os._exit(0)
os.chdir('/')
- os.umask(0)
+ os.umask(0
022
)
devnull = os.open(os.devnull, os.O_RDWR)
os.dup2(devnull, 0)
# xxx fixme - this is just to make sure that nothing gets stupidly lost - should use devnull