From 66033b3d11dfc7db217940ead889491f71c84813 Mon Sep 17 00:00:00 2001 From: Daniel Hokka Zakrisson Date: Mon, 14 Jan 2008 17:46:01 +0000 Subject: [PATCH] Disable mount namespaces. --- scripts/vuseradd | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/vuseradd b/scripts/vuseradd index 2c9dfb3..80b00f2 100755 --- 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 + # Disable mount namespaces + touch $DIR/nonamespace + # Remove the basically empty guest directory rm -rf $__DEFAULT_VSERVERDIR/$NAME # Move the guest back -- 2.43.0