Device nodes live here, so do the rbind using -o dev.
authorDaniel Hokka Zakrisson <daniel@hozac.com>
Wed, 27 Aug 2008 17:41:16 +0000 (17:41 +0000)
committerDaniel Hokka Zakrisson <daniel@hozac.com>
Wed, 27 Aug 2008 17:41:16 +0000 (17:41 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2778 94cd875c-1c1d-0410-91d2-eb244daf1a30

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