typo in gparted's use of hal-lock

Bug #327833 reported by Alain Kalker
4
Affects Status Importance Assigned to Milestone
gparted (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: gparted

When trying to delete and recreate a partition on an external USB drive using gparted (0.3.8-1ubuntu2), I noticed that it failed halfway through its operations.

From reading gparted's changelog.Debian.gz I found that gparted is using hal-lock to lock storage devices when operating on them.
When I next looked at /usr/sbin/gparted and the hal-lock man page, I noticed a typo in the use of the hal-lock command:

After changing line 31 of /usr/sbin/gparted from

        hal-lock --interface org.freedeskdesktop.Hal.Device.Storage --exclusive \

to read:

        hal-lock --interface org.freedesktop.Hal.Device.Storage --exclusive \

(as per the example given in hal-lock man page) and rerunning the partition delete / recreate operations in gparted, the operations now completed successfully.

A small problem remains, and I don't know if I should file a seperate bug report for this:
After exiting gparted, choosing Places / Computer from the menu sometimes shows duplicate or wrong icons in the File Manager, which seems to indicate to me that its status of which partitions are active is out of sync.
I have sometimes managed to get rid of the duplicate icons by adding a partition check to gparted's actions.

Revision history for this message
Jonas Pedersen (jonasped) wrote :

I can confirm this typo in both jaunty and intrepid. I have created debdiff for both the current version in intrepid as well the current version in jaunty. Updated packages are also available from my PPA (as soon as intrepid version finishes build).

Revision history for this message
Jonas Pedersen (jonasped) wrote :

Attached is debdiff for intrepid if you want to build your own package.

Revision history for this message
Jonas Pedersen (jonasped) wrote :

Subscribing ubuntu-main-sponsors... can you please apply gparted_0.3.9-3ubuntu1_to_gparted_0.3.9-3ubuntu2.debdiff in jaunty. Thanks.

Changed in gparted:
status: New → Confirmed
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.