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

David Zeuthen davidz at redhat.com
Thu Mar 8 04:58:41 UTC 2007


On Wed, 2007-03-07 at 15:26 -0500, Jeremy Katz wrote:
> 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

Committed. But I'm still seeing file systems left behind too! Will try
to look into this; it's easier now that we get backtraces thanks to your
other patch.

     David





More information about the Fedora-livecd-list mailing list