Add /usr/bin to exception list, to make sure we keep the /usr mount around.
authorDaniel Hokka Zakrisson <daniel@hozac.com>
Fri, 9 Feb 2007 06:17:58 +0000 (06:17 +0000)
committerDaniel Hokka Zakrisson <daniel@hozac.com>
Fri, 9 Feb 2007 06:17:58 +0000 (06:17 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2492 94cd875c-1c1d-0410-91d2-eb244daf1a30

scripts/vserver.functions

index b0bf171..85d5a52 100644 (file)
@@ -1201,7 +1201,7 @@ function _namespaceCleanup
 
     # these are things that have to be accessible post-cleanup
     for tmp in "$root" "$__SBINDIR" "$__PKGLIBDIR" "$vdir" \
-       "$__PKGSTATEDIR" "${skip[@]}"; do
+       "$__PKGSTATEDIR" /usr/bin "${skip[@]}"; do
        while test -n "$tmp"; do
            list=( "${list[@]}" "$tmp" )
            tmp="${tmp%/*}"