Attached is a patch that will fix BZ# 509427 involving livecd-creator
crashing hard
when it is unable to mount filesystems immediately during an exception.

diff -up patch/fs.py.orig patch/fs.py
--- patch/fs.py.orig    2010-07-23 18:17:34.000000000 -0700
+++ patch/fs.py 2010-07-23 18:18:54.000000000 -0700
@@ -112,7 +112,7 @@ class BindChrootMount:
         if not self.mounted:
             return

-        rc = subprocess.call(["/bin/umount", self.dest])
+        rc = subprocess.call(["/bin/umount", "-l", self.dest])
         if rc != 0:
             raise MountError("Unable to unmount filesystem at %s" % self.dest)
         self.mounted = False
--
livecd mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/livecd

Reply via email to