PartitionTableCreate method times out when 'none' is specified as a parameter.

Bug #419796 reported by Evan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
obsolete
Fix Released
Medium
devicekit-disks (Ubuntu)
Fix Released
Medium
Evan
Karmic
Fix Released
Medium
Evan

Bug Description

Binary package hint: devicekit-disks

Calling the dbus method PartitionTableCreate with the parameters 'none', [] on a device results in the following error message every time:
org.freedesktop.DeviceKit.Disks.Error.Failed: Error creating partition table: timeout (10s) waiting for change

However, it does successfully clear the partition table, and calling PartitionTableCreate with 'mbr' works fine.

Revision history for this message
Evan (ev) wrote :

Binary package hint: devicekit-disks

Calling the dbus method PartitionTableCreate with the parameters 'none', [] on a device results in the following error message every time:
org.freedesktop.DeviceKit.Disks.Error.Failed: Error creating partition table: timeout (10s) waiting for change

However, it does successfully clear the partition table, and calling PartitionTableCreate with 'mbr' works fine.

Revision history for this message
Evan (ev) wrote :

devicekit-disks is version 006-ubuntu1

Changed in devicekit:
status: Unknown → Confirmed
Revision history for this message
In , Evan (ev) wrote :

Created an attachment (id=29414)
Account for the partition table scheme being unset after the MBR is cleared when checking to see if the partition table has been modified.

Changed in devicekit-disks (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Robbie Williamson (robbiew) wrote :

This bug is breaking the "Format" option for usb-creator-gtk

Revision history for this message
In , Zeuthen (zeuthen) wrote :

Nice catch, committed as 526bbd88e309d455aa47798f4abd01ea66414be6, thanks.

Colin Watson (cjwatson)
Changed in devicekit-disks (Ubuntu Karmic):
assignee: nobody → Evan Dandrea (evand)
Revision history for this message
Evan (ev) wrote :

Since originally filing this I've added a proposed patch to the upstream report. Any reviews of this patch would be greatly appreciated.

Changed in devicekit:
status: Confirmed → Fix Released
Revision history for this message
Evan (ev) wrote :

devicekit-disks 007 is in the archive.

Changed in devicekit-disks (Ubuntu Karmic):
status: Confirmed → Fix Released
Changed in devicekit:
importance: Unknown → Medium
Changed in devicekit:
importance: Medium → Unknown
Changed in devicekit:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.