Whoops, forgot the quotes around the mount location.  New patch 
attached.

-- 
Kees Cook                                            @outflux.net
Index: schroot/setup/10mount
===================================================================
--- schroot/setup/10mount       (revision 1032)
+++ schroot/setup/10mount       (working copy)
@@ -32,7 +32,15 @@
        if [ "$AUTH_VERBOSITY" = "verbose" ]; then
            echo "Unmounting $mountloc"
        fi
-       umount "$mountloc" || exit 1
+       if ! umount "$mountloc" 2>/dev/null; then
+           FUSER_OPTS="-mk"
+           if [ "$AUTH_VERBOSITY" = "verbose" ]; then
+               echo "Killing processes on $mountloc"
+               FUSER_OPTS="$FUSER_OPTS -v"
+           fi
+           fuser $FUSER_OPTS "$mountloc"
+           umount "$mountloc" || exit 1
+       fi
     done || exit 1
 }
 

Reply via email to