[Fedora-livecd-list] Patch for BZ# 509427

Jasper Hartline jasper.hartline at gmail.com
Sat Jul 24 02:50:56 UTC 2010


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


More information about the livecd mailing list