vuserdel doesn't handle new vserver features that we are using like mount namespaces...
[util-vserver-pl.git] / scripts / vuseradd
index 9ace75c..c49fdd4 100755 (executable)
@@ -89,14 +89,13 @@ if [ ! -d $__CONFDIR/$NAME ] ; then
     fi
     mkdir -p $DIR/apps/init $DIR/rlimits $DIR/sched $DIR/cgroup $DIR/dlimits/0 $DIR/sysctl/0
     echo default > $DIR/apps/init/mark
-    echo 1000 > $DIR/rlimits/nproc.hard
 
     # Set persistent for the network context
     echo persistent,lback_allow > $DIR/nflags
 
     # Set default capabilities
     echo "CAP_NET_RAW" > $DIR/bcapabilities
-    echo "" > $DIR/ccapabilities
+    touch $DIR/ccapabilities
 
     # Set up the scheduler
     echo 100 > $DIR/sched/interval