I found a small problem with bindmounts, the attached patch fixes it by
cleaning up the mounts after doing the ones from the vserver fstab.

Bastian

-- 
She won' go Warp 7, Cap'n!  The batteries are dead!
diff -u util-vserver-0.30.210/debian/changelog 
util-vserver-0.30.210/debian/changelog
--- util-vserver-0.30.210/debian/changelog
+++ util-vserver-0.30.210/debian/changelog
@@ -1,3 +1,10 @@
+util-vserver (0.30.210-3.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Cleanup after mount anything. 
+
+ -- Bastian Blank <[EMAIL PROTECTED]>  Wed,  5 Apr 2006 23:03:39 +0200
+
 util-vserver (0.30.210-3.1) unstable; urgency=low
 
   * Non-maintainer upload.
diff -u util-vserver-0.30.210/scripts/vserver.functions 
util-vserver-0.30.210/scripts/vserver.functions
--- util-vserver-0.30.210/scripts/vserver.functions
+++ util-vserver-0.30.210/scripts/vserver.functions
@@ -743,13 +743,13 @@
 
     test -n "$_HAVE_CHBIND_OPTIONS" || _generateChbindOptions "$cfgdir"
 
-    isNamespaceCleanup "$cfgdir" || \
-        _namespaceCleanup
-
     _mountVserverInternal "$cfgdir"/fstab
     _mountVserverInternal "$cfgdir"/fstab.local
     _mountVserverInternal "$cfgdir"/fstab.remote $_CHBIND "[EMAIL PROTECTED]"
 
+    isNamespaceCleanup "$cfgdir" || \
+        _namespaceCleanup
+
     isAvoidNamespace "$cfgdir" || \
        $_SECURE_MOUNT --rbind -n "$vdir" "/"
 }

Attachment: signature.asc
Description: Digital signature

Reply via email to