Red Hat Bugzilla – Bug 247193
livecd-creator does not free loopbacks on error
Last modified: 2013-03-05 22:51:30 EST
Description of problem:
LiveCD tools do not free loopbacks on exceptions.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Run liveCD creator with some bogus parameters to --repo, or some config
files that pykickstart will choke on
2. Exceptions get raised
3. Repeat until all loopbacks are taken
Loopbacks not freed
Loopbacks would be unmounted on errors.
What's the error that you were getting? We catch at least some (and there are
some more caught in git that I've run into recently)
I don't have it in front of me right now, but it was from addRepository on an
invalid URL. So, yum API exceptions, basically.
I should pull upstream. There's a copy of this in git at freedesktop.org -- I
was errantly using that yesterday -- but it didn't have "--config" so that seems
out of date. Where is the git master?
Okay, tried this case and it's one of the ones I fixed on Monday.
Upstream repo is git://git.fedoraproject.org/git/hosted/livecd just like the
wiki page and the README say :)