From: Daniel Hokka Zakrisson Date: Mon, 14 Jan 2008 17:46:01 +0000 (+0000) Subject: Disable mount namespaces. X-Git-Tag: util-vserver-pl-0.3-1~4 X-Git-Url: http://git.onelab.eu/?p=util-vserver-pl.git;a=commitdiff_plain;h=66033b3d11dfc7db217940ead889491f71c84813 Disable mount namespaces. --- 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