X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=scripts%2Fvserver.functions;h=b8ed2779f6573ed406a12cec845027c5006a0764;hb=116542ffd07d679315cf7ca7b17f29fc59ab342b;hp=63d1badb44a7532dde1cfbfd865612c4792075f4;hpb=cae5097c2d2e2265731e3e794237908d3a48a57c;p=util-vserver.git diff --git a/scripts/vserver.functions b/scripts/vserver.functions index 63d1bad..b8ed277 100644 --- a/scripts/vserver.functions +++ b/scripts/vserver.functions @@ -966,10 +966,10 @@ function mountVserver _namespaceCleanup "$cfgdir" real_vdir=$(getPhysicalDir "$vdir") - ! $_VSERVER_INFO - FEATURE PIVOT_ROOT || \ - extra_opt=,shared isAvoidNamespace "$cfgdir" || \ - $_SECURE_MOUNT --rbind -n -o dev$extra_opt "$vdir" "$real_vdir" + $_SECURE_MOUNT --rbind -n -o dev "$vdir" "$real_vdir" + ! $_VSERVER_INFO - FEATURE PIVOT_ROOT || \ + $_SECURE_MOUNT -n -o shared,rec "$real_vdir" "$real_vdir" } function _umountVserverInternal