Add $__LOCKDIR and /tmp to the excluded paths.
authorDaniel Hokka Zakrisson <daniel@hozac.com>
Sun, 25 Feb 2007 01:44:37 +0000 (01:44 +0000)
committerDaniel Hokka Zakrisson <daniel@hozac.com>
Sun, 25 Feb 2007 01:44:37 +0000 (01:44 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2507 94cd875c-1c1d-0410-91d2-eb244daf1a30

scripts/vserver.functions

index 85d5a52..c9d9a47 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" /usr/bin "${skip[@]}"; do
+       "$__PKGSTATEDIR" "$__LOCKDIR" /usr/local /tmp "${skip[@]}"; do
        while test -n "$tmp"; do
            list=( "${list[@]}" "$tmp" )
            tmp="${tmp%/*}"