Disable mount namespaces.
[util-vserver-pl.git] / 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