From: Daniel Hokka Zakrisson Date: Sun, 25 Feb 2007 01:44:37 +0000 (+0000) Subject: Add $__LOCKDIR and /tmp to the excluded paths. X-Git-Tag: release-0.30.214~98 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df250a679422b13f9cbac0d94e3e051aba912d15;p=util-vserver.git Add $__LOCKDIR and /tmp to the excluded paths. git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2507 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/scripts/vserver.functions b/scripts/vserver.functions index 85d5a52..c9d9a47 100644 --- a/scripts/vserver.functions +++ b/scripts/vserver.functions @@ -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%/*}"