On Thursday, March 05 2009, Warren Togami said:
Jeremy Katz wrote:
> On Wednesday, March 04 2009, Warren Togami said:
>> Warren Togami wrote:
>>> Pass 5: Checking group summary information
>>> fedora-livecd--i: 78136/139264 files (1.7% non-contiguous),
>>> 542199/542199 blocks
>>> device-mapper: remove ioctl failed: Device or resource busy
>>> Command failed
>>> /usr/lib/python2.6/site-packages/imgcreate/errors.py:45:
>>> DeprecationWarning: BaseException.message has been deprecated as of
>>> Python 2.6
>>> return unicode(self.message)
>>> Error creating Live CD : Could not remove snapshot device
>> I figured it out. A week or two ago, GNOME began mounting things
>> that it shouldn't (a separate bug). In this case GNOME is mounting
>> the device mapper device, interfering with LiveCD creator when it
>> tries to destroy the device.
>>
>> What GNOME package would this bug be?
>
> Probably DeviceKit-disks
DavidZ says we need to run livecd-creator wrapped from devkit-disks:
devkit-disks --inhibit -- /bin/foo
As I just noted in the bug, this then introduces new sets of problems
instead
1) Running a livecd build breaks mounting usb sticks or other things
that you plug in
2) Running livecd-creator under some other command means that we lose
some of the care that we have around keyboard interrupting and having
that sanely clean up
So I really don't think that's the right "solution" to the problem as
instead it's just papering over the fact that devkit-disks thinks it
owns the world :/
Jeremy