From 16a04dfa24c703e85e574ee276827040c655d682 Mon Sep 17 00:00:00 2001
From: =?utf8?q?S=2E=C3=87a=C4=9Flar=20Onur?= <caglar@cs.princeton.edu>
Date: Thu, 24 Jun 2010 20:33:29 +0000
Subject: [PATCH] start to use mount namespaces

---
 scripts/vuseradd     | 3 ---
 util-vserver-pl.spec | 1 +
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/scripts/vuseradd b/scripts/vuseradd
index b54aec9..ac2d359 100755
--- a/scripts/vuseradd
+++ b/scripts/vuseradd
@@ -114,9 +114,6 @@ if [ ! -d $__CONFDIR/$NAME ] ; then
     echo net.ipv4.ip_forward > $DIR/sysctl/0/setting
     echo 1 > $DIR/sysctl/0/value
     
-    # Disable mount namespaces
-    touch $DIR/nonamespace
-
     # Add spaces directory
     mkdir -p $DIR/spaces
 
diff --git a/util-vserver-pl.spec b/util-vserver-pl.spec
index e4e5c8d..4467706 100644
--- a/util-vserver-pl.spec
+++ b/util-vserver-pl.spec
@@ -84,6 +84,7 @@ do
 	/usr/sbin/nattribute --set --nid `cat $i/context` --flag lback_allow
 
 	sed -i -e '/tmpfs\tsize=16m/d' $i/fstab
+	rm $i/nonamespace
 	
 	mkdir -p $i/sysctl/0 
 	echo net.ipv4.ip_forward > $i/sysctl/0/setting
-- 
2.47.0