Device nodes live here, so do the rbind using -o dev.
[util-vserver.git] / scripts / vserver.functions
index 1a73094..71fdbed 100644 (file)
@@ -952,7 +952,7 @@ function mountVserver
         _namespaceCleanup "$cfgdir"
 
     isAvoidNamespace "$cfgdir" || \
-       $_SECURE_MOUNT --rbind -n "$vdir" "/"
+       $_SECURE_MOUNT --rbind -n -o dev "$vdir" "/"
 }
 
 function _umountVserverInternal