Disable mount namespaces.
authorDaniel Hokka Zakrisson <dhokka@cs.princeton.edu>
Mon, 14 Jan 2008 17:46:01 +0000 (17:46 +0000)
committerDaniel Hokka Zakrisson <dhokka@cs.princeton.edu>
Mon, 14 Jan 2008 17:46:01 +0000 (17:46 +0000)
scripts/vuseradd

index 2c9dfb3..80b00f2 100755 (executable)
@@ -109,6 +109,9 @@ if [ ! -d $__CONFDIR/$NAME ] ; then
     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