git://git.onelab.eu
/
util-vserver-pl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
01dc9f0
)
Disable mount namespaces.
author
Daniel Hokka Zakrisson
<dhokka@cs.princeton.edu>
Mon, 14 Jan 2008 17:46:01 +0000
(17:46 +0000)
committer
Daniel Hokka Zakrisson
<dhokka@cs.princeton.edu>
Mon, 14 Jan 2008 17:46:01 +0000
(17:46 +0000)
scripts/vuseradd
patch
|
blob
|
history
diff --git
a/scripts/vuseradd
b/scripts/vuseradd
index
2c9dfb3
..
80b00f2
100755
(executable)
--- a/
scripts/vuseradd
+++ b/
scripts/vuseradd
@@
-109,6
+109,9
@@
if [ ! -d $__CONFDIR/$NAME ] ; then
echo -1 > $DIR/dlimits/0/inodes_total
echo -1 > $DIR/dlimits/0/space_total
echo -1 > $DIR/dlimits/0/inodes_total
echo -1 > $DIR/dlimits/0/space_total
+ # Disable mount namespaces
+ touch $DIR/nonamespace
+
# Remove the basically empty guest directory
rm -rf $__DEFAULT_VSERVERDIR/$NAME
# Move the guest back
# Remove the basically empty guest directory
rm -rf $__DEFAULT_VSERVERDIR/$NAME
# Move the guest back