[Fedora-livecd-list] [PATCH] Fix cleanup on an error case

Jeremy Katz katzj at redhat.com
Wed Mar 7 20:26:04 UTC 2007


On Wed, 2007-03-07 at 13:28 -0500, Jeremy Katz wrote:
> If we get an error when installing packages after yum has set up file
> logging, the unmount (and then losetup -d) can fail.  This makes it so
> that we don't set up the yum file logger; it doesn't really buy us
> anything and closing it in the error case is nearly impossible with the
> way python's logging API works.  Also, don't create a directory that
> we're never using.

A little too quick there, the dir was being used.  Also, make sure the
rpmdb is closed so that we can unmount cleanly.  Replacement for the
last patch attached

Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: livecd-fix-unmount-on-error.patch
Type: text/x-patch
Size: 876 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-livecd-list/attachments/20070307/00a201fb/attachment.bin>


More information about the Fedora-livecd-list mailing list